Nonparametric Bootstrap Confidence Intervals for the Indirect Effect using Multiple Imputation (NB nested within MI or MI(NB))
Source:R/manMCMedMiss-mi-nb.R
MINB.Rd
Nonparametric Bootstrap Confidence Intervals for the Indirect Effect using Multiple Imputation (NB nested within MI or MI(NB))
Usage
MINB(data_mi, B = 5000L, alpha = c(0.05, 0.01, 0.001))
Arguments
- data_mi
List of numeric matrices. Output of the
ImputeData
function or a list of three-column data sets with imputed data.- B
Positive integer. Number of bootstrap samples.
- alpha
Numeric vector. Significance level.
Value
Nonparametric bootstrap confidence intervals.
bc
corresponds to bias-corrected and pc
corresponds to percentile
confidence intervals.
References
Wu, Wei., & Jia, F. (2012). A new procedure to test mediation with missing data through nonparametric bootstrapping and multiple imputation. Multivariate Behavioral Research, 48(5), 663–691. doi:10.1080/00273171.2013.816235