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 27 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:27), 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

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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