CRAN/E | maczic

maczic

Mediation Analysis for Count and Zero-Inflated Count Data

Installation

About

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 National Institute of Dental and Craniofacial Research, a component of the National Institutes of Health.

Key Metrics

Version 1.0.0
R ≥ 4.0
Published 2023-09-11 228 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks maczic results

Downloads

Yesterday 10 0%
Last 7 days 48 +30%
Last 30 days 181 -3%
Last 90 days 551 -34%
Last 365 days 2.424 +20%

Maintainer

Maintainer

Nancy Cheng

Nancy.Cheng@ucsf.edu

Authors

Nancy Cheng
Zijian Guo
Jing Cheng

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

maczic archive

Depends

R ≥ 4.0
MASS
pscl
graphics

Imports

sandwich
survival
stats
mediation
emplik
BB
mathjaxr

Suggests

SuppDists