AP Statistics Least-Squares Regression and Residuals Worksheets with Answers (Free PDF)

Linear regression worksheet – Maths PDFCover of the book AP Statistics Math Worksheets with Answers (PDF)Download as a PDFThe AP Statistics worksheets book with answersPrintable PDFSee the book ›


This linear regression worksheet for AP Statistics covers least-squares regression and residuals (Common Core AP STAT 2.6, AP STAT 2.7, AP STAT 2.8, AP STAT 2.9, HSS-ID.B.6, HSS-ID.C.7), with a free PDF to print.

Key takeaway: This worksheet on regression and residuals helps AP Statistics students practice predicting, interpreting, and checking a least-squares line.

  • Topic: Least-Squares Regression and Residuals (AP Statistics)
  • Content: 20 worksheet problems, from easy to challenging
  • Standards: AP STAT 2.6, AP STAT 2.7, AP STAT 2.8, AP STAT 2.9, HSS-ID.B.6, HSS-ID.C.7
  • Answers: On a separate page, so you can try every worksheet problem first
  • Format: Free printable PDF, US Letter, black and white

This worksheet on regression and residuals helps AP Statistics students practice predicting, interpreting, and checking a least-squares line. First, the problems predict and interpret the slope and intercept. Then they compute residuals and r squared and finish with residual plots and output.

The worksheet has 20 worksheet problems. Problems 1 to 3 predict and interpret. Also, problems 4 to 6 compute residuals, a slope, and a point of means. Problems 7 and 8 use r squared. Also, problems 9 to 11 use residual plots and extrapolation. Problems 12 to 15 build a line, find residual sums, and read output. Also, the last five cover influence, comparison, least squares, and description. Allow 55 minutes.

These 20 problems practice AP Statistics topics 2.6 to 2.9. You will predict with a regression equation, interpret slope, intercept, and r squared, compute residuals, read residual plots, and judge influential points and extrapolation.

Key takeaway: This AP Statistics worksheet on Least-Squares Regression and Residuals gives 20 problems, from warm-up questions to harder applications: linear regression worksheet: frequently asked questions. The answer key is on a separate page; free printable PDF.

AP Statistics · Common Core State Standards: AP STAT 2.6, AP STAT 2.7, AP STAT 2.8, AP STAT 2.9, HSS-ID.B.6, HSS-ID.C.7

Linear regression worksheet: worksheet problems 1 to 10

1 – Predict

First, a regression of a house’s price (in $1,000s) on its size (in square feet) is \(\hat{y}=40+0.12x\). Predict the price of a 1,800-square-foot house.

2 – Interpret the slope

Next, for the equation \(\hat{y}=40+0.12x\) (price in $1,000s, size in square feet), interpret the slope.

3 – Interpret the intercept

Then, the equation \(\hat{y}=3.5+2.1x\) predicts minutes of homework (y) from the number of classes (x). Interpret the intercept and say whether it is meaningful.

4 – Compute a residual

Now, a model \(\hat{y}=12+3x\) predicts the number of points. Sofia studied x = 5 hours and scored y = 30. Find her residual and interpret it.

5 – Find the slope and intercept

Heights (x) have mean 66 in and sd 3 in; weights (y) have mean 150 lb and sd 20 lb. The correlation is r = 0.60. Find the least-squares line.

6 – Point of means

First, for the line \(\hat{y}=-114+4x\) with x-bar = 66, verify that the line passes through the point of means.

7 – Interpret r squared

Next, a regression of battery life on screen brightness has r squared = 0.64. Interpret it.

8 – Get r from r squared

Then, a regression of fuel used on distance has r squared = 0.81 and a positive slope. Find r.

Worksheet problem 9 and after

9 – Residual plot: good fit

0123456789Age of car (years)-2-1012Residual
A residual plot with no pattern: a linear model is appropriate.

Now, the residual plot for the car data is shown. Is a linear model appropriate?

10 – Residual plot: curved

012345678910x-2-1012Residual
A curved residual pattern signals that a straight line is not the right model.

Also, this residual plot comes from a different data set. Is a linear model appropriate? What might help?

Worksheet problems 11 and up

11 – Extrapolation

0123456789Age of car (years)051015202530Price ($1,000s)
Least-squares line for car price (in $1,000s) against age: price-hat = 26.56 – 2.25 (age). Dashed segments are residuals.

Using the car data (ages 1 to 8 years), the line predicts price = 26.56 – 2.25(age). Predict the price at age 15. Is this prediction trustworthy?

12 – LSRL for five points

Next, for the data (1, 2), (2, 4), (3, 5), (4, 4), (5, 5), the means are 3 and 4, sx = 1.581, sy = 1.095, r = 0.775. Find the regression line.

13 – Residuals add to zero

0123456x012345678y
Least-squares line through five points.

Then, for \(\hat{y}=2.2+0.6x\) and the five points above, compute all five residuals and their sum.

14 – Standard deviation of residuals

0123456x012345678y
Least-squares line through five points.

Using the residuals -0.8, 0.6, 1.0, -0.6, -0.2, find s and interpret it.

15 – Read computer output

PredictorCoefConstant25.6Hours-3.2R-Sq78%
Output for sleep data.

Also, a computer gives this output for predicting a student’s test score from hours of screen time. Write the regression equation, interpret the slope, and give r.

Worksheet problem 16 and after

16 – Influential point

First, a regression of 12 points has slope 2.1. Removing one point far to the right of the other points changes the slope to 0.9. What kind of point is it?

17 – Compare two predictions

Next, the line \(\hat{y}=18+2.5x\) predicts commute cost (y) from distance (x). A 10-mile commute costs $39 and a 12-mile commute costs $52. Find both residuals. Which is the better prediction?

18 – Why least squares?

Then, explain what ‘least squares’ means for the regression line.

19 – Describe a fit

Now, for a regression of mileage on speed, r squared = 0.92, s = 1.4 mpg, and the residual plot shows no pattern. Write a conclusion about the model.

20 – Two predictions

Also, the LSRL for a bakery is \(\hat{y}=15+0.8x\), where x is the number of cupcakes ordered and y is the preparation time in minutes. Predict the time for 40 cupcakes. If the actual time was 52 minutes, find the residual.

See the solutions: Least-Squares Regression and Residuals worksheet solutions

Key facts behind this linear regression worksheet

Key facts
  • LSRL: y-hat = a + bx, with b = r sy/sx and a = y-bar – b x-bar; it passes through (x-bar, y-bar).
  • Interpret the slope as the predicted change in y per unit of x, in context.
  • Residual = actual – predicted; a good linear model has a residual plot with no pattern.
  • r squared is the percent of variation in y explained by the linear model; s is the typical prediction error.
  • Avoid extrapolation and check for influential points.

Common mistakes with this linear regression worksheet

  • Interpreting r squared as the percent of points on the line. Also, it is the percent of the variation in y that the linear model explains.
  • Predicting far outside the data range as if the line still held. Extrapolation is risky, and the answer should say so.
  • Taking r equal to r squared. Next, take the square root, and use the sign of the slope for the sign of r.

Tips before you start the worksheet problems

  • For each interpretation, use the template: for each additional unit of x, the model predicts y to change by the slope, on average.
  • To check a residual plot, look for a pattern. Also, a good plot is a random scatter around zero with no curve and no funnel.
  • Parents can help by asking what the slope means in plain words for the situation. This habit takes about a minute and saves points later.

Download the linear regression worksheet as a PDF with the button below and keep it with your notes.

Linear regression worksheet: frequently asked questions

How do you tell an influential point from an outlier?

An influential point changes the slope or the intercept noticeably when it is removed. Points far to the left or right of the other x-values are the most likely to be influential. Also, an outlier in y alone may not be.

Why is the sum of the residuals zero?

The least-squares line balances the points above and below it, so the positive and negative residuals cancel. Also, that is a property of the method and not a sign of a good fit.

How do you compare two predictions from a line?

Substitute each x into the equation and compare the predicted values. Next, state which is larger and by how much. Mention if one prediction is an extrapolation and so less trustworthy. If an answer does not look reasonable, go back and check each step.

All AP Statistics chapters: AP Statistics math.

Voter.. post

Free printable PDF

AP Statistics Least-Squares Regression and Residuals Worksheets with Answers

US Letter68 KBPrints in black and white

Download PDF

More AP Statistics math

Lessons

See all

Worksheets

See all

Tests

See all

Quizzes

See all