Package: BayesianMediationA 1.0.1

Qingzhao Yu

BayesianMediationA: Bayesian Mediation Analysis

We perform general mediation analysis in the Bayesian setting using the methods described in Yu and Li (2022, ISBN:9780367365479). With the package, the mediation analysis can be performed on different types of outcomes (e.g., continuous, binary, categorical, or time-to-event), with default or user-defined priors and predictive models. The Bayesian estimates and credible sets of mediation effects are reported as analytic results.

Authors:Qingzhao Yu [aut, cre, cph], Bin Li [aut]

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

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

Peer review:

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3
Datasets:

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

2.00 score 2 scripts 298 downloads 4 exports 69 dependencies

Last updated 2 years agofrom:30a4a0cde8. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-linuxNOTENov 19 2024

Exports:bma.bx.cydata_orgprint.summary.bmasummary.bma.bx.cy

Dependencies:abindbackportsbitopsbootbroomcarcarDatacaToolsclicodacolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegplotsgtablegtoolsisobandKernSmoothlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR2jagsR2WinBUGSR6RColorBrewerRcppRcppEigenrjagsrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Examples for Bayesian Mediation Analysis

Rendered fromBayesianMediationAvignette.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2022-09-24
Started: 2022-09-24