macc (1.0.1)

Mediation Analysis of Causality under Confounding.

http://cran.r-project.org/web/packages/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 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, for details.

Maintainer: Yi Zhao
Author(s): Yi Zhao <yi_zhao@alumni.brown.edu>, Xi Luo <xi.rossi.luo@gmail.com>

License: GPL (>= 2)

Uses: car, lme4, MASS, nlme, optimx

Released almost 3 years ago.