AP Statistics Least-Squares Regression and Residuals Worksheet Answer Key (PDF)

Linear regression worksheet answers – 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 answers 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 answer key helps AP Statistics students check the regression worksheet and write better interpretations.

  • Topic: Least-Squares Regression and Residuals (AP Statistics)
  • Content: Step-by-step answers to 20 worksheet problems
  • 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: Every step shown, with the method to review
  • Format: Free printable PDF, US Letter, black and white

This answer key helps AP Statistics students check the regression worksheet and write better interpretations. All 20 problems are solved in full. First, each solution shows the substitution or the formula. Then it gives the answer with an interpretation in context.

Residual problems show actual minus predicted, r squared problems show the percent of variation explained, and output problems point to the coefficient column. Try each problem first, then compare your interpretations with the key before you compare the numbers. Work through it in order and write every step you take.

Each solution shows the substitution into the regression equation, the residual calculation, and the interpretation in context. Equations are rounded to the precision shown in the problem.

Key takeaway: This answer key for the AP Statistics worksheet on Least-Squares Regression and Residuals shows every step and the rule used. Check your work after trying the problems alone; free 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 answers: worksheet problems 1 to 10

1 – Predict

\(\hat{y}=40+0.12(1800)=40+216=256\).

About $256,000.

2 – Interpret the slope

The slope 0.12 is in thousands of dollars per square foot.

For each additional square foot, the predicted price increases by about $120.

3 – Interpret the intercept

When x = 0 classes, \(\hat{y}=3.5\).

A student with no classes is predicted to do 3.5 minutes of homework. It is not meaningful because x = 0 is outside the sensible range.

4 – Compute a residual

\(\hat{y}=12+3(5)=27\). \(e=30-27=3\).

Residual +3: Sofia’s score was 3 points higher than predicted.

5 – Find the slope and intercept

\(b=r\frac{s_y}{s_x}=0.60\times\frac{20}{3}=4\). \(a=150-4(66)=-114\).

\(\hat{y}=-114+4x\).

6 – Point of means

\(\hat{y}=-114+4(66)=-114+264=150\), which equals the mean of y.

Yes: the line goes through (66, 150).

7 – Interpret r squared

r squared is the proportion of variation explained.

About 64% of the variation in battery life is explained by the linear relationship with screen brightness.

8 – Get r from r squared

\(r=\pm\sqrt{0.81}=\pm 0.9\). The slope is positive, so r is positive.

r = 0.9.

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.

The residuals scatter randomly around zero with no pattern.

Yes, a linear model is appropriate.

10 – Residual plot: curved

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

The residuals form a U shape.

No; the relationship is curved. Try a transformation of the data or a curved model.

Worksheet problems 11 and up

11 – Extrapolation

\(\hat{y}=26.56-2.25(15)=-7.22\) thousand dollars.

-7.22 thousand dollars is below zero, which is impossible. Age 15 is outside the data range (extrapolation), so the prediction is unreliable.

12 – LSRL for five points

0123456x012345678y
Least-squares line through five points.

\(b=0.775\times\frac{1.095}{1.581}\approx 0.6\). \(a=4-0.6(3)=2.2\).

\(\hat{y}=2.2+0.6x\).

13 – Residuals add to zero

Predicted: 2.8, 3.4, 4.0, 4.6, 5.2. Residuals: -0.8, 0.6, 1.0, -0.6, -0.2.

Sum: \(-0.8+0.6+1.0-0.6-0.2=0\).

Residuals: -0.8, 0.6, 1.0, -0.6, -0.2; their sum is 0.

14 – Standard deviation of residuals

Squares: 0.64, 0.36, 1.00, 0.36, 0.04, sum 2.4.

\(s=\sqrt{\frac{2.4}{5-2}}=\sqrt{0.8}\approx 0.894\).

s = 0.894: actual y values typically differ from the predicted values by about 0.894 units.

15 – Read computer output

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

Equation: \(\hat{y}=25.6-3.2x\).

r squared = 0.78, slope negative, so \(r=-\sqrt{0.78}\approx -0.883\).

For each extra hour of screen time, the predicted score drops by 3.2; r = -0.883.

Worksheet problem 16 and after

16 – Influential point

Its removal substantially changes the slope.

It is an influential point, probably with an extreme x value.

17 – Compare two predictions

10 miles: \(\hat{y}=43\), \(e=39-43=-4\). 12 miles: \(\hat{y}=48\), \(e=52-48=4\).

Both residuals have size 4 (one low, one high), so the predictions are equally accurate; the 10-mile cost is overpredicted and the 12-mile cost underpredicted.

18 – Why least squares?

For any candidate line, square each vertical distance from a point to the line and add them.

The least-squares line is the one that makes this sum of squared residuals as small as possible.

19 – Describe a fit

High r squared, small s, and a patternless residual plot all support a linear model.

Linear regression fits well: 92% of the variation in mileage is explained by speed, and predictions typically miss by about 1.4 mpg.

20 – Two predictions

\(\hat{y}=15+0.8(40)=47\). \(e=52-47=5\).

47 minutes predicted; residual +5 (the order took 5 minutes longer than predicted).

Key facts behind this linear regression worksheet answers

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 answers

  • Comparing only the numbers. Also, the key’s interpretations name the variables and use the word predicted. Watch for this slip every time you check your work.
  • Reading the wrong row of the output. Also, the key names the row for each coefficient. Writing the correct step next to the error helps you remember it.
  • Forgetting units. Also, the key gives units in every interpretation. Watch for this slip every time you check your work.

How to use these solutions

  • When your residual differs, check the order. Also, the key subtracts predicted from actual. Short, regular practice works better than one long session.
  • Redo two interpretations after reading the key, using the template for slope and intercept. This habit takes about a minute and saves points later.
  • Teachers can use the key’s sentences as AP-style models. A parent or teacher can check this step in seconds.

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

Linear regression worksheet answers: frequently asked questions

What is the residual when a student studied 5 hours and the model predicts 27 points?

The residual is actual minus predicted. If the student scored 30 points, the residual is 3, which means the model underestimated the score by 3 points. Write the steps in order, then check the result against the original question.

How is r found from r squared of 0.81 with a positive slope?

Take the square root of 0.81 to get 0.9, and use the sign of the slope. Since the slope is positive, r is +0.9. Try the same idea with a new number to confirm that the method holds.

What does a curved residual plot suggest?

A curved pattern shows that a straight line misses a systematic pattern in the data. Also, a curved model, or a transformation of one variable, may fit better. Write the steps in order, then check the result against the original question.

All AP Statistics chapters: AP Statistics math.

Voter.. post

Free printable PDF

AP Statistics Least-Squares Regression and Residuals Worksheet Answer Key

US Letter79 KBPrints in black and white

Download PDF

More AP Statistics math

Lessons

See all

Worksheets

See all

Tests

See all

Quizzes

See all