Least-squares criterion
The least-squares criterion picks the line that makes the sum of the squared residuals as small as possible.
Out of every line you could draw through a scatterplot, the least-squares criterion keeps the one that minimizes , the total squared vertical miss, where is read y-hat. Squaring makes large misses count heavily and stops positive and negative residuals from cancelling, since the residuals of this line always add to 0. For example, if the least-squares line for three points leaves residuals 3, -1, and -2, it scores , and no other line scores lower on those three points. One consequence worth remembering: the least-squares line always passes through , the point of averages, read x-bar and y-bar.
More regression and correlation terms, or browse the full statistics glossary.