Dear lavaan users,
I have a small question regarding the use of ‘fixed.x’. It is the following: I want to specify a path diagram where one of the (observed) variables, X, has about 30% of missing values, because in the beginning of my study I was not collecting information about this variable. However, I really would like to include this variable in the model. Due to the high number of missing values in this variable and some deviations from normality in some other variables, I think it is recommended to use the following options:
mod<-sem(form, missing="fiml", estimator="MLR", data=my.data)
The problem is that I would like to include the variable X as exogenous and then, by default, fixed.x=TRUE is assumed by lavaan. But then, about 30% of the data is "deleted" from the analysis. So, I have to options: force "fixed.x=FALSE" or change the variable X to endogenous. What is the best way to follow? Why is it problematic to assume missing values in exogenous variables?
Best,
csm
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.