Learn R Programming

macc (version 1.0.1)

macc-package: Causal Mediation Analysis under Correlated Errors

Description

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 structure. Under the two/three-level mediation model, the correlation parameter is identifiable and estimated based on a hierarchical-likelihood or a two-stage method.

Arguments

Details

Package: macc
Type: Package
Version: 1.0.1
Date: 2017-08-20
License: GPL (>=2)

References

Zhao, Y., & Luo, X. (2014). Estimating Mediation Effects under Correlated Errors with an Application to fMRI. arXiv preprint arXiv:1410.7217.