I'm asked by my client to recreate cfa model in excel; with all the formulas in the cells.
I used lavaan
and R to fit the model. It's a simple step to get factor scores in lavaan using predict(fit)
. Can it be recreated in excel?
Input: (1) excel columns with indicator variables; (2) cfa model estimates and covariances from lavaan
output
Desired output: excel column with factor score, using Excel formulas