measurementInvariance(..., std.lv = FALSE, strict = FALSE, quiet = FALSE,
fit.measures = "default", method = "satorra.bentler.2001")
cfa
for more information.TRUE
, the fixed-factor method of scale identification is used. If FALSE
, the first variable for each factor is used as marker variable.TRUE
, the sequence requires `strict' invariance.
See details for more information.FALSE
(default), a summary is printed out containing an
overview of the different models that are fitted, together with some
model comparison tests. If TRUE
, no summary is printed.lavTestLRT
for available optionsstrict = FALSE
, the following four models are tested in order:
Each time a more restricted model is fitted, a chi-square difference test is reported, comparing the current model with the previous one, and comparing the current model to the baseline model (Model 1). In addition, the difference in cfi is also reported (delta.cfi).
If strict = TRUE
, the following five models are tested in order:
Note that if the chi-square test statistic is scaled (eg. a Satorra-Bentler or Yuan-Bentler test statistic), a special version of the chi-square difference test is used as described in http://www.statmodel.com/chidiff.shtml
longInvariance
for the measurement invariance test within person; partialInvariance
for the automated function for finding partial invariance models
HW.model <- ' visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 '
measurementInvariance(HW.model, data=HolzingerSwineford1939, group="school")
Run the code above in your browser using DataLab