Dear all,
i am new to lavaan, so please excuse my beginners questions: I am trying to run a CFA on binary categorical (Yes/no) data. I also have some missing data, and want to avoid listwise deletion.
As en estimator i used WLSMV (DWLS), which wont let me use "missing = fiml".
My command looks like this for the moment:
fit <- cfa(model1, data = SOMSE, estimator = "WLSMV", missing="pairwise")
summary(fit, fit.measures = TRUE, standardized = TRUE)
If i use use missing = "pairwise" i receive the error msg:
Error in nlminb(start = start.x, objective = objective_function, gradient = GRADIENT, :
NA/NaN gradient evaluation
Any idea what i can do now? Is there any way i dont have to run multiple Imputation?
Thank you very much already!