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 reference for details (Zhao, Y., & Luo, X. (2014). Estimating Mediation Effects under Correlated Errors with an Application to fMRI. arXiv preprint arXiv:1410.7217. <>).

Version: 1.0.0
Depends: lme4, nlme, optimx, MASS, car
Published: 2016-11-03
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.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Mavericks binaries: r-release: macc_1.0.0.tgz, r-oldrel: macc_1.0.0.tgz


Please use the canonical form to link to this page.