Practice free
Unit 9 · Probability and statistics

Analyze a regression line of a data set

Grade 12 (Precalculus) · GG. Bivariate statistics · 30 practice questions

How this works

Multiply r by itself; a square is never negative.

A data set relating price to sales has a correlation coefficient of −0.5. What is the value of r squared for its regression line?

r
−0.5
Square it
−0.5 × (−0.5) = 0.25
Meaning: share of variation explained
0.25 = 25%

Answer: 0.25

Watch out: Keeping the minus: −0.25. A negative times a negative is positive, so r squared is 0.25.

Try it

1. A data set relating the number of workers on a shift to the boxes packed has a correlation coefficient of -0.7. What is the value of r squared for its regression line?

2. The regression line for a data set is y = 2.5x + 5, where x is the age of a tree in years and y is its height in feet. At x = 5 the actual value of y is 25.5. Does the line overestimate or underestimate y at that point?

3. The regression line for a data set is y = 3x + 4, where x is the age of a tree in years and y is its height in feet. One point of the data set has x = 8 and an actual y of 34. What is the residual at that point?

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

Squaring the correlation coefficient turns a signed measure of direction into a plain measure of fit, which is why the answer is never negative however the two quantities move. Take the coefficient against itself: -0.7 × -0.7 = 0.49, and that is how much of the movement in y the line manages to account for.

More in GG. Bivariate statistics