| measurementInvarianceCat {semTools} | R Documentation |
Testing measurement invariance across groups using a typical sequence of model comparison tests.
measurementInvarianceCat(..., std.lv = FALSE, strict = FALSE, quiet = FALSE, fit.measures = "default", method = "satorra.bentler.2001")
... |
The same arguments as for any lavaan model.
See |
std.lv |
If |
strict |
If |
quiet |
If |
fit.measures |
Fit measures used to calculate the differences between nested models. |
method |
The method used to calculate likelihood ratio test. See |
Theta parameterization is used to represent SEM for categorical items. That is, residual variances are modeled instead of the total variance of underlying normal variate for each item. Five models can be tested based on different constraints across groups.
Model 1: configural invariance. The same factor structure is imposed on all groups.
Model 2: weak invariance. The factor loadings are constrained to be equal across groups.
Model 3: strong invariance. The factor loadings and thresholds are constrained to be equal across groups.
Model 4: strict invariance. The factor loadings, thresholds and residual variances are constrained to be equal across groups. For categorical variables, all residual variances are fixed as 1.
Model 5: The factor loadings, threshoulds, residual variances and means are constrained to be equal across groups.
However, if all items have two items (dichotomous), scalar invariance and
weak invariance cannot be separated because thresholds need to be equal across
groups for scale identification. Users can specify strict option to
include the strict invariance model for the invariance testing. See the further details
of scale identification and different parameterization in Millsap and Yun-Tein (2004).
Invisibly, all model fits in the sequence are returned as a list.
Sunthud Pornprasertmanit (psunthud@gmail.com) Yves Rosseel (Ghent University; Yves.Rosseel@UGent.be)
Millsap, R. E., & Yun-Tein, J. (2004). Assessing factorial invariance in ordered-categorical measures. Multivariate Behavioral Research, 39, 479-515.
measurementInvariance for measurement invariance for continuous variables;
longInvariance For the measurement invariance test within person with continuous variables;
partialInvariance for the automated function for finding partial invariance models
## Not run:
model <- ' f1 =~ u1 + u2 + u3 + u4'
measurementInvarianceCat(model, data = datCat, group = "g", parameterization="theta",
estimator="wlsmv", ordered = c("u1", "u2", "u3", "u4"))
## End(Not run)