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. <https://arxiv.org/abs/1410.7217>).
|Depends:||lme4, nlme, optimx, MASS, car|
|Author:||Yi Zhao, Xi Luo|
|Maintainer:||Yi Zhao <yi_zhao at brown.edu>|
|License:||GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]|
|CRAN checks:||macc results|
|Windows binaries:||r-devel: macc_1.0.0.zip, r-release: macc_1.0.0.zip, r-oldrel: macc_1.0.0.zip|
|OS X Mavericks binaries:||r-release: macc_1.0.0.tgz, r-oldrel: macc_1.0.0.tgz|
Please use the canonical form https://CRAN.R-project.org/package=macc to link to this page.