macc: Mediation Analysis of Causality under Confounding
Version 1.0.0

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. ).

Package details

AuthorYi Zhao <>, Xi Luo <>
Date of publication2016-11-03 20:05:23
MaintainerYi Zhao <>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the macc package in your browser

Any scripts or data that you put into this service are public.

macc documentation built on May 29, 2017, 8:29 p.m.