Cricket Thermometers: Fitting a Line and Checking Residuals

← Free Lesson Plans for Teachers

Free Lesson Plan

Grades 9–10Statistics and Probability55 minGeyer Instructional ProductsHSS-ID.B.6

⬇ Download PDF (lesson, student sheets & answer key)

Driving question: How can we tell whether a line is a good fit for data?

Overview

A brown field cricket on sandy ground
A field cricket. Crickets chirp faster when the air is warmer. (The well-known temperature rule was worked out for the snowy tree cricket, a different species.) Photo: Holger Krisp, CC BY 3.0, via Wikimedia Commons.

Using a sample data set of cricket chirps and air temperature, the class plots a scatter plot on a four-quadrant cling grid, fits a line by eye, and then computes the least-squares line.

Students compute residuals and plot them on the four-quadrant grid, where positive and negative residuals sit above and below the axis, to judge the fit.

Standards

CodeStandard
CCSS Math HSS-ID.B.6Represent data on two quantitative variables on a scatter plot, and describe how the variables are related. b. Informally assess the fit of a function by plotting and analyzing residuals. c. Fit a linear function for a scatter plot that suggests a linear association. (Parts b and c shown)

HSS-ID.B.6 (parts b and c): students fit a linear function to a scatter plot that suggests a linear association and informally assess the fit by plotting and analyzing residuals. The data set is illustrative sample data made up for teaching, not measured, so no student measurements are collected.

Learning Objectives

Students will:

  • fit a linear function to a scatter plot.
  • compute residuals from a model.
  • use a residual plot to judge whether a linear model fits.

Materials

Geyer resources for this lesson

Also needed

Vocabulary

WordWhat it means
scatter plotA graph of paired data as points.
line of fitA line that models the trend in a scatter plot.
residualActual y minus predicted y.
residual plotA graph of residuals against x.

Safety Notes

  • Use low-odor dry-erase markers, cap them when not writing, and erase with a dry cloth or eraser; do not use solvent sprays near students.

Before You Teach

  • Put the cling grid on the board. The origin is at the center of the 24 x 24 grid, so only 12 squares run up from it. For the scatter plot use the upper-right quadrant with each square 5 chirps across and 5°F up, and break the y-axis: draw a zigzag just above the origin and label the origin 50°F, so 12 squares reach 110°F. (Starting the y-axis at 0 would reach only 60°F, and the data go up to 92°F.)
  • The scatter plot and the residual plot share one cling grid: students copy the scatter plot onto Sheet 1, then wipe the grid and use the whole of it for the residual plot (each square 5 chirps across and 0.5°F up or down).
  • Try it first: Put up the cling chart before class to check it holds on your board and wipes clean with your markers. This setup was designed from the product listing and has not been bench-tested for this lesson, so run it once yourself before class and adjust the numbers to what your equipment does.

Warm-Up (5 min)

  • Ask: "Some people say you can tell the temperature by counting cricket chirps. How could we test that?"

Procedure

Scatter plot (10 min)

  1. Plot the sample data on the cling grid and on Sheet 1.
  2. Describe the association (direction, form, strength).

Fit by eye (10 min)

  1. Students stretch a string or draw a line that fits, and write its equation from two points on it.
  2. Compare with the folk rule T = chirps + 40.

Least squares and residuals (20 min)

  1. Students find the least-squares line with a calculator, compute residuals, and plot them on the four-quadrant grid.

Judge the fit (10 min)

  1. Ask: "Do the residuals look random around 0, or is there a pattern? Which model fits better?"

Differentiation

SupportOn-levelChallenge
• Give predicted values for each x.
• Use fewer data points.
• Provide a residual-plot frame.
• Complete the procedure and student sheets as written.• Compute the sum of squared residuals for both models.
• Add an outlier and see how the line changes.
• Find the correlation coefficient and interpret it.

Assessment

  • Is the line of fit reasonable?
  • Are residuals computed as actual minus predicted?
  • Is the residual plot read correctly?

Exit ticket: Ask: "A residual is −4. What does that mean about the prediction?"

CriterionBeginningDevelopingProficient
FitUnreasonableReasonableLeast squares and interpreted
ResidualsMany errorsFew errorsCorrect
JudgmentMissingPartialSupported with plot

Extensions

  • Collect real chirp data on a warm evening at home.
  • Compare with the published Dolbear formula.

Student Sheets

Use these sheets in class, or download the PDF for a print-ready layout.

Student Sheet 1

Scatter Plot and Line of Fit

Print-ready version in the PDF.

Name: ______________________________   Date: ______________

Sample data: chirps in 15 seconds (x) and temperature in °F (y).

x2025303540455055
y5866697678848992
01020304050600102030405060708090100Chirps in 15 secondsTemperature (°F)

My line of fit (two points and equation):

Student Sheet 2

Residuals

Print-ready version in the PDF.

Name: ______________________________   Date: ______________

xActual yPredicted y (least squares)ResidualResidual for T = x + 40
2058
2566
3069
3576
4078
4584
5089
5592

Residual plot: each square across is 5 chirps; each square up or down is 0.5 °F.

01020304050603210−1−2−3Chirps in 15 seconds (x)Residual (°F)

Does a linear model fit? Explain using the residual plot.

Show answer key (for teachers)

Answer Key & Teacher Notes

Answer key

  • Least-squares line: y = 0.952x + 40.79 (rounded).
  • Residuals (actual − predicted): x = 20: −1.83, x = 25: 1.40, x = 30: −0.36, x = 35: 1.88, x = 40: −0.88, x = 45: 0.36, x = 50: 0.60, x = 55: −1.17. They are small and scattered above and below 0 with no clear pattern, so a linear model fits.
  • Residuals for T = x + 40: −2, 1, −1, 1, −2, −1, −1, −3. 6 of 8 are negative, so the folk rule tends to predict too high for this sample. Sum of squared residuals: least squares about 11.6, folk rule 22, so the least-squares line fits this sample better.
  • Exit ticket: the actual value was 4 units below the prediction (the model overestimated).

Teacher note: Product details in this lesson come from the Geyer product pages. Check the product and any guide that ships with it before class, because packaging and printing can change. This is an original Geyer lesson.

Need a print-ready copy? The PDF includes the lesson, student sheets, and answer key.

Download the PDF  |  All free lesson plans

Free for classroom use. You may print and copy this lesson for your students. © Geyer Instructional Products. Standards text: Common Core State Standards © NGA Center/CCSSO. Photo: Holger Krisp, CC BY 3.0, via Wikimedia Commons.