Package: BayesianMediationA 1.0.1

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.zip(r-4.5)BayesianMediationA_1.0.1.zip(r-4.4)BayesianMediationA_1.0.1.zip(r-4.3)
BayesianMediationA_1.0.1.tgz(r-4.4-any)BayesianMediationA_1.0.1.tgz(r-4.3-any)
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://qingzhaoyu.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:

On CRAN:

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 290 downloads 4 exports 69 dependencies

Last updated 2 years agofrom:30a4a0cde8. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winNOTENov 12 2024
R-4.5-linuxNOTENov 12 2024
R-4.4-winNOTENov 12 2024
R-4.4-macNOTENov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

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

Dependencies:abindbackportsbitopsbootbroomcarcarDatacaToolsclicodacolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegplotsgtablegtoolsisobandKernSmoothlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR2jagsR2WinBUGSR6RColorBrewerRcppRcppEigenrjagsrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Examples for Bayesian Mediation Analysis

Rendered fromBayesianMediationAvignette.Rmdusingknitr::rmarkdownon Nov 12 2024.

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