Least-Squares Criterion vs Least-Squares Regression Line

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Least-squares criterion

Regression and correlation

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 (yy^)2\sum (y - \hat{y})^2, the total squared vertical miss, where y^\hat{y} 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 32+(1)2+(2)2=9+1+4=143^2 + (-1)^2 + (-2)^2 = 9 + 1 + 4 = 14, and no other line scores lower on those three points. One consequence worth remembering: the least-squares line always passes through (xˉ,yˉ)(\bar{x}, \bar{y}), the point of averages, read x-bar and y-bar.

Full entry for least-squares criterion

Least-squares regression line

Regression and correlation

The least-squares regression line is the straight line through a scatterplot that makes the sum of the squared residuals as small as possible.

The least-squares regression line is the best-fit line for predicting the response from the explanatory variable, chosen to minimize the total squared vertical distance from the points. Its equation is y^=a+bx\hat{y} = a + bx, where y^\hat{y} (read y-hat) is the predicted response, aa is the y-intercept, and bb is the slope. For example, y^=50+5x\hat{y} = 50 + 5x predicts a score of 75 when x=5x = 5 hours of study. The line always passes through the point of averages (xˉ,yˉ)(\bar{x}, \bar{y}).

Full entry for least-squares regression line

Where each one fits in the course