Teacher Guide: Residuals
Learn what a residual is, how to compute residuals in a table, and how a residual plot shows whether a line fits the data.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Regression. Students join with a name, you see everyone's score.
For Teachers
- Compute a residual as observed minus predicted value
- Interpret the sign of a residual as a point above or below the regression line
- Organize residuals in a table and verify that they add up to zero for the least-squares line
- Use a residual plot to decide whether a linear model is appropriate
- Explain least squares as minimizing the sum of squared residuals
- • Scatter plots and reading points as (x, y) pairs
- • Line of best fit and its equation
- • Making predictions by substituting into the regression line
- • Adding and squaring negative numbers
- 1. If your residual on a test-score model is , did you do better or worse than the model expected?
- 2. Why can the residuals of a bad line still add up to zero?
- 3. What would a residual plot look like if every point were exactly on the line?
- 4. Why does squaring the residuals punish one big miss more than several small ones?
The residual is predicted minus observed
Remediation: Anchor the order with a picture: a point above the line should be positive. Have students check the sign against the graph every time.
A sum of residuals equal to zero proves the line is a good fit
Remediation: Show the downloads data: the sum is but the residual plot is a clear U shape. Then compare SSR values of two lines.
A strong correlation means a straight line is always the right model
Remediation: Data that curves can still have a high . Always draw the residual plot and look for a pattern before trusting a linear model.
For Struggling Students:
- • Start with one residual at a time and a graph to check the sign
- • Give a table with the predicted values already filled in
- • Use only whole-number residuals
For On-Level Students:
- • Complete full residual tables and check that the sum is zero
- • Draw residual plots by hand and describe the pattern
- • Compare two lines using the sum of squared residuals
For Advanced Students:
- • Show that moving the least-squares line up by adds to the SSR
- • Explain why the least-squares line always passes through
- • Find real data whose residual plot is curved and suggest a better model
- HSS.ID.B.6.B (CCSS.MATH.CONTENT.HSS.ID.B.6.B)
Informally assess the fit of a function by plotting and analyzing residuals
- HSS.ID.B.6.C (CCSS.MATH.CONTENT.HSS.ID.B.6.C)
Fit a linear function for a scatter plot that suggests a linear association
- HSS.ID.C.7 (CCSS.MATH.CONTENT.HSS.ID.C.7)
Interpret the slope and the intercept of a linear model in the context of the data
- visualScatter Plot with Residuals
Students tap points to read each residual as a dashed segment between the point and the line
- activityHuman Residual Plot
Students measure height and arm span, compute residuals from a class line and stand on a floor number line at their residual
- worksheetResidual Tables
Fill in predicted values, residuals and squared residuals for small data sets and compare two lines
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- is the observed value (what really happened)
- is the predicted value from the line (read "y-hat")
- is the residual, always observed minus predicted
- : the point is above the line (the line predicted too little)
- : the point is below the line (the line predicted too much)
- : the point is exactly on the line
Glossary
- Residual
- Observed value minus predicted value:
- Observed value
- The real value of a data point, measured or collected
- Predicted value
- The value that the regression line gives for a certain
- Residual plot
- A graph of against the residuals, with a horizontal line at
- Sum of squared residuals (SSR)
- The sum ; the least-squares line makes it as small as possible
- Least-squares line
- The regression line with the smallest sum of squared residuals
Formula Card
Residual
Observed minus predicted; positive above the line, negative below
Sum of residuals
Always true for the least-squares regression line
Sum of squared residuals
The least-squares line makes this as small as possible (also written $SS_{\text{res}}$)