Package: bama 1.3.1
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.
Authors:
bama_1.3.1.tar.gz
bama_1.3.1.tar.gz(r-4.7-arm64)bama_1.3.1.tar.gz(r-4.7-x86_64)bama_1.3.1.tar.gz(r-4.6-arm64)bama_1.3.1.tar.gz(r-4.6-x86_64)
bama_1.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
bama/json (API)
| # Install 'bama' in R: |
| install.packages('bama', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/umich-cphds/bama/issues
- bama.data - Synthetic example data for bama
Last updated from:96dfd618ec. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 135 | ||
| linux-devel-x86_64 | OK | 144 | ||
| source / vignettes | OK | 218 | ||
| linux-release-arm64 | OK | 163 | ||
| linux-release-x86_64 | OK | 138 | ||
| wasm-release | OK | 130 |
Dependencies:BHRcppRcppArmadilloRcppDist
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Bayesian Mediation Analysis | bama |
| Synthetic example data for bama | bama.data |
| Bayesian Mediation Analysis Controlling For False Discovery | fdr.bama |
| Printing bama objects | print.bama |
| Printing bama objects | print.fdr.bama |
| Summarize objects of type "bama" | summary.bama |
| Summarize objects of type "fdr.bama" | summary.fdr.bama |
