Im relatively new to SEM and CFA and like using the lavaan package very much. It appears the authors of this paper used MPlus
Is it possible to have this workflow in lavaan using R? I see in page two of the manual [2] that lavaan provides "support for hierarchical/multilevel datasets (multilevel cfa,
multilevel sem)". I have not been able to fin any tutorial on it
I'm aware of the other packages XXm [3] and openMX [4] but wanted to see if lavaan supports this type of analysis before looking further afield and learning a new syntax .
References
I am currently attempting to learn multi-level reliability for scales.
I want to try and replicate the study [1] where the author suggests to implement the following steps. The aim is to see at what level of measurement an analysis is most effective. In this paper the auther aims to prove that people should analysis the Data in GLOBE not on individual level but on societal level. He then goes about proving this showing the loadings on societal level are far higher than on individual level
- "Step 1: perform a conventional confirmatory factor analysis on the sample total covariance"
- "Step 2: estimate between-group level variation"
- "Step 3: perform a factor analysis on the sample pooled-within covariance matrix"
- "Step 4: perform a factor analysis on the sample between-group covariance matrix"
- "Step 5: perform multilevel confirmatory factor analysis"
Im relatively new to SEM and CFA and like using the lavaan package very much. It appears the authors of this paper used MPlus
Is it possible to have this workflow in lavaan using R? I see in page two of the manual [2] that lavaan provides "support for hierarchical/multilevel datasets (multilevel cfa, multilevel sem)". I have not been able to fin any tutorial on it