Package: macc 1.0.1

Yi Zhao

macc: Mediation Analysis of Causality under Confounding

Performs causal mediation analysis under confounding or correlated errors. This package includes a single level mediation model, a two-level mediation model, and a three-level mediation model for data with hierarchical structures. Under the two/three-level mediation model, the correlation parameter is identifiable and is estimated based on a hierarchical-likelihood, a marginal-likelihood or a two-stage method. See Zhao, Y., & Luo, X. (2014), Estimating Mediation Effects under Correlated Errors with an Application to fMRI, <arxiv:1410.7217> for details.

Authors:Yi Zhao <[email protected]>, Xi Luo <[email protected]>

macc_1.0.1.tar.gz
macc_1.0.1.tar.gz(r-4.5-noble)macc_1.0.1.tar.gz(r-4.4-noble)
macc_1.0.1.tgz(r-4.4-emscripten)macc_1.0.1.tgz(r-4.3-emscripten)
macc.pdf |macc.html
macc/json (API)

# Install 'macc' in R:
install.packages('macc', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

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

1.00 score 6 scripts 150 downloads 3 exports 62 dependencies

Last updated 7 years agofrom:18846160c4. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 11 2024
R-4.5-linuxOKNov 11 2024

Exports:maccsim.data.multisim.data.single

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivoptimxpbkrtestpillarpkgconfigpracmapurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr