The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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 <doi:10.1002/sim.6293>). 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.
Version: | 1.4.0 |
Depends: | R (≥ 2.10) |
Imports: | MASS, stats, matrixStats, sandwich |
Suggests: | rmarkdown, knitr |
Published: | 2023-07-07 |
DOI: | 10.32614/CRAN.package.mzipmed |
Author: | Andrew Sims [aut, cre], Dustin Long [aut], Hemant Tiwari [aut], Leann Long [aut] |
Maintainer: | Andrew Sims <ams329 at uab.edu> |
License: | MIT + file LICENSE |
NeedsCompilation: | no |
CRAN checks: | mzipmed results |
Reference manual: | mzipmed.pdf |
Vignettes: |
Introduction to the 'mzipmed' R package |
Package source: | mzipmed_1.4.0.tar.gz |
Windows binaries: | r-devel: mzipmed_1.4.0.zip, r-release: mzipmed_1.4.0.zip, r-oldrel: mzipmed_1.4.0.zip |
macOS binaries: | r-release (arm64): mzipmed_1.4.0.tgz, r-oldrel (arm64): mzipmed_1.4.0.tgz, r-release (x86_64): mzipmed_1.4.0.tgz, r-oldrel (x86_64): mzipmed_1.4.0.tgz |
Old sources: | mzipmed archive |
Please use the canonical form https://CRAN.R-project.org/package=mzipmed to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.