Other packages > Find by keyword >

mzipmed  

Mediation using MZIP Model
View on CRAN: Click here


Download and install mzipmed package within the R console
Install from CRAN:
install.packages("mzipmed")

Install from Github:
library("remotes")
install_github("cran/mzipmed")

Install by package version:
library("remotes")
install_version("mzipmed", "1.4.0")



Attach the package and use:
library("mzipmed")
Maintained by
Andrew Sims
[Scholar Profile | Author Map]
First Published: 2023-03-21
Latest Update: 2023-07-07
Description:
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 ). 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.
How to cite:
Andrew Sims (2023). mzipmed: Mediation using MZIP Model. R package version 1.4.0, https://cran.r-project.org/web/packages/mzipmed. Accessed 11 Apr. 2025.
Previous versions and publish date:
1.2.5 (2023-03-21 20:40), 1.3.0 (2023-04-16 21:40), 1.3.5 (2023-05-27 18:50)
Other packages that cited mzipmed R package
View mzipmed citation profile
Other R packages that mzipmed depends, imports, suggests or enhances
Complete documentation for mzipmed
Functions, R codes and Examples using the mzipmed R package
Some associated functions: binoutzimed . binoutzimedint . lmoutzimed . lmoutzimedint . mzip . mzipmed_data . zioutbinmed . zioutbinmedint . zioutlmmed . zioutlmmedint . 
Some associated R codes: data.R . mzipmed_package.R .  Full mzipmed package functions and examples
Downloads during the last 30 days
03/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/09Downloads for mzipmed246810121416182022TrendBars

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
multIntTestFunc  
Provides Test Functions for Multivariate Integration
Provides implementations of functions that can be used to test multivariate integration routines. T ...
Download / Learn more Package Citations See dependency  
Rwtss  
Client for Web Time-Series Service
Allows remote access to satellite image time series provided by the web time series service (WTSS) ...
Download / Learn more Package Citations See dependency  
GenAlgo  
Classes and Methods to Use Genetic Algorithms for Feature Selection
Defines classes and methods that can be used to implement genetic algorithms for feature selection. ...
Download / Learn more Package Citations See dependency  
extrafrail  
Estimation and Additional Tools for Alternative Shared Frailty Models
Provide estimation and data generation tools for some new multivariate frailty models. This version ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,867

Author Associations

24,013

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA