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, <doi:10.48550/arXiv.1410.7217> for details.

Version: 1.0.1
Depends: lme4, nlme, optimx, MASS, car
Published: 2017-08-23
DOI: 10.32614/CRAN.package.macc
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:
macOS binaries: r-release (arm64): macc_1.0.1.tgz, r-oldrel (arm64): macc_1.0.1.tgz, r-release (x86_64): macc_1.0.1.tgz, r-oldrel (x86_64): macc_1.0.1.tgz
Old sources: macc archive


Please use the canonical form to link to this page.