Measurement invariance for dichotomous data
I am currently working on a project conducting measurement invariance analyses for dichotomous using lavaan. I already used similar codes multiple times and have never had problems before. However, now, I get a warning message that no fit measures are available because the model did not coverage (and I need the respective CFI).
Interestingly, I only get this error for weak measurement invariance models (configural) but not for the strict measurement invariance (residual model).
I am comparing the performance in a number series test (correct vs. incorrect) of participants of two cohorts (2009 vs. 2024; therefore, the grouping variable is “year”). Unfortunately, I am not allowed to share the data.
This is the respective code: