Package: maczic 1.0.0

maczic: Mediation Analysis for Count and Zero-Inflated Count Data

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) <doi:10.1177/0962280216686131>. 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) <doi:10.1111/rssc.12233>. 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.

Authors:Nancy Cheng, Zijian Guo, Jing Cheng

maczic_1.0.0.tar.gz
maczic_1.0.0.zip(r-4.5)maczic_1.0.0.zip(r-4.4)maczic_1.0.0.zip(r-4.3)
maczic_1.0.0.tgz(r-4.5-any)maczic_1.0.0.tgz(r-4.4-any)maczic_1.0.0.tgz(r-4.3-any)
maczic_1.0.0.tar.gz(r-4.5-noble)maczic_1.0.0.tar.gz(r-4.4-noble)
maczic_1.0.0.tgz(r-4.4-emscripten)maczic_1.0.0.tgz(r-4.3-emscripten)
maczic.pdf |maczic.html
maczic/json (API)
NEWS

# Install 'maczic' in R:
install.packages('maczic', repos = c('https://nancyfcheng.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • midvd_bt100 - Example Data for mediate_zi_vcoef, plot_sensitivity and mediate_iv Functions

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 1 scripts 200 downloads 5 exports 88 dependencies

Last updated 1 years agofrom:dcb0661b20. Checks:5 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 12 2025
R-4.5-winNOTEFeb 12 2025
R-4.5-macNOTEFeb 12 2025
R-4.5-linuxNOTEFeb 12 2025
R-4.4-winOKFeb 12 2025
R-4.4-macOKFeb 12 2025
R-4.3-winOKFeb 12 2025
R-4.3-macOKFeb 12 2025

Exports:maczic_powermediate_ivmediate_zimediate_zi_vcoefplot_sensitivity

Dependencies:backportsbase64encBBbootbslibcachemcheckmatecliclustercolorspacedata.tabledigestemplikevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lpSolvemagrittrMASSmathjaxrMatrixMatrixModelsmediationmemoisemgcvmimeminqamunsellmvtnormnlmenloptrnnetpillarpkgconfigpsclquadprogquantregR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangrmarkdownrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivaltibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo