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.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'))

Peer review:

Bug tracker:https://github.com/ams329/mzipmed/issues

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

On CRAN:

9 exports 1 stars 0.74 score 5 dependencies 2 scripts 296 downloads

Last updated 1 years agofrom:4cdb39639c. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-winNOTEAug 30 2024
R-4.5-linuxNOTEAug 30 2024
R-4.4-winNOTEAug 30 2024
R-4.4-macNOTEAug 30 2024
R-4.3-winOKAug 30 2024
R-4.3-macOKAug 30 2024

Exports:binoutzimedbinoutzimedintlmoutzimedlmoutzimedintmzipzioutbinmedzioutbinmedintzioutlmmedzioutlmmedint

Dependencies:latticeMASSmatrixStatssandwichzoo

Introduction to the mzipmed R package

Rendered frommzipmed-vignette.Rmdusingknitr::rmarkdownon Aug 30 2024.

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