Hi,
miout <- measurementInvariance(mod.config, data = HS, std.lv = TRUE,
group = "ageGroup")
(fit.config <- miout[["fit.configural"]])
(fit.metric <- miout[["fit.loadings"]])
(fit.scalar <- miout[["fit.intercepts"]])
They are later used in performing the measurement invariance test at the different levels (metric, scalar etc) and together with the function uncon and con, depending on level of measurement invariance testing.
The script above uses the now deprecated measurementInvariance. I'm trying to make the permutations work with the measEq.syntax that is in the semTools 5.0.1, for an ordinal variable thus constraining thresholds instead of intercepts for example. So my question is what is the equivalent script in measEq.syntax to create the fit.config, fit.metric and fit.scalar?
Sincerely
Ida Blomqvist