Search the atlas

Gauss, Legendre and the origin of least squares

Legendre’s publication, Gauss’s priority claim and the distinction between an objective, an error model and weights.

In 1805 Adrien-Marie Legendre published the method of least squares in an appendix on comet orbits. If yiy_i are the observations and fi(θ)f_i(\theta) their predicted values, the method chooses parameters θ\theta to minimise ∑i[yi−fi(θ)]2\sum_i[y_i-f_i(\theta)]^2. Squaring treats opposite residuals equally and increases the influence of large residuals. Choosing the model family is a separate step.

Publication, priority and geodesy

In 1809 Gauss explained his treatment of observations in the Theoria motus and wrote that he had used the method since 1795. Legendre gave the first published account. The successful recovery of Ceres concerns orbit determination and alone cannot establish that Gauss used the same criterion. The Hanover survey later brought adjustment of disagreeing observations into field practice, alongside instruments such as the heliotrope.

What the assumptions give

With independent normal errors of equal variance, minimising squared residuals maximises likelihood. The modern Gauss–Markov theorem uses different assumptions. In a correctly specified full-rank linear model, with mean-zero uncorrelated errors of equal finite variance, ordinary least squares has minimum variance among linear unbiased estimators. Normality is unnecessary for that result.

Two independent estimates of a length, 10.0 and 10.6 mm10.6\,\mathrm{mm}, have standard deviations 0.2 and 0.4 mm0.4\,\mathrm{mm}. Inverse-variance weights are 25 and 6.25 mm−26.25\,\mathrm{mm}^{-2}. The weighted mean is 10.12 mm10.12\,\mathrm{mm} and its standard uncertainty is 1/31.25≃0.179 mm1/\sqrt{31.25}\simeq0.179\,\mathrm{mm}. A shared calibration can correlate the errors, making covariance relevant.

Sources