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

Author
Yi Zhao <yi_zhao@brown.edu>, Xi Luo <xi.rossi.luo@gmail.com>
Date of publication
2016-11-03 20:05:23
Maintainer
Yi Zhao <yi_zhao@brown.edu>
License
GPL (>= 2)
Version
1.0.0

View on CRAN

Man pages

env.single
Simulated single-level dataset
env.three
Simulated three-level dataset
env.two
Simulated two-level dataset
macc
Mediation Analysis of Causality under Confounding
macc-package
Causal Mediation Analysis under Correlated Errors
sim.data.multi
Generate two/three-level simulation data
sim.data.single
Generate single-level simulation data

Files in this package

macc
macc/NAMESPACE
macc/data
macc/data/env.three.rda
macc/data/env.two.rda
macc/data/env.single.rda
macc/R
macc/R/cma.lm.h.R
macc/R/cma.uni.delta.R
macc/R/sim.data.multi.R
macc/R/cma.delta.lm.R
macc/R/cma.mix.R
macc/R/cma.uni.sens.R
macc/R/macc-internal.R
macc/R/cma.uni.mix.hl.R
macc/R/macc.R
macc/R/cma.h.R
macc/R/sim.data.single.R
macc/R/cma.uni.mix.dhl.R
macc/R/cma.delta.lm.HL.R
macc/R/cma.uni.mix.R
macc/R/cma.uni.plot.R
macc/R/cma.lm.R
macc/R/cma.lm.ts.R
macc/MD5
macc/DESCRIPTION
macc/man
macc/man/sim.data.multi.Rd
macc/man/macc-package.Rd
macc/man/macc.Rd
macc/man/sim.data.single.Rd
macc/man/env.single.Rd
macc/man/env.three.Rd
macc/man/env.two.Rd