statistics

chi squared minimisation

Fitting by minimising chi-squared, the sum of squared residuals weighted by their uncertainties; its value at the minimum also measures goodness of fit.
7 related articles

Description

Chi-squared minimisation is a generalization of least squares fitting that accounts for the fact that measurements often have different uncertainties. Instead of minimizing the sum of squared residuals, it minimizes the sum of squared residuals each divided by its own variance (the square of its uncertainty). This weighting ensures that more precise measurements have a greater influence on the fit than less precise ones. The value of chi-squared at the minimum also serves as a goodness-of-fit statistic: if it is close to the number of degrees of freedom, the model is a good description of the data; if it is much larger, the model may be wrong or uncertainties underestimated.

History

The chi-squared distribution was introduced by Karl Pearson in 1900, and the use of chi-squared minimisation for fitting became standard in the early 20th century, particularly in astronomy and particle physics.

How it works

For each data point, you compute the residual, square it, and divide by the variance of that measurement. Summing these weighted squared residuals gives the chi-squared value. The model parameters are varied to minimize this sum. Because the weights are the inverse variances, points with small uncertainties dominate the fit. The minimized chi-squared value follows a known statistical distribution (the chi-squared distribution) with degrees of freedom equal to the number of data points minus the number of fitted parameters, allowing a quantitative test of the model's validity.

In practice

Standard tool in experimental physics for fitting histograms, particle decay spectra, and astronomical data; also used in cosmology to fit the cosmic microwave background power spectrum.

Fun fact

A reduced chi-squared (chi-squared divided by degrees of freedom) of about 1 indicates a good fit; values much less than 1 often signal that uncertainties have been overestimated.

Concept graph →

Related articles · 7

math.OC2026-07-151 minarXiv:2607.13701express
How to Keep a Problem from Ballooning: A Fast Method for Machine Learning
The standard approach to a certain class of machine learning problems is like a spring that's been stretched and then forgotten: standard methods artificially inflate the problem's size, turning computations into a black hole for memory and time.
Quantum Physics2026-07-121 minarXiv:2607.10518express
Why a Laser Sensor Trembles Even in Perfection
A laser is like a tuning fork that rings at a single note. But even in complete silence, its sound trembles slightly. Previously, it was thought that this tremor, random kicks from spontaneous emission of light by atoms inside the laser, was the main limit to precision.
stat.ME2026-06-242 minarXiv:2606.26061express
A New Way to See the Hidden in Data Chaos
A lab robot counts molecules, and gets it wrong. One tube shows 0, another 12, a third 3, though in reality they all hold roughly the same amount. Such 'raw' numbers are common in biology: DNA sequencing, counting species in a water sample, gene activity. There's plenty of data, but it's sparse and more scattered than simple randomness would predict.
stat.ME2026-05-182 minarXiv:2605.18655express
A Dark Matter Map Without a Safety Net
A camera takes a snapshot, but the sensor is noisy, the optics blur, and some pixels are overexposed. Reconstructing the original picture is like guessing a melody from a scratched record: there are many possibilities, and which one is true is unclear.
Cosmology2026-04-021 minarXiv:2604.01713express
Dark Energy as a Quantum Effect
If space is a canvas, then brushstrokes cannot be infinitely thin. There's a tiniest segment, shorter than which there's no point in measuring. This quantum 'graininess' alters the geometry itself: the motion of galaxies and the growth of large-scale structures bear its mark.
Medical Physics2026-03-231 minarXiv:2603.22092express
The Placenta Under the Microscope: How Oxygen Travels to the Fetus
The placenta is like a bustling market where oxygen passes from mother to child. If the stalls are neatly arranged and goods are delivered quickly, everyone gets enough. But when the aisles get clogged, traffic jams start: some places are crowded, others empty.
Quantum Physics2025-12-161 minarXiv:2512.14899express
Precision of Quantum Sensors: An Unexpected Twist
Building ultrasensitive sensors for light measurements and spectroscopy starts with tiny chambers where light ricochets like an echo in a canyon. Previously, engineers chased the quality factor — the duration of this echo: the longer it rings, the more noticeable the slightest changes.