bmem.bs | R Documentation |
The same as bmem
but using the Bollen-Stine method
bmem.bs(x, ram, indirect, v, ci='bc', cl=.95,
boot=1000, max_it=500, ...)
x |
A data set |
ram |
RAM path for the mediaiton model |
indirect |
A vector of indirect effec |
v |
Indices of variables used in the mediation model. If omitted, all variables are used. |
ci |
|
cl |
Confidence level. Can be a vector. |
boot |
Number of bootstraps |
max_it |
Maximum number of iterations in EM |
... |
Other options for |
The on-screen output includes the parameter estimates, bootstrap standard errors, and CIs.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.