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 <Nancy.Cheng@ucsf.edu>
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) 
    <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.
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2025-08-19 19:04:47 UTC; NCheng
Repository: CRAN
Date/Publication: 2025-08-19 20:00:02 UTC
Built: R 4.4.3; ; 2025-11-01 05:58:36 UTC; windows
