Efficient sampling for Gaussian linear regression with arbitrary priors. This package implements Bayesian linear regression using elliptical slice sampler, which allows easily usage of arbitrary priors. This package is parallelized by RcppParallel.
install.packages("devtools")
library(devtools)
install_github("JingyuHe/bayeslm")
The method underlying this package is described in "Efficient sampling for Gaussian linear regression with arbitrary priors" (Hahn, He, and Lopes 2019) which was published in the Journal of Computational and Graphical Statistics.
An open-access version of the paper is available on Arxiv.