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 are the observations and their predicted values, the method chooses parameters to minimise . 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 , have standard deviations 0.2 and . Inverse-variance weights are 25 and . The weighted mean is and its standard uncertainty is . A shared calibration can correlate the errors, making covariance relevant.