Correlation & Regression (Edexcel International AS Maths: Statistics 1): Revision Note

Exam code: XMA01

Dan Finlay

Written by: Dan Finlay

Reviewed by: Lucy Kirkham

Updated on

PMCC

What is the product moment correlation coefficient?

  • The product moment correlation coefficient (PMCC) is a way of giving a numerical value to linear correlation of bivariate data

  • The PMCC of a sample is denoted by the letter r

    • r can take any value such that −1≤r≤1

      • Can be written as |r|≤1

    • A positive value of r describes positive correlation

    • A negative value of r  describes negative correlation

    • If r = 0 there is no correlation

    • r = 1 means perfect positive correlation and r = -1 means perfect negative correlation

    • The closer to 1 or -1, the stronger the correlation

  • The gradient of the regression line does not change the value of r

2-5-1-pmcc-diagram-1

How is the product moment correlation coefficient (PMCC) calculated?

  • For n pairs of bivariate data (x, y) we define the following statistics

    • Sxx=Σx2−(Σx)2n

    • Syy=Σy2−(Σy)2n

    • Sxy=Σxy−(Σx)(Σy)n 

    • These are given in the formula booklet

  • These are related to variance and can be written in several different ways:

    •  Sxx

      • Σ(x−x¯)2

      • Σx2−nx¯2

      • nσx2

    • Sxy

      • Σ(x−x¯)(y−y¯)

      • Σxy−nx¯ y¯

  • The product moment correlation coefficient (PMCC) is then calculated using the formula

    • r=SxySxxSyy

    • This is given in the formula booklet

Calculating Regression Line

If the PMCC is close to 1 or -1 then this suggests the data follows a linear model. In this case a regression line of the form y = a + bx is appropriate.

How do I calculate the equation of the regression line of y on x?

  • The gradient b of the regression line is calculated using the formula

    • b=SxySxx 

    • This is given in the formulae booklet

  • The y-intercept a of the regression line is calculated using the formula

    • a=y¯−bx¯ 

    • This is given in the formulae booklet

    • This is found using the fact that the point (x¯, y¯) lies on the regression line

  • If you are asked to find the equation of the regression line of x on y

    • x = c + dy 

    • d=SxySyy

    • c=x¯−dy¯

    • These are not given in the formulae booklet

Worked Example

Ashika is a football coach to 20 children. She records how long it takes each of them to run a lap of the football pitch, p seconds, and the distance that they can kick the football, d metres. 

Ashika calculates the following summary statistics:

 Spp=687.2        p¯ =62.8       Σd=1566       Σd2=124240       Σpd=99127.   

(a) Calculate Spd.

 

(b) Calculate the product moment correlation coefficient between p and d.

 

(c) Calculate the equation of the regression line of d on p giving your answer in the form d=a+bp  

Answer:              

1-3-2-correlation-regression-we-solution-part-1
1-3-2-correlation-regression-we-solution-part-2
1-3-2-correlation-regression-we-solution-part-3

Examiner Tips and Tricks

  • Questions typically use different variables instead of x and y. It might help to label the independent variable as x and the dependent variable as y, this will help you when calculating the equation of the regression line.

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Dan Finlay

Author: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Lucy Kirkham

Reviewer: Lucy Kirkham

Expertise: Content Creator

Lucy has been a passionate Maths teacher for over 12 years, teaching maths across the UK and abroad helping to engage, interest and develop confidence in the subject at all levels.Working as a Head of Department and then Director of Maths, Lucy has advised schools and academy trusts in both Scotland and the East Midlands, where her role was to support and coach teachers to improve Maths teaching for all.