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

AuthorYi Zhao <yi_zhao@brown.edu>, Xi Luo <xi.rossi.luo@gmail.com>
Date of publication2016-11-03 20:05:23
MaintainerYi Zhao <yi_zhao@brown.edu>
LicenseGPL (>= 2)
Version1.0.0
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("macc")

Getting started

Package overview

Popular 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
See all...

All man pages Function index File listing

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

Functions

cma.delta.lm Source code
cma.delta.lm.HL Source code
cma.h Source code
cma.lm Source code
cma.lm.h Source code
cma.lm.ts Source code
cma.mix Source code
cma.uni.delta Source code
cma.uni.mix Source code
cma.uni.mix.dhl Source code
cma.uni.mix.hl Source code
cma.uni.plot Source code
cma.uni.sens Source code
env.single Man page
env.three Man page
env.two Man page
macc Man page Source code
macc-package Man page
sim.data.multi Man page Source code
sim.data.single Man page Source code

Files

NAMESPACE
data
data/env.three.rda
data/env.two.rda
data/env.single.rda
R
R/cma.lm.h.R
R/cma.uni.delta.R
R/sim.data.multi.R
R/cma.delta.lm.R
R/cma.mix.R
R/cma.uni.sens.R
R/macc-internal.R
R/cma.uni.mix.hl.R
R/macc.R
R/cma.h.R
R/sim.data.single.R
R/cma.uni.mix.dhl.R
R/cma.delta.lm.HL.R
R/cma.uni.mix.R
R/cma.uni.plot.R
R/cma.lm.R
R/cma.lm.ts.R
MD5
DESCRIPTION
man
man/sim.data.multi.Rd
man/macc-package.Rd
man/macc.Rd
man/sim.data.single.Rd
man/env.single.Rd
man/env.three.Rd
man/env.two.Rd
macc documentation built on May 19, 2017, 6:47 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.