Package: maczic Version: 1.1.0 Date: 2025-8-19 Title: Mediation Analysis for Count and Zero-Inflated Count Data Author: Nancy Cheng [aut, cre], Zijian Guo [aut], Jing Cheng [aut] Authors@R: c(person(given = "Nancy", family = "Cheng", role = c("aut", "cre"), email = "Nancy.Cheng@ucsf.edu"), person(given = "Zijian", family = "Guo", role = "aut", email = "zijguo@stat.rutgers.edu"), person(given = "Jing", family = "Cheng", role = "aut", email = "Jing.Cheng@ucsf.edu")) Maintainer: Nancy Cheng Depends: R (>= 4.0), MASS, pscl, graphics Imports: sandwich, survival, stats, mediation, emplik, BB, mathjaxr Suggests: SuppDists RdMacros: mathjaxr Description: 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) . 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) . 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. License: GPL (>= 2) Encoding: UTF-8 LazyData: true RoxygenNote: 7.3.2 NeedsCompilation: no Packaged: 2026-10-14 11:55:04 UTC; root Config/pak/sysreqs: cmake make libicu-dev libuv1-dev Repository: https://nancyfcheng.r-universe.dev Date/Publication: 2025-08-19 20:00:02 UTC RemoteUrl: https://github.com/cran/maczic RemoteRef: HEAD RemoteSha: 748ba6ed635243a52d9640a4d9474ae2553aee16