Testing for Correlation with the Product Moment Correlation Coefficient | Applications and Interpretation IB Maths notes

Free preview: Testing for Correlation with the Product Moment Correlation Coefficient

The Product Moment Correlation Coefficient

Applications and interpretation: HL only (AHL 4.18), building on Pearson's r from SL 4.4

Watch: 1-minute explainer

Let's start with what you know. At SL (SL 4.4) you described correlation on a scatter diagram and found Pearson's r with your GDC. 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 r, puts a number on it.
  • It measures how close the points lie to a straight line.

−1⩽r⩽1

๐Ÿ’ก In plain words

  • r=1: all points lie exactly on a straight line with positive gradient (perfect positive linear correlation).
  • r=−1: all points lie exactly on a straight line with negative gradient.
  • r close to 0: no linear relationship (there might still be a curved one).
  • The closer |r| is to 1, the stronger the linear correlation. The sign only gives the direction.

Four scatter diagrams with r = 0.95, 0.60, 0.00 and minus 0.85

Following the graph

  1. With r=0.95 the points hug a rising straight line: strong positive correlation.
  2. With r=0.60 the points still rise, but are much more scattered: moderate positive correlation.
  3. With r=0.00 there is no linear pattern at all.
  4. With r=−0.85 the points fall fairly closely along a line: strong negative correlation.

A warning: r only sees straight lines

Diagram: Both panels show the same 9 points. Their PMCC is exactly r = 0.

What the picture shows

  1. Both panels show the same 9 points. Their PMCC is exactly r=0.
  2. Wrong: "r = 0, so there is no relationship". The best straight line is flat, but the points are clearly not random.
  3. Right: every point lies on the curve y=12x2+1. r only measures how close the points are to a straight line.
  4. So always look at the scatter diagram, not just the value of r.

๐Ÿ’ก You don't calculate r by hand

In the AI course, r comes from the GDC (or is given). At HL you also test it, again with the GDC.

โœ๏ธ YOUR TURN 1

Try this first:

Describe the correlation for each value of r.

  1. r=−0.92
  2. r=0.35
  3. r=0.03

Which shows the strongest linear correlation?

Answer:

  1. Strong negative linear correlation: as one variable increases, the other tends to decrease, close to a straight line.
  2. Weak positive linear correlation.
  3. Little or no linear correlation (but check the diagram for a curve).

r=−0.92, because |−0.92| is closest to 1. The minus sign is just the direction.

Setting Up the Test

A sample of 12 students has r=0.62 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 r is our test statistic.
  • The null hypothesis is always "no correlation in the population":

H0:ρ=0

  • H1:ρ>0: testing for positive correlation (one-tailed).
  • H1:ρ<0: testing for negative correlation (one-tailed).
  • H1:ρ≠0: testing for any correlation (two-tailed).

Recipe: a PMCC test

  1. Hypotheses: H0:ρ=0 and H1 from the question's wording, with ρ defined in context.
  2. Critical value: from the question (or a table), using n and the right column for the tails.
  3. Compare r with the critical value, taking care with the sign (or compare the p-value with the level).
  4. 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 writeWhy I do it
H0:ρ=0Always no correlation.
H1:ρ>0"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: H0:r=0. We already know r: it is 0.62. Right: H0:ρ=0, because the test is about the population.

โœ๏ธ YOUR TURN 2

Try this first:

Write hypotheses for each.

  1. A scientist thinks that the higher the temperature, the fewer insects are caught.
  2. A teacher wants to know whether there is any correlation between height and reaction time.

Answer:

  1. H0:ρ=0, H1:ρ<0, where ρ is the population PMCC between temperature and number of insects caught.
  2. H0:ρ=0, H1:ρ≠0 (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 HL: Further hypothesis testing (AHL 4.18)

  1. One-Tailed Hypothesis Tests for a Binomial Proportion
  2. Two-Tailed Binomial Tests and Critical Regions
  3. Testing for Correlation with the Product Moment Correlation Coefficient
  4. Hypothesis Tests for the Mean of a Normal Distribution
  5. Hypothesis Tests for the Mean of a Poisson Distribution
  6. Type I and Type II Errors and the Power of a Test
  7. z-Tests for a Population Mean Using the Central Limit Theorem
  8. The One-Sample t-Test for a Mean

Video

What's inside for this topic

8 teacher notes, 64 practice questions, 38 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: Two-Tailed Binomial Tests and Critical Regions Next note: Hypothesis Tests for the Mean of a Normal Distribution

Testing for Correlation with the Product Moment Correlation Coefficient on other exam boards

All Applications and Interpretation IB Maths topics ยท IB Maths