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.

4 exports 0.00 score 68 dependencies 2 scripts 357 downloads

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

TargetResultDate
Doc / VignettesOKSep 13 2024
R-4.5-winNOTESep 13 2024
R-4.5-linuxNOTESep 13 2024
R-4.4-winNOTESep 13 2024
R-4.4-macNOTESep 13 2024
R-4.3-winOKSep 13 2024
R-4.3-macOKSep 13 2024

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

Dependencies:abindbackportsbitopsbootbroomcarcarDatacaToolsclicodacolorspacecowplotcpp11DerivdoBydplyrfansifarvergenericsggplot2gluegplotsgtablegtoolsisobandKernSmoothlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR2jagsR2WinBUGSR6RColorBrewerRcppRcppEigenrjagsrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Examples for Bayesian Mediation Analysis

Rendered fromBayesianMediationAvignette.Rmdusingknitr::rmarkdownon Sep 13 2024.

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