[Paper Review] Fits, and especially linear fits, with errors on both axes, extra variance of the data points and other complications
This paper presents a Bayesian probabilistic framework for linear fitting with errors on both axes and extra variance in data points, emphasizing model construction over formula derivation. It derives exact and approximate solutions using Bayesian networks and shows that standard formulas are approximations under specific assumptions, resolving inconsistencies in prior literature regarding slope estimation and error propagation.
The aim of this paper, triggered by some discussions in the astrophysics community raised by astro-ph/0508529, is to introduce the issue of `fits' from a probabilistic perspective (also known as Bayesian), with special attention to the construction of model that describes the `network of dependences' (a Bayesian network) that connects experimental observations to model parameters and upon which the probabilistic inference relies. The particular case of linear fit with errors on both axes and extra variance of the data points around the straight line (i.e. not accounted by the experimental errors) is shown in detail. Some questions related to the use of linear fit formulas to log-linearized exponential and power laws are also sketched, as well as the issue of systematic errors.
Motivation & Objective
- To address the lack of rigorous probabilistic treatment in fitting procedures with errors on both axes and extra data variance.
- To clarify the assumptions underlying common linear fit formulas, especially in astrophysical contexts.
- To demonstrate that the correct inferential model—based on full joint probability distributions—should be prioritized over simplified analytical formulas.
- To resolve discrepancies in prior literature, such as the incorrect inclusion of a √(1+m²) factor in slope uncertainty calculations.
- To provide a systematic method for incorporating systematic errors (e.g., offset and scale) into linear fits.
Proposed method
- Uses Bayesian probability theory as the foundational framework, applying the chain rule to factorize the joint probability density of all variables.
- Constructs a Bayesian network to visually represent the dependence structure between observed data, true values, model parameters, and uncertainties.
- Derives the unnormalized posterior distribution for slope and intercept under the assumption of normal errors and linear dependence between true values.
- Introduces a hierarchical model to account for extra variance in data points beyond measurement errors.
- Applies heuristic approximations for uncertainty propagation when the posterior is approximately multivariate Gaussian.
- Extends the model to include systematic errors via multiplicative (scale) and additive (offset) factors with their own uncertainties.
Experimental results
Research questions
- RQ1How should linear fits be formulated when both x and y variables have measurement errors?
- RQ2What is the correct way to account for extra variance in data points not explained by measurement errors?
- RQ3Why do some published formulas for slope uncertainty include an incorrect √(1+m²) factor?
- RQ4How can systematic errors (offset and scale) be consistently incorporated into linear regression?
- RQ5What is the relationship between standard least-squares formulas and the full Bayesian inference framework?
Key findings
- The paper derives the correct posterior distribution for linear fit parameters with errors on both axes, showing that the inclusion of a √(1+m²) factor in prior formulas—such as Eq. (43) of Ref. [17]—is incorrect due to dimensional inconsistency.
- The correct uncertainty contributions for slope and intercept due to systematic errors are derived: σ(m)|ζx = 0, σ(c)|ζx = |m|σζx, σ(m)|ηx = |m|σηx, and σ(c)|ηy = |c|σηy.
- The model shows that the posterior distribution for the parameters is not always Gaussian, but can be approximated as such for uncertainty propagation using quadrature of contributions from different error sources.
- The paper demonstrates that standard least-squares regression is recovered as a limiting case when measurement errors are negligible and no extra variance is present.
- The Bayesian approach reveals that the overestimation of the slope in some prior works is due to the incorrect √(1+m²) factor, which systematically biases results.
- The framework provides a systematic and consistent way to include both statistical and systematic uncertainties in linear fits, with clear physical interpretation of each component.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.