Crandore Hub

bama

High Dimensional Bayesian Mediation Analysis

Perform mediation analysis in the presence of high-dimensional mediators based on the potential outcome framework. Bayesian Mediation Analysis (BAMA), developed by Song et al (2019) <doi:10.1111/biom.13189> and Song et al (2020) <doi:10.48550/arXiv.2009.11409>, relies on two Bayesian sparse linear mixed models to simultaneously analyze a relatively large number of mediators for a continuous exposure and outcome assuming a small number of mediators are truly active. This sparsity assumption also allows the extension of univariate mediator analysis by casting the identification of active mediators as a variable selection problem and applying Bayesian methods with continuous shrinkage priors on the effects.

Versions across snapshots

VersionRepositoryFileSize
1.3.1 rolling linux/jammy R-4.5 bama_1.3.1.tar.gz 920.6 KiB
1.3.1 rolling linux/noble R-4.5 bama_1.3.1.tar.gz 925.0 KiB
1.3.1 rolling source/ R- bama_1.3.1.tar.gz 799.0 KiB
1.3.1 latest linux/jammy R-4.5 bama_1.3.1.tar.gz 920.6 KiB
1.3.1 latest linux/noble R-4.5 bama_1.3.1.tar.gz 925.0 KiB
1.3.1 latest source/ R- bama_1.3.1.tar.gz 799.0 KiB
1.3.1 2026-04-26 source/ R- bama_1.3.1.tar.gz 799.0 KiB
1.3.1 2026-04-23 source/ R- bama_1.3.1.tar.gz 799.0 KiB
1.3.1 2026-04-09 windows/windows R-4.5 bama_1.3.1.zip 1.2 MiB
1.3.0 2025-04-20 source/ R- bama_1.3.0.tar.gz 798.0 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests