Mediation Analysis of Causality under Confounding

Performs causal mediation analysis under confounding or correlated errors. This package includes a single level mediation model, a two-level mediation model, and a three-level mediation model for data with hierarchical structures. Under the two/three-level mediation model, the correlation parameter is identifiable and is estimated based on a hierarchical-likelihood, a marginal-likelihood or a two-stage method. See Zhao, Y., & Luo, X. (2014), Estimating Mediation Effects under Correlated Errors with an Application to fMRI, for details.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("macc")

1.0.1 by Yi Zhao, 2 years ago


Browse source code at https://github.com/cran/macc


Authors: Yi Zhao <[email protected]> , Xi Luo <[email protected]>


Documentation:   PDF Manual  


GPL (>= 2) license


Depends on lme4, nlme, optimx, MASS, car


See at CRAN