Hi, all
I have a model using sem() that I'm interested (for pedestrian reasons) in implementing using mixed().
The latent variable is hospital quality (L1), and I've got a series of indicators of the latent for each hospital:
sem (indicatorScore1<-L1) (indicatorScore2<-L1) (indicatorScore3<-L1) (indicatorScore4<-L1) (indicatorScore5<-L1) (indicatorScore6<-L1) (indicatorScore7<-L1) (indicatorScore8<-L1), method(mlmv)
After reshaping the data to long, I've tried a few approaches using mixed, including:
mixed indicatorScore i.indicatorId || hospital_id:
This is yielding results that are different and less plausible than the SEM implementation, so I'm wondering if anyone has thoughts on matching the SEM results with mixed().
Thanks.
I have a model using sem() that I'm interested (for pedestrian reasons) in implementing using mixed().
The latent variable is hospital quality (L1), and I've got a series of indicators of the latent for each hospital:
sem (indicatorScore1<-L1) (indicatorScore2<-L1) (indicatorScore3<-L1) (indicatorScore4<-L1) (indicatorScore5<-L1) (indicatorScore6<-L1) (indicatorScore7<-L1) (indicatorScore8<-L1), method(mlmv)
After reshaping the data to long, I've tried a few approaches using mixed, including:
mixed indicatorScore i.indicatorId || hospital_id:
This is yielding results that are different and less plausible than the SEM implementation, so I'm wondering if anyone has thoughts on matching the SEM results with mixed().
Thanks.
Comment