Least-squares regression slope and prediction
The least-squares line minimizes squared vertical residuals. Its slope is b=r(s_y/s_x), and intercept a=ȳ−b x̄, so the line passes through (x̄,ȳ). Interpret slope in response units per explanatory unit.
What you will learn
- Compute slope and intercept
- Predict a response
- Interpret units of the slope
A common mistake
Predicted y is not the same as an observed y.
Continue learning
Regression analysis · Residuals and residual plots
Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.