AP Statistics Least-Squares Regression and Residuals Worksheet Answer Key (PDF)
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.
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
The residuals scatter randomly around zero with no pattern.
Yes, a linear model is appropriate.
10 – Residual plot: curved
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
\(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
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
- 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.
Free printable PDF
AP Statistics Least-Squares Regression and Residuals Worksheet Answer Key
Download PDFMore AP Statistics math
Lessons
See allSampling Methods and Bias in Surveys Lesson: Notes and Examples
z-Scores and the Normal Distribution Lesson: Notes and Examples
Variables and Categorical Data Displays Lesson: Notes and Examples
Binomial and Geometric Distributions Lesson: Notes and Examples
Graphs of Quantitative Data and Shape Lesson: Notes and Examples
Conditional Probability and Independence Lesson: Notes and Examples
Worksheets
See allt Intervals and t Tests for a Mean Worksheets with Answers
Five-Number Summary, Boxplots and Comparing Distributions Worksheets with Answers
Least-Squares Regression and Residuals Worksheets with Answers
Significance Tests for a Proportion Worksheets with Answers
Sampling Methods and Bias in Surveys Worksheets with Answers
Sampling Distributions and the Central Limit Theorem Worksheets with Answers
Tests
See allSampling Distributions and the Central Limit Theorem Test with Answer Key
Sampling Methods and Bias in Surveys Test with Answer Key
Variables and Categorical Data Displays Test with Answer Key
Chi-Square Tests Test with Answer Key
Scatterplots and Correlation Test with Answer Key
Conditional Probability and Independence Test with Answer Key
Quizzes
See allFive-Number Summary, Boxplots and Comparing Distributions Quiz: 10 Questions with Answers
Sampling Methods and Bias in Surveys Quiz: 10 Questions with Answers
Inference for the Slope of a Regression Line Quiz: 10 Questions with Answers
Experimental Design and Random Assignment Quiz: 10 Questions with Answers
Variables and Categorical Data Displays Quiz: 10 Questions with Answers
Two Categorical Variables and Two-Way Tables Quiz: 10 Questions with Answers

























