Package: mzipmed 1.4.0
mzipmed: Mediation using MZIP Model
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.
Authors:
mzipmed_1.4.0.tar.gz
mzipmed_1.4.0.zip(r-4.5)mzipmed_1.4.0.zip(r-4.4)mzipmed_1.4.0.zip(r-4.3)
mzipmed_1.4.0.tgz(r-4.4-any)mzipmed_1.4.0.tgz(r-4.3-any)
mzipmed_1.4.0.tar.gz(r-4.5-noble)mzipmed_1.4.0.tar.gz(r-4.4-noble)
mzipmed_1.4.0.tgz(r-4.4-emscripten)mzipmed_1.4.0.tgz(r-4.3-emscripten)
mzipmed.pdf |mzipmed.html✨
mzipmed/json (API)
# Install 'mzipmed' in R: |
install.packages('mzipmed', repos = c('https://ams329.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ams329/mzipmed/issues
- mzipmed_data - Data to be used in the mzipmed package examples
Last updated 1 years agofrom:4cdb39639c. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-win | NOTE | Oct 29 2024 |
R-4.5-linux | NOTE | Oct 29 2024 |
R-4.4-win | NOTE | Oct 29 2024 |
R-4.4-mac | NOTE | Oct 29 2024 |
R-4.3-win | OK | Oct 29 2024 |
R-4.3-mac | OK | Oct 29 2024 |
Exports:binoutzimedbinoutzimedintlmoutzimedlmoutzimedintmzipzioutbinmedzioutbinmedintzioutlmmedzioutlmmedint
Dependencies:latticeMASSmatrixStatssandwichzoo