bama

High Dimensional Bayesian Mediation Analysis

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 373 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 15 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
22 downloadsMar 4, 2025
22 downloadsMar 5, 2025
8 downloadsMar 6, 2025
12 downloadsMar 7, 2025
8 downloadsMar 8, 2025
6 downloadsMar 9, 2025
9 downloadsMar 10, 2025
15 downloadsMar 11, 2025
12 downloadsMar 12, 2025
17 downloadsMar 13, 2025
11 downloadsMar 14, 2025
19 downloadsMar 15, 2025
6 downloadsMar 16, 2025
15 downloadsMar 17, 2025
10 downloadsMar 18, 2025
16 downloadsMar 19, 2025
20 downloadsMar 20, 2025
10 downloadsMar 21, 2025
7 downloadsMar 22, 2025
8 downloadsMar 23, 2025
9 downloadsMar 24, 2025
12 downloadsMar 25, 2025
8 downloadsMar 26, 2025
11 downloadsMar 27, 2025
23 downloadsMar 28, 2025
6 downloadsMar 29, 2025
17 downloadsMar 30, 2025
8 downloadsMar 31, 2025
11 downloadsApr 1, 2025
15 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
6
23

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 4,453 times in the last 365 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The day with the most downloads was Sep 11, 2024 with 42 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Suggests2 packages
  • Linking To4 packages
  • Reverse Imports1 package