maczic: Mediation Analysis for Count and Zero-Inflated Count Data

Performs causal mediation analysis for count and zero-inflated count data without or with a post-treatment confounder; calculates power to detect prespecified causal mediation effects, direct effects, and total effects; performs sensitivity analysis when there is a treatment- induced mediator-outcome confounder as described by Cheng, J., Cheng, N.F., Guo, Z., Gregorich, S., Ismail, A.I., Gansky, S.A. (2018) <doi:10.1177/0962280216686131>. Implements Instrumental Variable (IV) method to estimate the controlled (natural) direct and mediation effects, and compute the bootstrap Confidence Intervals as described by Guo, Z., Small, D.S., Gansky, S.A., Cheng, J. (2018) <doi:10.1111/rssc.12233>. This software was made possible by Grant R03DE028410 from the The National Institute of Dental and Craniofacial Research, a component of the National Institutes of Health.

Version: 0.2.0
Depends: R (≥ 4.0), MASS, pscl, graphics
Imports: sandwich, survival, stats, mediation, emplik, BB, mathjaxr
Suggests: SuppDists
Published: 2021-04-23
Author: Nancy Cheng, Zijian Guo, Jing Cheng
Maintainer: Nancy Cheng <Nancy.Cheng at ucsf.edu>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: NEWS
CRAN checks: maczic results

Documentation:

Reference manual: maczic.pdf

Downloads:

Package source: maczic_0.2.0.tar.gz
Windows binaries: r-devel: maczic_0.2.0.zip, r-release: maczic_0.2.0.zip, r-oldrel: maczic_0.2.0.zip
macOS binaries: r-release (arm64): maczic_0.2.0.tgz, r-oldrel (arm64): maczic_0.2.0.tgz, r-release (x86_64): maczic_0.2.0.tgz, r-oldrel (x86_64): maczic_0.2.0.tgz
Old sources: maczic archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=maczic to link to this page.