Testing for Correlation with the Product Moment Correlation Coefficient | OCR B (MEI) A Level Maths notes
Free preview: Testing for Correlation with the Product Moment Correlation Coefficient
The Product Moment Correlation Coefficient
Year 2 (A level only)
Watch: 1-minute explainer
Let's start with what you know. In Year 1 you described correlation on a scatter diagram in words: positive, negative or none. But words are vague. Is the link between revision and test scores "fairly strong" or "quite strong"? Two people could look at the same diagram and disagree.
- The product moment correlation coefficient (PMCC), written , puts a number on it.
- It measures how close the points lie to a straight line.
๐ก In plain words
- : all points lie exactly on a straight line with positive gradient (perfect positive linear correlation).
- : all points lie exactly on a straight line with negative gradient.
- close to 0: no linear relationship (there might still be a curved one).
- The closer is to 1, the stronger the linear correlation. The sign only gives the direction.

Following the graph
- With the points hug a rising straight line: strong positive correlation.
- With the points still rise, but are much more scattered: moderate positive correlation.
- With there is no linear pattern at all.
- With the points fall fairly closely along a line: strong negative correlation.
A warning: r only sees straight lines

What the picture shows
- Both panels show the same 9 points. Their PMCC is exactly .
- Wrong: "r = 0, so there is no relationship". The best straight line is flat, but the points are clearly not random.
- Right: every point lies on the curve . r only measures how close the points are to a straight line.
- So always look at the scatter diagram, not just the value of r.
๐ก You don't calculate r by hand
At A Level Mathematics, r is given in the question or found from a calculator's statistics mode. You are expected to interpret it and to test it, not to work it out from the formula.
โ๏ธ YOUR TURN 1
Try this first:
Describe the correlation for each value of r.
Which shows the strongest linear correlation?
Answer:
- Strong negative linear correlation: as one variable increases, the other tends to decrease, close to a straight line.
- Weak positive linear correlation.
- Little or no linear correlation (but check the diagram for a curve).
, because is closest to 1. The minus sign is just the direction.
Setting Up the Test
A sample of 12 students has between hours of revision and test score. Positive, but is that just chance?
- Even if there were no correlation at all in the whole population, a small random sample could show some correlation by luck.
- Think of it this way: pick 3 random points and they will often look roughly lined up. With only a few points, a fairly large r can appear from nothing.
- A hypothesis test decides whether the sample value is strong enough evidence.
Hypotheses use ฯ
- The PMCC of the whole population is written (the Greek letter "rho").
- The sample value is our test statistic.
- The null hypothesis is always "no correlation in the population":
- : testing for positive correlation (one-tailed).
- : testing for negative correlation (one-tailed).
- : testing for any correlation (two-tailed).
Recipe: a PMCC test
- Hypotheses: and from the question's wording, with defined in context.
- Critical value: from the table (or the question), using n and the right column for the tails.
- Compare r with the critical value, taking care with the sign (or compare the p-value with the level).
- Conclude about correlation in the population, in context.
๐ Watch me do it: write the hypotheses for the revision example: "is there positive correlation between revision time and score?"
| What I write | Why I do it |
|---|---|
| Always no correlation. | |
| "Positive" gives a direction: one-tailed, upper. | |
| where is the population PMCC between revision time and test score for these students. | Define the parameter in context. |
๐ Common mistake: hypotheses with r
Wrong: . We already know r: it is 0.62. Right: , because the test is about the population.
โ๏ธ YOUR TURN 2
Try this first:
Write hypotheses for each.
- A scientist thinks that the higher the temperature, the fewer insects are caught.
- A teacher wants to know whether there is any correlation between height and reaction time.
Answer:
- , where is the population PMCC between temperature and number of insects caught.
- (two-tailed: "any" correlation), where is the population PMCC between height and reaction time.
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 Hypothesis Testing
- The Language of Hypothesis Testing
- Rank Correlation: Testing for Association Using Ranks
- Testing a Mean with a Large Sample When the Variance Is Unknown
- One-Tailed Hypothesis Tests for a Binomial Proportion
- Two-Tailed Binomial Tests and Critical Regions
- Testing for Correlation with the Product Moment Correlation Coefficient
- The Distribution of the Sample Mean
- Hypothesis Tests for the Mean of a Normal Distribution
- Move Up a Grade: A Level Maths Hypothesis Testing
- Tricky Bits: A Level Maths Hypothesis Testing
Video
What's inside for this topic
10 teacher notes, 171 practice questions, 58 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Two-Tailed Binomial Tests and Critical Regions Next note: The Distribution of the Sample Mean