Crandore Hub

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

Versions across snapshots

VersionRepositoryFileSize
1.1.0 rolling linux/jammy R-4.5 maczic_1.1.0.tar.gz 225.4 KiB
1.1.0 rolling linux/noble R-4.5 maczic_1.1.0.tar.gz 225.3 KiB
1.1.0 rolling source/ R- maczic_1.1.0.tar.gz 299.3 KiB
1.1.0 latest linux/jammy R-4.5 maczic_1.1.0.tar.gz 225.4 KiB
1.1.0 latest linux/noble R-4.5 maczic_1.1.0.tar.gz 225.3 KiB
1.1.0 latest source/ R- maczic_1.1.0.tar.gz 299.3 KiB
1.1.0 2026-04-26 source/ R- maczic_1.1.0.tar.gz 299.3 KiB
1.1.0 2026-04-23 source/ R- maczic_1.1.0.tar.gz 299.3 KiB
1.1.0 2026-04-09 windows/windows R-4.5 maczic_1.1.0.zip 228.2 KiB
1.0.0 2025-04-20 source/ R- maczic_1.0.0.tar.gz 503.3 KiB

Dependencies (latest)

Depends

Imports

Suggests