Chalk−1

Math · Introductory statistics · Worked example

Interpret a negative correlation

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.

Find the average age

Unlike the study data, these points fall from left to right. The averages come first, as before.

0+1+2+3+45=2

Find the average value

20+17+15+11+75=14

Find the slope

The value deviations are 6, 3, 1, −3 and −7. Older cars sit below the average value, so most products are negative and add to −32. The squared age deviations add to 10.

−3210=−3.2
Deviations from (2,14)
xy(x−2)⁢(y−14)(x−2)2(y−14)2
020−12436
117−319
215001
311−319
47−14449
Sum−3210104

Find the intercept

The line passes through (2,14). Subtracting a negative slope term adds to the average.

14−(−3.2)⋅2=20.4

Find r

The squared value deviations add to 104. The negative sign matches the downward slope.

−3210⋅104≈−0.992

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.2⁢x, 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−119⁢x 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, −130 and −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.

(0,800),(1,650),(2,560),(3,420),(4,320)800+650+560+420+3205=550−119010=−119550−(−119)⋅2=788−119010⋅142400≈−0.997
(0,800),(1,650),(2,560),(3,420),(4,320)800+650+560+420+3205=550−119010=−119550−(−119)⋅2=788−119010⋅142400≈−0.997

2. A variation

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.9 or −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.

−32104≈−0.308−3.2⋅−32104≈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.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Fit the line in Statistics Check the line in Math Study the 8 key terms Open worked example on a board Statistics formulas in Math Reference

Your existing work stays on this device. Examples open as editable copies.