多元线性回归的Gibbs抽样器
A Gibbs Sampler for Multivariate Linear Regression
摘要:
凯利(2007年,以下称为K07)描述了一种有效的算法,其使用吉布斯采样,用于在协变量和响应变量都存在非零测量误差的相当一般的情况下执行线性回归,其中这些测量可以是相关的(对于相同的数据点),其中响应变量除了测量误差之外还受到固有散射的影响,并且其中协变量的先验分布由高斯的灵活混合来建模,而不是假设为均匀的。在这里,我以两种方式扩展了K07算法。首先,该程序被推广到多个响应变量的情况下。其次,我描述了如何使用Dirichlet过程来建模协变量的先验分布,该过程可以被认为是高斯混合,其中混合分量的数量是从数据中学习的。我提出了一个多元回归的例子,使用扩展的算法,即拟合的气体质量,温度和光度的动态放松星系团作为其质量和红移的函数的标度关系。给出了吉布斯采样器的R语言实现,称为LRGS。
英文摘要:
Kelly (2007, hereafter K07) described an efficient algorithm, using Gibbs sampling, for performing linear regression in the fairly general case where non-zero measurement errors exist for both the covariates and response variables, where these measurements may be correlated (for the same data point), where the response variable is affected by intrinsic scatter in addition to measurement error, and where the prior distribution of covariates is modeled by a flexible mixture of Gaussians rather than assumed to be uniform. Here I extend the K07 algorithm in two ways. First, the procedure is generalized to the case of multiple response variables. Second, I describe how to model the prior distribution of covariates using a Dirichlet process, which can be thought of as a Gaussian mixture where the number of mixture components is learned from the data. I present an example of multivariate regression using the extended algorithm, namely fitting scaling relations of the gas mass, temperature, and luminosity of dynamically relaxed galaxy clusters as a function of their mass and redshift. An implementation of the Gibbs sampler in the R language, called LRGS, is provided.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。