Mediation analysis using sobel test (for complete data only)
bmem.sobel(x, ram, indirect, moment=FALSE, ...)
The on-screen output includes the parameter estimates and sobel standard errors.
A data set
RAM path for the mediaiton model
A vector of indirect effec
Covariance or moment analysis
Other options for sem
function can be used.
Zhiyong Zhang and Lijuan Wang
Zhang, Z. & Wang, L. (2011) Four methods for mediation analysis with missing data.
Zhang, Z. (2011) Robust mediation analysis with missing data and auxiliary variables.
bmem
, bmem.sobel
, bmem.plot