lavaan.mi-class | R Documentation |
This class extends the lavaanList
class, created by
fitting a lavaan model to a list of data sets. In this case, the list of
data sets are multiple imputations of missing data.
## S4 method for signature 'lavaan.mi' show(object) ## S4 method for signature 'lavaan.mi' summary(object, se = TRUE, ci = FALSE, level = 0.95, standardized = FALSE, rsquare = FALSE, fmi = FALSE, scale.W = !asymptotic, omit.imps = c("no.conv", "no.se"), asymptotic = FALSE, header = TRUE, output = "text", fit.measures = FALSE, ...) ## S4 method for signature 'lavaan.mi' nobs(object, total = TRUE) ## S4 method for signature 'lavaan.mi' coef(object, type = "free", labels = TRUE, omit.imps = c("no.conv", "no.se")) ## S4 method for signature 'lavaan.mi' vcov(object, type = c("pooled", "between", "within", "ariv"), scale.W = TRUE, omit.imps = c("no.conv", "no.se")) ## S4 method for signature 'lavaan.mi' anova(object, ...) ## S4 method for signature 'lavaan.mi' fitMeasures(object, fit.measures = "all", baseline.model = NULL, output = "vector", omit.imps = c("no.conv", "no.se"), ...) ## S4 method for signature 'lavaan.mi' fitmeasures(object, fit.measures = "all", baseline.model = NULL, output = "vector", omit.imps = c("no.conv", "no.se"), ...) ## S4 method for signature 'lavaan.mi' fitted(object, omit.imps = c("no.conv", "no.se")) ## S4 method for signature 'lavaan.mi' fitted.values(object, omit.imps = c("no.conv", "no.se")) ## S4 method for signature 'lavaan.mi' residuals(object, type = c("raw", "cor"), omit.imps = c("no.conv", "no.se")) ## S4 method for signature 'lavaan.mi' resid(object, type = c("raw", "cor"), omit.imps = c("no.conv", "no.se"))
object |
An object of class |
se, ci, level, standardized, rsquare, header, output |
See
|
fmi |
|
scale.W |
|
omit.imps |
|
asymptotic |
|
fit.measures, baseline.model |
See |
... |
Additional arguments passed to |
total |
|
type |
The meaning of this argument varies depending on which method it
it used for. Find detailed descriptions in the Value section
under |
labels |
|
coef |
|
vcov |
|
fitted.values |
|
fitted |
alias for |
residuals |
|
resid |
alias for |
nobs |
|
anova |
|
fitMeasures |
|
fitmeasures |
alias for |
show |
|
summary |
|
coefList
list
of estimated coefficients in matrix format (one
per imputation) as output by lavInspect(fit, "est")
phiList
list
of model-implied latent-variable covariance
matrices (one per imputation) as output by
lavInspect(fit, "cov.lv")
miList
list
of modification indices output by
modindices
seed
integer
seed set before running imputations
lavListCall
call to lavaanList
used to fit the
model to the list of imputed data sets in @DataList
, stored as a
list
of arguments
imputeCall
call to imputation function (if used), stored as a
list
of arguments
convergence
list
of logical
vectors indicating whether,
for each imputed data set, (1) the model converged on a solution, (2)
SEs could be calculated, (3) the (residual) covariance matrix of
latent variables (Ψ) is non-positive-definite, and (4) the
residual covariance matrix of observed variables (Θ) is
non-positive-definite.
lavaanList_slots
All remaining slots are from
lavaanList
, but runMI
only populates a
subset of the list
slots, two of them with custom information:
DataList
The list
of imputed data sets
SampleStatsList
List of output from
lavInspect(fit, "sampstat")
applied to each fitted
model
ParTableList
See lavaanList
vcovList
See lavaanList
testList
See lavaanList
h1List
See lavaanList
. An additional element is
added to the list
: $PT
is the "saturated" model's parameter
table, returned by lav_partable_unrestricted
.
baselineList
See lavaanList
See the runMI
function for
details. Wrapper functions include lavaan.mi
,
cfa.mi
, sem.mi
, and growth.mi
.
Terrence D. Jorgensen (University of Amsterdam; TJorgensen314@gmail.com)
Asparouhov, T., & Muthen, B. (2010). Chi-square statistics with multiple imputation. Technical Report. Retrieved from http://www.statmodel.com/
Enders, C. K. (2010). Applied missing data analysis. New York, NY: Guilford.
Li, K.-H., Meng, X.-L., Raghunathan, T. E., & Rubin, D. B. (1991). Significance levels from repeated p-values with multiply-imputed data. Statistica Sinica, 1(1), 65–92. Retrieved from https://www.jstor.org/stable/24303994
Meng, X.-L., & Rubin, D. B. (1992). Performing likelihood ratio tests with multiply-imputed data sets. Biometrika, 79(1), 103–111. doi: 10.2307/2337151
Rubin, D. B. (1987). Multiple imputation for nonresponse in surveys. New York, NY: Wiley.
## See ?runMI help page
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.