Technical note · Statistical modeling

Accounting for correlated errors

Why covariance matters for inference and model validation.

Independent errors are an assumption

Measurements collected from a shared instrument, repeated samples or a common calibration can contain correlated errors. Treating every row as an independent piece of information may underestimate uncertainty.

Covariance-aware modeling

For a Gaussian error model with known covariance C, the quadratic residual term is rᵀC⁻¹r, rather than a sum of squared residuals weighted only by their individual variances. Computationally, solving a linear system or using a Cholesky factorization is preferable to explicitly calculating the inverse matrix.

Check the implications

Examine covariance estimation, conditioning and systematic error assumptions. Correlation can change estimated parameters, apparent goodness of fit and uncertainty; the impact depends on the design and covariance structure.

Research example

The published Pantheon reconstruction study extends a neural-network approach to observations with correlated uncertainties. The case study discusses the original scientific problem and links to the paper.