I am new in testing this models and I am struggling in testing measurement invariance of one instrument. I am validating one instrument and I ran a CFA which fit indexes were quite acceptable. Now I am trying to test the measurement invariance across 3 age groups based on grade levels (3rd 5th and 7th grades). I ran the measurement invariance model and an error appeared in 4 models regarding the first group:
> mi<- measurementInvariance
(Mod.CPCQ_2, data= SENSES_var_T1_G2_CPCQ_withoutOutliers,
std.lv=TRUE, strict=TRUE, group="S_GRADE_T1")
Measurement invariance models:
Model 1 : fit.configural
Model 2 : fit.loadings
Model 3 : fit.intercepts
Model 4 : fit.residuals
Model 5 : fit.means
Chi Square Difference Test
Df AIC BIC Chisq Chisq diff Df diff Pr(>Chisq)
fit.configural 426 30029 30904 762.30
fit.loadings 454 30042 30796 831.32 69.018 28 2.55e-05 ***
fit.intercepts 482 30044 30676 889.85 58.533 28 0.0006249 ***
fit.residuals 520 30192 30658 1113.26 223.411 38 < 2.2e-16 ***
fit.means 530 30289 30712 1230.81 117.550 10 < 2.2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Fit measures:
cfi rmsea cfi.delta rmsea.delta
fit.configural 0.921 0.064 NA NA
fit.loadings 0.912 0.066 0.010 0.002
fit.intercepts 0.904 0.066 0.007 0.001
fit.residuals 0.861 0.077 0.043 0.011
fit.means 0.836 0.083 0.025 0.006
Warning messages:
1: In lav_object_post_check(object) :
lavaan WARNING: covariance matrix of latent variables
is not positive definite in group 1;
use inspect(fit,"
cov.lv") to investigate.
2: In lav_object_post_check(object) :
lavaan WARNING: covariance matrix of latent variables
is not positive definite in group 1;
use inspect(fit,"
cov.lv") to investigate.
3: In lav_object_post_check(object) :
lavaan WARNING: covariance matrix of latent variables
is not positive definite in group 1;
use inspect(fit,"
cov.lv") to investigate.
4: In lav_object_post_check(object) :
lavaan WARNING: covariance matrix of latent variables
is not positive definite in group 1;
use inspect(fit,"
cov.lv") to investigate.
When looking to the fit indexes it seems that the invariance holds for the first, second and third model but given the error associated I am wondering if I can trust on these values.
Then I run the inspect function which is bellow but I am not sure how to interpret these values and how they can help me to correct the error of non positive matrix.
Also I ran a CFA to each group separately and for the first group, although the fit indexes were quite good, an warning message regarding the covariance matrix and also the modification indexes appeared (Warning message:In lav_start_check_cov(lavpartable = lavpartable, start = START) : lavaan WARNING: starting values imply a correlation larger than 1; variables involved are: CPCQ_COOPERATION CPCQ_COHESION
Any thoughts about that? Suggestions of readings regarding this matter? I would be very grateful!