Package: maczic 1.1.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 [aut, cre], Zijian Guo [aut], Jing Cheng [aut]

maczic_1.1.0.tar.gz
maczic_1.1.0.zip(r-4.7-any)maczic_1.1.0.zip(r-4.6-any)maczic_1.1.0.zip(r-4.5-any)
maczic_1.1.0.tgz(r-4.6-any)maczic_1.1.0.tgz(r-4.5-any)
maczic_1.1.0.tar.gz(r-4.7-any)maczic_1.1.0.tar.gz(r-4.6-any)
maczic_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
maczic/json (API)

# 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:

Conda:

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 297 downloads 5 exports 82 dependencies

Last updated from:748ba6ed63. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK174
source / vignettesOK222
linux-releaseOK235
macos-releaseOK140
macos-oldrelOK125
windows-develOK102
windows-releaseOK137
windows-oldrelOK133
wasm-releaseOK118

Exports:maczic_powermediate_ivmediate_zimediate_zi_vcoefplot_sensitivity

Dependencies:backportsbase64encBBbootbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestemplikevaluatefarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lpSolvemagrittrMASSmathjaxrMatrixMatrixModelsmediationmemoisemimeminqamvtnormnlmenloptrnnetpsclquadprogquantregR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangrmarkdownrpartrstudioapiS7sandwichsassscalesSparseMstringistringrsurvivaltinytexvctrsviridisLitewithrxfunyamlzoo