Least-Squares Regression Line vs Slope of a 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 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

Slope of a regression line

Regression and correlation

The slope of a regression line is the predicted change in the response variable for each one-unit increase in the explanatory variable.

The slope bb tells you how fast the predicted response rises or falls as the explanatory variable increases by one unit. A positive slope means the line goes up from left to right, and a negative slope means it goes down. For example, in y^=50+5x\hat{y} = 50 + 5x the slope 5 predicts 5 more points for each extra hour of study. It is computed as b=rsysxb = r \cdot \frac{s_y}{s_x}, where rr is the correlation and sys_y and sxs_x are the standard deviations of yy and xx.

Full entry for slope of a regression line

Where each one fits in the course