Other packages > Find by keyword >

maczic  

Mediation Analysis for Count and Zero-Inflated Count Data
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("maczic", "1.1.0")



Attach the package and use:
library("maczic")
Maintained by
Nancy Cheng
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-11-09
Latest Update: 2025-09-03
Description:
Performs causal mediation analysis for count and zero-inflated count data without or with a post-treatment confounder; calculates power to detect prespecified causal mediation effects, direct effects, and total effects; performs sensitivity analysis when there is a treatment- induced mediator-outcome confounder as described by Cheng, J., Cheng, N.F., Guo, Z., Gregorich, S., Ismail, A.I., Gansky, S.A. (2018) . Implements Instrumental Variable (IV) method to estimate the controlled (natural) direct and mediation effects, and compute the bootstrap Confidence Intervals as described by Guo, Z., Small, D.S., Gansky, S.A., Cheng, J. (2018) . This software was made possible by Grant R03DE028410 from the National Institute of Dental and Craniofacial Research, a component of the National Institutes of Health.
How to cite:
Nancy Cheng (2020). maczic: Mediation Analysis for Count and Zero-Inflated Count Data. R package version 1.1.0, https://cran.r-project.org/web/packages/maczic. Accessed 25 Jun. 2026.
Previous versions and publish date:
0.1.0 (2020-11-09 21:40), 0.2.0 (2021-04-23 23:40), 1.0.0 (2023-09-11 23:50)
Other packages that cited maczic R package
View maczic citation profile
Other R packages that maczic depends, imports, suggests or enhances
Complete documentation for maczic
Functions, R codes and Examples using the maczic R package
Some associated functions: maczic . maczic_power . mediate_iv . mediate_zi . mediate_zi_vcoef . midvd_bt100 . plot_sensitivity . 
Some associated R codes: data.R . maczic.R . maczic_power.R . mediate_iv.R . mediate_zi.R . mediate_zi_vcoef.R . plot_sensitivity.R .  Full maczic package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
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  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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