Lesson 7: Pearson's correlation coefficient, r
Calculate and interpret r with technology
SkillsPearson's correlation coefficientDirection, form and strength
Worked example
The owner of a beach kiosk on the Gold Coast recorded the daily maximum temperature and the number of ice-creams sold on 10 days in November.
| Max. temperature (°C) | 22 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 33 | 35 |
|---|---|---|---|---|---|---|---|---|---|---|
| Ice-creams sold | 118 | 135 | 140 | 162 | 158 | 175 | 181 | 176 | 205 | 214 |
(a) Use technology to calculate Pearson's correlation coefficient, correct to three decimal places.
(b) Interpret the value of .
Step 1: Decide which variable is
Temperature may explain ice-cream sales, so enter temperature as and ice-creams sold as .
comes out the same either way, but entering and correctly matters for everything else the calculator gives you, such as the least-squares line in the next topic.
Step 2: Enter the data and calculate
In your calculator's statistics mode, choose linear regression, enter the 10 pairs and read the result:
Step 3: Check the form
Sales rise steadily with temperature, with no sign of a curve, so a measure of linear association is appropriate.
only measures linear association. If the scatterplot curved, would mislead.
Step 4: Interpret
is close to 1, so there is a strong positive linear association between daily maximum temperature and the number of ice-creams sold: on hotter days the kiosk tends to sell more ice-creams.
Answer
(a) . (b) There is a strong positive linear association between daily maximum temperature and the number of ice-creams sold.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Enter the explanatory variable as and the response variable as .
Use linear regression in statistics mode and read , rounded to three decimal places.
Check that the scatterplot is linear.
Interpret with the value, strength, direction, the word linear and the context.
Watch out for
Writing "strong correlation" with no direction, no mention of linear and no context. Each of those is part of the interpretation.