The Product Moment Correlation Coefficient From Summary Statistics | Edexcel IAL Maths notes

Free preview: The Product Moment Correlation Coefficient From Summary Statistics

What r Measures

Unit S1 (WST01): Statistics 1

Do taller people have bigger feet? Do students who revise longer score higher? A scatter diagram gives a feel, but "looks fairly linear" isn't a number you can test. We want one number for how close the points are to a straight line.

Let's start with the number from the last note: the product moment correlation coefficient (PMCC), r, measures how close points on a scatter diagram are to a straight line. A calculator gives it from raw data, but S1 questions often give only the sums. So now we see where it comes from and calculate it from sums.

  • r always lies between −1 and 1.
  • r = 1: all points on a line sloping up. r = −1: all on a line sloping down.
  • r near 0: no linear relationship (there may still be a curved one).

The key idea: which quadrant is each point in?

Scatter diagram of eight points rising from bottom left to top right, with a vertical dashed line at the mean of x, 7.5, and a horizontal dashed line at the mean of y, 26.25, dividing the plot into four quadrants marked plus, minus, plus, minus; all points lie in the two plus quadrants

Following the diagram

  • The dashed lines cross at the mean point (x¯,y¯)=(7.5,26.25).
  • For each point, (x−x¯)(y−y¯) is positive in the top-right and bottom-left quadrants (both factors the same sign).
  • It is negative in the other two quadrants.
  • Here every point is in a + quadrant, so the sum Sxy=∑(x−x¯)(y−y¯) is large and positive: strong positive correlation.
  • With no pattern, the + and − terms would roughly cancel and Sxy would be near 0.

✏️ YOUR TURN 1

Try this first:

The mean point of a data set is (10, 50). Is (x−x¯)(y−y¯) positive or negative for (a) (12, 41), (b) (7, 44), (c) (15, 58)? What kind of correlation do points like (b) and (c) suggest?

Answer:

  1. (2)(−9)=−18: negative.
  2. (−3)(−6)=18: positive.
  3. (5)(8)=40: positive. Points like (b) and (c) push Sxy up: positive correlation.

Calculating r From Summary Statistics

r=SxySxxSyy

Sxx=∑x2−(∑x)2n,Syy=∑y2−(∑y)2n,Sxy=∑xy−∑x∑yn

  • Why divide by SxxSyy? It takes away the units and the scale, so r is always between −1 and 1.
  • These short forms come from expanding ∑(x−x¯)2 and so on, just as for the variance.

Where the short form for S_xy comes from

  1. Expand: ∑(x−x¯)(y−y¯)=∑xy−y¯∑x−x¯∑y+nx¯y¯.
  2. Use ∑x=nx¯ and ∑y=ny¯: the last three terms are −nx¯y¯−nx¯y¯+nx¯y¯=−nx¯y¯.
  3. And nx¯y¯=∑x∑yn. So Sxy=∑xy−∑x∑yn.

Method: r from data or sums

  1. Find the five sums ∑x,∑y,∑x2,∑y2,∑xy (if not given).
  2. Work out Sxx,Syy,Sxy on separate lines.
  3. Check Sxx and Syy are positive.
  4. Divide: r=SxySxxSyy, and interpret the sign and size.

👀 Watch me do it: eight points: x = 2, 4, 5, 7, 8, 10, 11, 13 and y = 15, 19, 22, 24, 29, 30, 35, 36

What I writeWhy I do it
Sums: ∑x=60,∑y=210,∑x2=548,∑y2=5908,∑xy=1769Step 1: calculator statistics mode.
Sxx=548−6028=548−450=98Step 2.
Syy=5908−21028=5908−5512.5=395.5Both positive (step 3).
Sxy=1769−60×2108=1769−1575=194Positive, as the picture suggested.
r=19498×395.5=0.985 (3 s.f.)Step 4: very strong positive correlation.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in S1.3 Correlation and Regression

  1. Scatter Diagrams, Correlation and Regression Lines
  2. The Product Moment Correlation Coefficient From Summary Statistics
  3. Least Squares Regression Lines From Summary Statistics

What's inside for this topic

3 teacher notes, 168 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Scatter Diagrams, Correlation and Regression Lines Next note: Least Squares Regression Lines From Summary Statistics

All Edexcel IAL Maths topics · A Level Maths