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.
| Version: | 1.3.1 |
| Depends: | R (≥ 3.5) |
| Imports: | Rcpp, parallel |
| LinkingTo: | Rcpp, RcppArmadillo, RcppDist, BH |
| Suggests: | knitr, rmarkdown |
| Published: | 2025-09-20 |
| DOI: | 10.32614/CRAN.package.bama |
| Author: | Alexander Rix [aut], Mike Kleinsasser [aut, cre], Yanyi Song [aut] |
| Maintainer: | Mike Kleinsasser <mkleinsa at umich.edu> |
| BugReports: | https://github.com/umich-cphds/bama/issues |
| License: | GPL-3 |
| URL: | https://github.com/umich-cphds/bama |
| NeedsCompilation: | yes |
| Materials: | README |
| In views: | Bayesian |
| CRAN checks: | bama results |
| Reference manual: | bama.html , bama.pdf |
| Vignettes: |
Bayesian Mediation Analysis in R (source, R code) |
| Package source: | bama_1.3.1.tar.gz |
| Windows binaries: | r-devel: bama_1.3.1.zip, r-release: bama_1.3.1.zip, r-oldrel: bama_1.3.1.zip |
| macOS binaries: | r-release (arm64): bama_1.3.1.tgz, r-oldrel (arm64): bama_1.3.1.tgz, r-release (x86_64): bama_1.3.1.tgz, r-oldrel (x86_64): bama_1.3.1.tgz |
| Old sources: | bama archive |
Please use the canonical form https://CRAN.R-project.org/package=bama to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.