← Back to the lessonTip: print on A4 and turn off the browser's "Headers and footers".
LemonmathSelf-study sheet
AP Statistics · Lesson 2.2

Two-variable data and linear regression

Name: Date: Time spent: min

Goals

Exercises

Exercise 1

A used-car model is y^=24−1.8x\hat y=24-1.8x, where xx is the age in years and yy the price in thousands of dollars. Interpret the slope and the intercept in context.

Exercise 2

Using the same model, a 33-year-old car sells for 2020 thousand dollars. Find and interpret its residual.

Exercise 3

For a data set, xˉ=20\bar x=20, sx=4s_x=4, yˉ=65\bar y=65, sy=10s_y=10 and r=−0.6r=-0.6. Find the least-squares regression line.

Exercise 4

For the data in the previous exercise, find r2r^2 and interpret it in general terms.

Exercise 5

A scatterplot of the age of trees, in years, and their trunk diameter, in centimetres, shows points close to an increasing straight line with no unusual points, and r=0.92r=0.92. Describe the relationship.

Exercise 6

For a group of adults, height yy in cm and arm span xx in cm are related by y^=10+0.95x\hat y=10+0.95x.

a) Predict the height of a person with arm span 170170 cm.

b) That person is actually 168168 cm tall. Find the residual.

Exercise 7

A model for the height of children aged 22 to 1010 years is y^=80+6x\hat y=80+6x, where xx is age in years and yy height in cm. Use it to predict the height of a 4040-year-old, and comment.

Exercise 8

Data from many towns show a strong positive correlation between monthly ice cream sales and the number of swimming accidents. Does eating ice cream cause swimming accidents? Explain.

Exercise 9 Challenge

For two variables, r=0.8, s_x=2 and s_y=6. If a value of x is one standard deviation above \bar x, by how much is its predicted y above \bar y?

Mini test

15 minutes, without looking back at the lesson. Part I: circle one letter; Part II: write T or F for each statement; Part III: write the answer in the box.

Part I. Multiple choice

Question 1. A least-squares line has slope -2.3. The correlation r is
A. positiveB. equal to -2.3C. negativeD. equal to 0
Question 2. A residual is computed as
A. actual y minus predicted yB. predicted y minus actual yC. x minus \bar xD. y minus \bar y
Question 3. Which value of r shows the strongest linear relationship?
A. 0.75B. 0.10C. -0.5D. -0.92
Question 4. Predicting y for an x-value far outside the data is called
A. interpolationB. extrapolationC. correlationD. a residual

Part II. True or false

Question 1. A least-squares line is \hat y=5+2x and r=0.9. Decide whether each statement is true or false.
a) The line passes through (\bar x,\bar y).T / F
b) The predicted y when x=3 is 11.T / F
c) r^2=0.81.T / F
d) The relationship must be causal. T / F

Part III. Short answer

Question 1. For \hat y=5+2x, find the predicted value when x=7.
Question 2. If r=0.9, find r^2.

Score: ........ / 10

Hints (only when stuck)

Exercise 1.

What you need: the slope is the change in predicted y per unit of x; the intercept is the predicted y at x=0.

Exercise 2.

What you need: residual =y-\hat y.

Exercise 3.

What you need: b=r\,\dfrac{s_y}{s_x} and a=\bar y-b\bar x.

Exercise 4.

What you need: square r.

Exercise 5.

What you need: direction, form, strength, unusual features, in context.

Exercise 6.

What you need: substitute x=170, then compute actual minus predicted.

Exercise 7.

What you need: compare x=40 with the range of the data.

Exercise 8.

What you need: look for a lurking variable.

Exercise 9.

What you need: b=r\,\dfrac{s_y}{s_x} and the line passes through (\bar x,\bar y).

Self-check

#Did it aloneNeeded a hintNot yet
1☐☐☐
2☐☐☐
3☐☐☐
4☐☐☐
5☐☐☐
6☐☐☐
7☐☐☐
8☐☐☐
9☐☐☐

Redo the ones you missed after: ☐ 1 day   ☐ 3 days   ☐ 7 days

Scan for step-by-step solutions