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 04 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

crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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