I have a question about testing for measurement invariance in a two latent variable CFA with multiple groups using -sem- in stata 14.2. I found two methods to check for measurement invariance. The first method fixes loadings of a latent variable for item1 at 1 and intercept of item1 at 0 across all groups (https://stats.idre.ucla.edu/stata/fa...mand-stata-12/).
Code:
*Method 1
*Configural
sem (L1-> v1 v2 v3 v4) (L2 -> v5 v6 v7 v8) ///
(v1 <- L1 _cons@0) ///
(v5 <- L2 _cons@0), ///
group(grp1) mean(L1 L2) ///
ginvariant(none)
*Metric
sem (L1-> v1 v2 v3 v4) (L2 -> v5 v6 v7 v8) ///
(v1 <- L1 _cons@0) ///
(v5 <- L2 _cons@0), ///
group(grp1) mean(L1 L2) ///
ginvariant(mcoef)
Code:
*Method 2
*Configural
sem (L1-> v1 v2 v3 v4) (L2 -> v5 v6 v7 v8), ///
group(grp1) variance(L1@1 L2@1) ///
mean(L1@0 L2@0) ///
ginvariant(none)
*Metric
sem (L1-> v1 v2 v3 v4) (L2 -> v5 v6 v7 v8), ///
group(grp1) variance(L1@1 L2@1) ///
mean(L1@0 L2@0) ///
ginvariant(mcoef)
I hope you can help me.
Thanks a lot!
Renske
0 Response to Measurement invariance with multigroup CFA: two different methods
Post a Comment