Source code for the R package SurrogateBMA. https://cran.r-project.org/web/packages/SurrogateBMA/index.html
Duan, Yunshan, and Layla Parast. "Flexible evaluation of surrogate markers with Bayesian model averaging." Statistics in Medicine (2023). https://doi.org/10.1002/sim.9986