A used car model is worth 20,17,15,11 and 7 thousand dollars at ages 0,1,2,3 and 4 years. Fit a line, find r, and interpret the slope.
1
Find the average age
Unlike the study data, these points fall from left to right. The averages come first, as before.
50+1+2+3+4=2
2
Find the average value
520+17+15+11+7=14
3
Find the slope
The value deviations are 6,3,1,−3and −7. Older cars sit below the average value, so most products are negative and add to −32. The squared age deviations add to 10.
10−32=−3.2
Deviations from (2,14)
x
y
(x−2)(y−14)
(x−2)2
(y−14)2
0
20
−12
4
36
1
17
−3
1
9
2
15
0
0
1
3
11
−3
1
9
4
7
−14
4
49
Sum
−32
10
104
4
Find the intercept
The line passes through (2,14). Subtracting a negative slope term adds to the average.
14−(−3.2)⋅2=20.4
5
Find r
The squared value deviations add to 104. The negative sign matches the downward slope.
√10⋅104−32≈−0.992
6
Interpret
Each extra year lowers the predicted value by about $3,200. With r2≈0.985, age accounts for about 98.5% of the variation in value in these data. Mileage and condition travel with age, so the slope describes all of them together, not age alone.
Result
y^=20.4−3.2x, in thousands of dollars, with r≈−0.992. The value falls about $3,200 a year.
Your turn
1. One like the example
A phone model sells used for $800,$650,$560,$420 and $320 at ages 0,1,2,3 and 4 years. Fit a line, find r and interpret the slope.
Show the answer and explanation
y^=788−119x dollars, with r≈−0.997. The phone loses about $119 of value a year.
The averages are 2 years and $550. The value deviations are 250,100,10,−130and −230, so the products add to −1190 and the squared value deviations to 142,400. Then b=−1190/10=−119,a=550+119⋅2=788 and r=−1190/√10⋅142,400≈−0.997.
A report gives r2=0.81 for the relationship between a car’s age and its value, and says value falls with age. What is r?
Show the answer and explanation
r=−0.9.
r2 hides the sign, so r is √0.81=0.9or −0.9. Value falls as age rises, so the slope is negative, and r always has the slope’s sign.
−√0.81=−0.9
3. Somewhere new
Fit the car data the other way round, predicting age from value. Is the slope 1/(−3.2)?
Show the answer and explanation
No. The slope is −32/104≈−0.308 years per thousand dollars, not 1/(−3.2)≈−0.3125.
Predicting age from value divides the same sum of products, −32, by the squared value deviations, 104. The product of the two slopes is (−3.2)(−0.308)≈0.985, which is r2. The two lines coincide only when r=±1.
104−32≈−0.308−3.2⋅104−32≈0.985
Keep exploring
In Statistics, Regression shows r≈−0.992 and R2≈0.985. Change the 4-year value from 7 to 12 and both weaken, because that point now sits well above the line.