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:Andrew Sims [aut, cre], Dustin Long [aut], Hemant Tiwari [aut], Leann Long [aut]

mzipmed_1.4.0.tar.gz
mzipmed_1.4.0.zip(r-4.7)mzipmed_1.4.0.zip(r-4.6)mzipmed_1.4.0.zip(r-4.5)
mzipmed_1.4.0.tgz(r-4.6-any)mzipmed_1.4.0.tgz(r-4.5-any)
mzipmed_1.4.0.tar.gz(r-4.7-any)mzipmed_1.4.0.tar.gz(r-4.6-any)
mzipmed_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
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

Datasets:
  • mzipmed_data - Data to be used in the mzipmed package examples

On CRAN:

Conda:

3.00 score 1 stars 2 scripts 243 downloads 9 exports 5 dependencies

Last updated from:4cdb39639c. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE129
source / vignettesOK182
linux-release-x86_64NOTE123
macos-release-arm64NOTE140
macos-oldrel-arm64NOTE151
windows-develNOTE102
windows-releaseNOTE103
windows-oldrelNOTE88
wasm-releaseOK90

Exports:binoutzimedbinoutzimedintlmoutzimedlmoutzimedintmzipzioutbinmedzioutbinmedintzioutlmmedzioutlmmedint

Dependencies:latticeMASSmatrixStatssandwichzoo

Introduction to the mzipmed R package

Rendered frommzipmed-vignette.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2023-07-07
Started: 2023-04-19