边缘化正态回归:存在x误差时的无偏曲线拟合
Marginalised Normal Regression: Unbiased curve fitting in the presence of x-errors
AI总结:
针对x和y误差下的直线拟合问题,提出边缘化正态回归(MNR)模型,采用高斯混合先验实现无偏估计,并扩展至非线性及任意协方差,提供Python/Jax实现ROXY。
摘要:
在同时存在$x$和$y$误差的情况下,看似简单的直线拟合问题历史充满波折,文献中充斥着统计上临时拼凑且未经充分检验的方法。问题源于描述自变量“真实”值的潜在变量的出现,这些潜在变量的先验对回归结果有显著影响。通过解析计算最大后验值和偏差,以及全面的数值模拟测试,我们评估了可能的先验的质量。在存在固有离散的情况下,我们发现唯一能普遍给出可靠无偏结果的先验是一个或多个高斯分布的混合,其均值和方差作为推断的一部分确定。我们发现单个高斯通常就足够了,并将此模型称为边缘化正态回归(MNR)。我们通过将其与宇宙学中一个重要的线性关系上的替代方法进行比较,展示了MNR的必要性,并将其扩展到非线性回归以及连接$x$和$y$的任意协方差矩阵。我们公开发布了MNR及其高斯混合模型扩展的Python/Jax实现,该实现与哈密顿蒙特卡洛耦合以进行高效采样,我们称之为ROXY(带X和Y误差的回归与优化)。
英文摘要:
The history of the seemingly simple problem of straight line fitting in the presence of both $x$ and $y$ errors has been fraught with misadventure, with statistically ad hoc and poorly tested methods abounding in the literature. The problem stems from the emergence of latent variables describing the "true" values of the independent variables, the priors on which have a significant impact on the regression result. By analytic calculation of maximum a posteriori values and biases, and comprehensive numerical mock tests, we assess the quality of possible priors. In the presence of intrinsic scatter, the only prior that we find to give reliably unbiased results in general is a mixture of one or more Gaussians with means and variances determined as part of the inference. We find that a single Gaussian is typically sufficient and dub this model Marginalised Normal Regression (MNR). We illustrate the necessity for MNR by comparing it to alternative methods on an important linear relation in cosmology, and extend it to nonlinear regression and an arbitrary covariance matrix linking $x$ and $y$. We publicly release a Python/Jax implementation of MNR and its Gaussian mixture model extension that is coupled to Hamiltonian Monte Carlo for efficient sampling, which we call ROXY (Regression and Optimisation with X and Y errors).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。