Product moment correlation coefficientEdexcel International A Level Maths: Revision notes
Section 1
What the PMCC measures
The product moment correlation coefficient (PMCC), , measures the strength and direction of linear correlation between two variables. It always satisfies .
- : perfect positive linear correlation (all points on a line with positive gradient).
- : perfect negative linear correlation.
- (or close): no linear correlation. Values close to show strong correlation; values near 0 show weak correlation. A value outside to must be a calculation error.
Giving an value greater than 1 or less than . Recheck the arithmetic.
Section 2
Calculating r
Using the sums of squares , and : The sign of is the sign of . Example: , , gives . If , , then . A calculator in statistics mode can also give directly from the data.
Take one square root of the whole product in the denominator.
Dividing by (that is the regression gradient, not ).
Section 3
Interpreting r in context
Describe three things: strength, direction and the variables in context. Example: for age and value of cars: 'There is strong negative linear correlation between age and value; older cars tend to have lower values.' is not a percentage, and it does not say how many items follow the pattern. It is also unchanged by a linear change of units or coding of either variable, such as converting pounds to euros or years to months.
Always name both variables in context and use the word 'tend': older cars tend to have lower values.
Section 4
Limitations of the PMCC
- Correlation is not causation. A strong shows an association only. Another variable may affect both. For example, hot weather raises both ice cream sales and sunburn cases.
- Only linear correlation. Data on a curve, such as or a U-shape, can give close to 0 or with even though there is a strong relationship.
- Outliers. One unusual point can change dramatically. Check the data for outliers.
- Sample size. With very few points, a high can occur by chance. Significance tests for are not required.
Saying 'x causes y' because r is close to 1.
Section 5
Using r with regression
The PMCC tells you whether a linear model is sensible. If is close to 1, a regression line gives reasonable predictions inside the range of the data. If is near 0, the regression line is of little use for prediction, but a non-linear relationship may still exist. and the regression gradient always have the same sign, because is positive.
If a question gives near 0 and a curved pattern, mention that PMCC cannot detect non-linear relationships.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Product moment correlation coefficient
- A dealer records the age, years, and the value, thousand pounds, of 10 used cars of the same model. The summary statistics are , and .The dealer converts the ages into months and the values into pounds. State the new value of and justify your answer.2 marks
- A seaside town records, for each of 12 months, the ice cream sales, hundred cones, and the number of sunburn cases, , treated at the local clinic. The product moment correlation coefficient for these data is .Suggest a reason why the two variables are strongly correlated, even though neither is likely to cause the other.2 marks
- A teacher records the number of practice tests, , completed by five students and their scores, , out of 5 in a final quiz. The values of are 1, 2, 3, 4, 5 and the scores are 2, 4, 5, 4, 5. For these data , , , and .Find , and .3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).