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:

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

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

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winNOTEOct 29 2024
R-4.5-linuxNOTEOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:binoutzimedbinoutzimedintlmoutzimedlmoutzimedintmzipzioutbinmedzioutbinmedintzioutlmmedzioutlmmedint

Dependencies:latticeMASSmatrixStatssandwichzoo

Introduction to the mzipmed R package

Rendered frommzipmed-vignette.Rmdusingknitr::rmarkdownon Oct 29 2024.

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