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 means

0+1+2+3+45=220+17+15+11+75=14

Find the slope and intercept

The products of deviations add to −32 and the squared x-deviations to 10.

−3210=−3.214−(−3.2)⋅2=20.4

Find r

The squared y-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 r² ≈ 0.985, age accounts for about 98.5% of the variation in value in these data; mileage and condition, which travel with age, are part of that story.

Result

ŷ = 20.4 − 3.2x (thousands of dollars); r ≈ −0.992: value falls about $3,200 a year.

Your turn

If r = −0.99 for a data set, what is r², and what does it say?

Show the answer and explanation

r² = 0.9801: the line explains about 98% of the variation in y.

Square r; the sign disappears, because r² measures only how much variation the line explains.

(−0.99)2=0.9801

Keep exploring

In Statistics, Regression shows r ≈ −0.992 and R² ≈ 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.

Make it concrete

Try in the workspace

Open the example inputs, change a value and keep a useful result on your board.

Fit the line in Statistics Open worked example on a board Statistics formulas in Math Reference

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