Learn R Programming

bmem (version 2.1)

bmem.sobel: Mediation analysis using sobel test (for complete data only)

Description

Mediation analysis using sobel test (for complete data only)

Usage

bmem.sobel(x, ram, indirect, moment=FALSE, ...)

Value

The on-screen output includes the parameter estimates and sobel standard errors.

Arguments

x

A data set

ram

RAM path for the mediaiton model

indirect

A vector of indirect effec

moment

Covariance or moment analysis

...

Other options for sem function can be used.

Author

Zhiyong Zhang and Lijuan Wang

References

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.

See Also

bmem, bmem.sobel, bmem.plot