Lesson 8: The coefficient of determination, R2R^2

Choose the better explanatory variable

SkillsCoefficient of determinationPearson's correlation coefficient

Worked example

  • Complex unfamiliar
  • Technology active

A property manager in Townsville wants to understand weekly rents. For eight houses she recorded the number of bedrooms, the distance to the beach and the weekly rent.

HouseABCDEFGH
Bedrooms22333445
Distance to beach (km)7.53.28.42.65.11.84.40.9
Weekly rent ($)420470480530560610590680

Which variable — number of bedrooms or distance to the beach — explains more of the variation in weekly rent? Justify your answer.

1 of 5 steps
  1. Step 1: Set up the two analyses

    Weekly rent is the response variable in both. Compare each explanatory variable, bedrooms and distance to the beach, against rent.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Calculate rr for each explanatory variable against the same response variable.

  2. Square each to get R2R^2, and compare the percentages of variation explained.

  3. Compare sizes, not signs.

  4. Comment on the size and source of the sample.

Watch out for

  • Choosing distance because −0.737-0.737 is "smaller" than 0.9520.952, or rejecting it because it is negative. Compare the sizes of rr, or compare R2R^2.

Save your progress with a free account