lrgs: Linear Regression by Gibbs Sampling

Implements a Gibbs sampler to do linear regression with multiple covariates, multiple responses, Gaussian measurement errors on covariates and responses, Gaussian intrinsic scatter, and a covariate prior distribution which is given by either a Gaussian mixture of specified size or a Dirichlet process with a Gaussian base distribution. Described further in Mantz (2016) <DOI:10.1093/mnras/stv3008>.

Package details

AuthorAdam Mantz
MaintainerAdam Mantz <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the lrgs package in your browser

Any scripts or data that you put into this service are public.

lrgs documentation built on Aug. 11, 2020, 5:08 p.m.