Estimate a mediation model based on multiple imputation
bmem.mi(x, ram, indirect, v, m = 10, moment = FALSE, ...)
A data set
RAM path for the mediaiton model
A vector of indirect effec
Indices of variables used in the mediation model. If omitted, all variables are used.
Number of imputations.
Select mean structure or covariance analysis. moment=FALSE, covariance analysis. moment=TRUE, mean and covariance analysis.
Other options for sem
function can be used.