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.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'))

Peer review:

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.

5 exports 0.09 score 85 dependencies 1 scripts 212 downloads

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

TargetResultDate
Doc / VignettesOKAug 31 2024
R-4.5-winNOTEAug 31 2024
R-4.5-linuxNOTEAug 31 2024
R-4.4-winOKAug 31 2024
R-4.4-macOKAug 31 2024
R-4.3-winOKAug 31 2024
R-4.3-macOKAug 31 2024

Exports:maczic_powermediate_ivmediate_zimediate_zi_vcoefplot_sensitivity

Dependencies:backportsbase64encBBbootbslibcachemcheckmatecliclustercolorspacedata.tabledigestemplikevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lpSolvemagrittrMASSmathjaxrMatrixMatrixModelsmediationmemoisemgcvmimeminqamunsellmvtnormnlmenloptrnnetpillarpkgconfigpsclquadprogquantregR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivaltibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo