Description Usage Arguments Details Value References See Also Examples
Compute covariance matrix of incomplete data using multiple imputation. For multiple imputation, Multivariate Imputation by Chained Equations (MICE) from the mice package is used. The covariance matrices of the imputed data sets are combined using Rubin's rules.
1 2 3 4 5 6 7 8 9 |
data |
A data frame with missing values coded as |
cov_vars |
Variables in |
n_pc |
Integer or integer vector indicating number of principal components (eigenvectors) for which explained variance (eigenvalues) should be obtained and for which confidence intervals should be computed. Defaults to all principal components, i.e., the number of variables in the data. |
ci |
A character string indicating which types of confidence intervals
should be constructed for the variance explained by the principal
components. If |
conf |
Confidence level for constructing confidence intervals. The
default is |
n_boot |
Number of bootstrap samples to use for bootstrapped confidence intervals. The default is 1000. |
... |
Arguments passed on to
|
The function also computes the variance explained by different numbers of principal components and the corresponding Fieller (parametric) or bootstrap (nonparametric) confidence intervals.
A list:
The estimated covariance matrix of the incomplete data, based on the combined covariance matrices of imputed data sets.
A list containing the estimated covariance matrixes for all imputed data sets.
A data frame containing the estimated proportions of
explained variance for each of specified n_pc
components. Depending o
n ci
, it will also contain the estimated Fieller's (parametric) and/or
bootstrap (nonparametric) confidence interval for the proportion of
variance explained by the different numbers of principal components defined
by n_pc
.
Object of type mice::mids. This is the results of the multiple imputation step for the covariance matrix. Can be useful for diagnosing the multiple imputations.
Nassiri, V., Lovik, A., Molenberghs, G., & Verbeke, G. (2018). On using multiple imputation for exploratory factor analysis of incomplete data. Behavioral Research Methods 50, 501–517. doi: 10.3758/s13428-017-1013-4
mifa_ci_boot()
, mifa_ci_fieller()
, mice::mice()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.