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 , where (read y-hat) is the predicted response, is the y-intercept, and is the slope. For example, predicts a score of 75 when hours of study. The line always passes through the point of averages .
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 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 the slope 5 predicts 5 more points for each extra hour of study. It is computed as , where is the correlation and and are the standard deviations of and .