Hi all,
I have a couple of questions regarding the use of runMI.
1. I am running a very simple factor analysis model and when I run it with cfa.mi, everything works just fine. However, when I run it with lavaan.mi, I receive the message.
Error in lav_model_estimate(lavmodel = lavmodel, lavpartable = lavpartable, :
lavaan ERROR: initial model-implied matrix (Sigma) is not positive definite;
check your model and/or starting parameters.
What is the difference between cfa.mi and lavaan.mi (or for that matter, just runMI, which also seems to work well).
2. I would like to account for non-normality with MLR but when I ask for 'estimator="mlr"' in runMI (cfa.mi) I get the message
Error in if (attr(x, "se") == "robust.huber.white" && attr(x, "information.meat") != : missing value where TRUE/FALSE needed
I presume this means that MLR doesn't work with runMI, but then does this mean that I can't handle non-normality and missing data using multiple imputation? Do I have to resort to FIML and MLR?
Thanks
David