Product moment correlation coefficient
Studying this course? Keep your progress in one place.
Key facts
- The PMCC measures the strength and direction of linear correlation, with .
- , with the same sign as .
- Interpret with strength, direction and the variables in context; it is not a percentage.
- Correlation is not causation; only detects linear relationships and is affected by outliers.
- and the regression gradient always have the same sign.
What the PMCC measures
The PMCC measures the strength and direction of linear correlation, always between and .
The product moment correlation coefficient (PMCC), , measures the strength and direction of linear correlation between two variables. It always satisfies .
- : perfect positive linear correlation.
- : 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.
Which of these cannot be a value of ?
Calculating r
Use the sums of squares and take one square root of the whole product in the denominator.
Use the sums of squares , and .
The sign of is the sign of .
A calculator in statistics mode can also give directly from the data.
- 1
Find the sums
n, Σx, Σy, Σx², Σy² and Σxy
- 2
Work out Sxx, Syy and Sxy
using the sum-of-squares formulas
- 3
Substitute into r
r = Sxy / √(Sxx × Syy)
- 4
Check the sign
r has the same sign as Sxy, and lies between −1 and 1
- PMCC
Worked example
, , . Find .
- 1
Multiply inside the root: .
- 2
.
- 3
Divide: .
, , . What is ?
Interpreting r in context
Describe the strength, the direction and the variables in context. is not a percentage.
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. It is unchanged by a linear change of units or coding of either variable, such as pounds to euros.
Name both variables and use the word 'tend'.
close to
- Strong positive linear correlation
near
- Weak or no linear correlation
close to
- Strong negative linear correlation
Which comment best interprets for hours revised and test score?
Limitations of the PMCC
A strong shows association, not causation; detects only linear relationships and is affected by outliers and small samples.
- Correlation is not causation. A strong shows an association only. Another variable may affect both: 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 well below 1 or close to 0 even though there is a strong relationship.
- Outliers. One unusual point can change dramatically.
- Sample size. With very few points, a high can occur by chance.
Significance tests for are not required.
Ice cream sales and sunburn cases have . What can you conclude?
Using r with regression
The PMCC shows whether a linear model is sensible; and the regression gradient always have the same sign.
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.
If a question gives near 0 and a curved pattern, mention that the PMCC cannot detect non-linear relationships.
- Regression gradient
- Sign of same as the sign of
. What is the sign of the regression gradient ?
Try an exam question
The temperature, °C, and the number of hot drinks sold, , are recorded on several days. The results give , and . (a) Calculate the product moment correlation coefficient. (b) Interpret your value in context.
[4 marks]
- [1].
- [1].
- [1]There is strong negative linear correlation between temperature and the number of hot drinks sold.
- [1]As the temperature rises, the number of hot drinks sold tends to fall.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the value of the product moment correlation coefficient, .
1 mark, marked against the mark scheme
Find the value of the product moment correlation coefficient, .
1 mark, marked against the mark scheme