Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

bayeslm

Description

Efficient sampling for Gaussian linear regression with arbitrary priors. This package implements Bayesian linear regression using elliptical slice sampler, which allows easily useage of arbitrary priors. This package is parallelized by RcppParallel.

Install

install.packages("devtools")

library(devtools)

install_github("JingyuHe/bayeslm")

Reference

Hahn, P. Richard, Jingyu He, and Hedibert Lopes. " Efficient sampling for Gaussian linear regression with arbitrary priors." (2017).

bayeslm

Copy Link

Version

Install

install.packages('bayeslm')

Monthly Downloads

595

Version

0.8.0

License

LGPL (>= 2)

Maintainer

Jingyu He

Last Published

June 18th, 2018

Functions in bayeslm (0.8.0)

hs_gibbs

Gibbs sampler of horseshoe regression
summary.MCMC

Summarize posterior draws
plot.MCMC

Plot posterior summary
predict.bayeslm.fit

Predict new data
summary.bayeslm.fit

Summarize fitted object of bayeslm
bayeslm-package

Efficient sampling for Gaussian linear regression with arbitrary priors
bayeslm

Efficient sampling for Gaussian linear model with arbitrary priors