Fit a least-squares line and judge whether to trust it
8 steps · about 2 h 25 min · Beginner
- Refresh slope and intercept as rates and starting values (article, OpenStax, 15 min)
Regression output is only readable once slope and intercept mean something in context.
- Describe a scatter plot before fitting anything (article, OpenStax, 15 min)
Direction, form and strength decide whether a straight line is even appropriate.
- Fit the least-squares line and read r (article, OpenStax, 30 min)
Shows how the line minimises squared residuals and what the correlation coefficient summarises.
- Drag points and watch the line respond (interactive, PhET, University of Colorado Boulder, 15 min)
Moving single points builds intuition for residuals and how one value can pull the fit.
- Test whether the correlation is real (article, OpenStax, 25 min)
Separates a genuine linear relationship from a pattern that chance could produce.
- Predict inside the data range, not beyond it (article, OpenStax, 15 min)
Explains interpolation versus risky extrapolation with worked numbers.
- Find and handle outliers with residuals (article, OpenStax, 20 min)
Gives a concrete rule for flagging points and shows how removing one changes the line.
- Keep correlation and causation apart (article, Australian Bureau of Statistics, 10 min)
A short reminder that a strong fit never proves one variable drives the other.