All revision notes topics

Product moment correlation coefficientEdexcel International A Level Maths: Revision notes

Section 1

What the PMCC measures

The product moment correlation coefficient (PMCC), rr, measures the strength and direction of linear correlation between two variables. It always satisfies −1≤r≤1-1\le r\le1.

  • r=1r=1: perfect positive linear correlation (all points on a line with positive gradient).
  • r=−1r=-1: perfect negative linear correlation.
  • r=0r=0 (or close): no linear correlation. Values close to ±1\pm1 show strong correlation; values near 0 show weak correlation. A value outside −1-1 to 11 must be a calculation error.
Key termsproduct moment correlation coefficientlinear correlationpositive correlationnegative correlation
Common mistake

Giving an rr value greater than 1 or less than −1-1. Recheck the arithmetic.

Section 2

Calculating r

Using the sums of squares Sxx=∑x2−(∑x)2nS_{xx}=\sum x^2-\frac{(\sum x)^2}{n}, Syy=∑y2−(∑y)2nS_{yy}=\sum y^2-\frac{(\sum y)^2}{n} and Sxy=∑xy−∑x∑ynS_{xy}=\sum xy-\frac{\sum x\sum y}{n}: r=SxySxxSyy.r=\frac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}. The sign of rr is the sign of SxyS_{xy}. Example: Sxx=10S_{xx}=10, Syy=6S_{yy}=6, Sxy=6S_{xy}=6 gives r=660=0.775r=\frac{6}{\sqrt{60}}=0.775. If Sxx=40S_{xx}=40, Syy=90S_{yy}=90, Sxy=−48S_{xy}=-48 then r=−483600=−0.8r=\frac{-48}{\sqrt{3600}}=-0.8. A calculator in statistics mode can also give rr directly from the data.

Key terms$S_{xx}$, $S_{yy}$, $S_{xy}$
Exam tip

Take one square root of the whole product SxxSyyS_{xx}S_{yy} in the denominator.

Common mistake

Dividing SxyS_{xy} by SxxS_{xx} (that is the regression gradient, not rr).

Section 3

Interpreting r in context

Describe three things: strength, direction and the variables in context. Example: r=−0.8r=-0.8 for age and value of cars: 'There is strong negative linear correlation between age and value; older cars tend to have lower values.' rr 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.

Key termsstrong correlationweak correlation
Exam tip

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 rr 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 y=1000xy=\frac{1000}{x} or a U-shape, can give rr close to 0 or with ∣r∣<1|r|<1 even though there is a strong relationship.
  • Outliers. One unusual point can change rr dramatically. Check the data for outliers.
  • Sample size. With very few points, a high rr can occur by chance. Significance tests for rr are not required.
Key termscausationoutlierthird variable
Common mistake

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 ∣r∣|r| is close to 1, a regression line gives reasonable predictions inside the range of the data. If rr is near 0, the regression line is of little use for prediction, but a non-linear relationship may still exist. rr and the regression gradient b=SxySxxb=\frac{S_{xy}}{S_{xx}} always have the same sign, because SxxS_{xx} is positive.

Key termslinear model
Exam tip

If a question gives rr 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

  1. A dealer records the age, xx years, and the value, yy thousand pounds, of 10 used cars of the same model. The summary statistics are Sxx=40S_{xx}=40, Syy=90S_{yy}=90 and Sxy=−48S_{xy}=-48.
    The dealer converts the ages into months and the values into pounds. State the new value of rr and justify your answer.2 marks
  2. A seaside town records, for each of 12 months, the ice cream sales, xx hundred cones, and the number of sunburn cases, yy, treated at the local clinic. The product moment correlation coefficient for these data is r=0.91r=0.91.
    Suggest a reason why the two variables are strongly correlated, even though neither is likely to cause the other.2 marks
  3. A teacher records the number of practice tests, xx, completed by five students and their scores, yy, out of 5 in a final quiz. The values of xx are 1, 2, 3, 4, 5 and the scores are 2, 4, 5, 4, 5. For these data ∑x=15\sum x=15, ∑y=20\sum y=20, ∑x2=55\sum x^2=55, ∑y2=86\sum y^2=86 and ∑xy=66\sum xy=66.
    Find SxxS_{xx}, SyyS_{yy} and SxyS_{xy}.3 marks
See the full worksheet

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).