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.TRUE, a summary is printed out containing an
overview of the different models that are fitted, together with some
model comparison tests.lavTestLRT for available optionsstrict = TRUEstrict = FALSE, the following four models are tested in order:
longInvariance for the measurement invariance test within person; partialInvariance for the automated function for finding partial invariance modelsHW.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