Least-squares regression line

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}).

More regression and correlation terms, or browse the full statistics glossary.