1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/measurementInvariance.R
\name{measurementInvariance-deprecated}
\alias{measurementInvariance-deprecated}
\title{Measurement Invariance Tests}
\usage{
measurementInvariance(..., std.lv = FALSE, strict = FALSE, quiet = FALSE,
fit.measures = "default", baseline.model = NULL,
method = "satorra.bentler.2001")
}
\arguments{
\item{...}{The same arguments as for any lavaan model. See
\code{\link[lavaan:cfa]{lavaan::cfa()}} for more information.}
\item{std.lv}{If \code{TRUE}, the fixed-factor method of scale
identification is used. If \code{FALSE}, the first variable for each factor
is used as marker variable.}
\item{strict}{If \code{TRUE}, the sequence requires `strict' invariance.
See details for more information.}
\item{quiet}{If \code{FALSE} (default), a summary is printed out containing
an overview of the different models that are fitted, together with some
model comparison tests. If \code{TRUE}, no summary is printed.}
\item{fit.measures}{Fit measures used to calculate the differences between
nested models.}
\item{baseline.model}{custom baseline model passed to
\code{\link[lavaan:fitMeasures]{lavaan::fitMeasures()}}}
\item{method}{The method used to calculate likelihood ratio test. See
\code{\link[lavaan:lavTestLRT]{lavaan::lavTestLRT()}} for available options}
}
\value{
Invisibly, all model fits in the sequence are returned as a list.
}
\description{
Testing measurement invariance across groups using a typical sequence of
model comparison tests.
}
\details{
If \code{strict = FALSE}, the following four models are tested in order:
\enumerate{
\item Model 1: configural invariance. The same factor structure
is imposed on all groups.
\item Model 2: weak invariance. The factor loadings are constrained to
be equal across groups.
\item Model 3: strong invariance. The factor loadings and intercepts
are constrained to be equal across groups.
\item Model 4: The factor loadings, intercepts and means are constrained
to be equal across groups.
}
Each time a more restricted model is fitted, a \eqn{\Delta\chi^2} 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 (\eqn{\Delta}CFI).
If \code{strict = TRUE}, the following five models are tested in order:
\enumerate{
\item Model 1: configural invariance. The same factor structure
is imposed on all groups.
\item Model 2: weak invariance. The factor loadings are constrained to be
equal across groups.
\item Model 3: strong invariance. The factor loadings and intercepts are
constrained to be equal across groups.
\item Model 4: strict invariance. The factor loadings, intercepts and
residual variances are constrained to be equal across groups.
\item Model 5: The factor loadings, intercepts, residual variances and means
are constrained to be equal across groups.
}
Note that if the \eqn{\chi^2} test statistic is scaled (e.g., a Satorra-Bentler
or Yuan-Bentler test statistic), a special version of the \eqn{\Delta\chi^2}
test is used as described in \url{http://www.statmodel.com/chidiff.shtml}
}
\examples{
HW.model <- ' visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 '
measurementInvariance(model = HW.model, data = HolzingerSwineford1939,
group = "school", fit.measures = c("cfi","aic"))
}
\references{
Vandenberg, R. J., and Lance, C. E. (2000). A review and synthesis of the
measurement invariance literature: Suggestions, practices, and
recommendations for organizational research. \emph{Organizational
Research Methods, 3,} 4--70.
}
\seealso{
\code{\link[=semTools-deprecated]{semTools-deprecated()}}
}
\author{
Yves Rosseel (Ghent University; \email{Yves.Rosseel@UGent.be})
Sunthud Pornprasertmanit (\email{psunthud@gmail.com})
Terrence D. Jorgensen (University of Amsterdam; \email{TJorgensen314@gmail.com})
}
\keyword{internal}
|