bmem.sobel {bmem}R Documentation

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, ...)

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.

Value

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

Author(s)

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


[Package bmem version 2.1 Index]