Package: mzipmed Title: Mediation using MZIP Model Version: 1.4.0 Authors@R: c( person(given = "Andrew", family = "Sims", role = c("aut", "cre"), email = "ams329@uab.edu", comment = c(ORCID = "0000-0001-8525-4381")), person(given="Dustin",family="Long", role="aut"), person(given="Hemant",family="Tiwari",role="aut"), person(given="Leann",family="Long",role="aut")) Author: Andrew Sims [aut, cre] (), Dustin Long [aut], Hemant Tiwari [aut], Leann Long [aut] Maintainer: Andrew Sims Description: We implement functions allowing for mediation analysis to be performed in cases where the mediator is a count variable with excess zeroes. First a function is provided allowing users to perform analysis for zero-inflated count variables using the marginalized zero-inflated Poisson (MZIP) model (Long et al. 2014 ). Using the counterfactual approach to mediation and MZIP we can obtain natural direct and indirect effects for the overall population. Using delta method processes variance estimation can be performed instantaneously. Alternatively, bootstrap standard errors can be used. We also provide functions for cases with exposure-mediator interactions with four-way decomposition of total effect. Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.1.2 Imports: MASS, stats, matrixStats, sandwich License: MIT + file LICENSE Depends: R (>= 2.10) Suggests: rmarkdown, knitr VignetteBuilder: knitr Repository: https://ams329.r-universe.dev Date/Publication: 2023-07-07 15:52:32 UTC RemoteUrl: https://github.com/ams329/mzipmed RemoteRef: HEAD RemoteSha: 4cdb39639c710a216fb64afe3cd3962c83a67314 NeedsCompilation: no Packaged: 2026-06-23 08:05:50 UTC; root