macc-package: Causal Mediation Analysis under Correlated Errors

Description Details Author(s) References


macc 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 structure. Under the two/three-level mediation model, the correlation parameter is identifiable and estimated based on a hierarchical-likelihood or a two-stage method.


Package: macc
Type: Package
Version: 1.0.1
Date: 2017-08-20
License: GPL (>=2)


Yi Zhao <[email protected]> and Xi Luo <[email protected]>

Maintainer: Yi Zhao <[email protected]>


Zhao, Y., & Luo, X. (2014). Estimating Mediation Effects under Correlated Errors with an Application to fMRI. arXiv preprint arXiv:1410.7217.

macc documentation built on Aug. 24, 2017, 1:05 a.m.