macc: 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, <arXiv:1410.7217> for details.

Version: 1.0.1
Depends: lme4, nlme, optimx, MASS, car
Published: 2017-08-23
Author: Yi Zhao, Xi Luo
Maintainer: Yi Zhao <yi_zhao at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: macc results


Reference manual: macc.pdf
Package source: macc_1.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: macc_1.0.1.tgz
OS X Mavericks binaries: r-oldrel: macc_1.0.1.tgz
Old sources: macc archive


Please use the canonical form to link to this page.