IB Maths AI HL Correlation & Regression Paper 1 & 2 ~7 min read

Pearson’s Product-Moment Correlation Coefficient

Describing correlation as “strong negative” is fine, but the IB wants a number. Pearson’s product-moment correlation coefficient (PMCC), written r, puts a precise value on the strength and direction of linear correlation. It always lies between −1 and +1: the sign tells you the direction (positive or negative) and the size tells you the strength — the closer to ±1, the stronger. You’ll calculate r straight from your GDC’s statistics mode, then interpret it in words. One thing to keep front of mind: r only measures LINEAR correlation — a value near 0 doesn’t rule out a strong curved relationship.

📘 What you need to know

Reading the value of r

Think of r as a dial from −1 to +1. Split it into two questions: which way (sign) and how strong (distance from 0).

the scale of r from −1 to +1
−1 −0.5 0 0.5 +1 perfect negative no linear correlation perfect positive← negative correlation positive correlation → strength increases towards either end
Sign = direction (− is negative, + is positive). Distance from 0 = strength (near ±1 is strong, near 0 is weak).
Value of rInterpretation
r = 1perfect positive linear correlation
r ≈ 0.8strong positive linear correlation
r ≈ 0.4weak positive linear correlation
r = 0no linear correlation
r ≈ −0.4weak negative linear correlation
r = −1perfect negative linear correlation

🧠 Memory aid — “sign then size”

Read r in two steps. Sign first: minus = negative, plus = positive. Then size: ignore the sign and look at how close the number is to 1. Roughly, |r| above about 0.7 is “strong”, around 0.3–0.7 is “moderate/weak”, and near 0 is “no linear correlation”. Always include the word linear in your interpretation.

Calculating r on your GDC

You won’t compute the formula by hand — the IB expects the GDC. The process is the same on every calculator: enter the data, run a two-variable / linear regression analysis, read off r.

🧭 Recipe — finding the PMCC with a GDC

  1. Enter the bivariate data into two lists (x in one, y in the other).
  2. Run a linear regression (the “ax + b” model) in statistics mode.
  3. Read off r from the output (turn on the diagnostics / correlation display if needed).
  4. Round sensibly (usually 3 sf) and interpret in words: state direction, strength and the word “linear”.
The PMCC formula (for understanding only — use the GDC) r = SxySxSy in the formula booklet — but you’ll use the GDC, not this, in the exam

🤔 Why is a low r not the same as “no relationship”?

The PMCC measures linear correlation only — how well the points fit a straight line. Data that follows a strong curve (like a U-shape, or exponential growth that bends) can have a low or even zero r, because no single straight line fits it well. So r ≈ 0 means “no linear pattern”, not “no pattern at all”. Always plot the scatter diagram too — a curve in the points warns you that PMCC isn’t the right tool (that’s where Spearman’s rank comes in, next topic).

Critical values — is a linear model appropriate?

Some questions give you a critical value and ask whether a linear model is justified. The rule is a simple comparison.

Critical value test if   |r| > critical value   →   a linear model is appropriate critical values depend on sample size and are GIVEN in the exam ✓
Use the absolute value. Compare |r| (ignore the sign) with the critical value. If |r| is bigger, the linear correlation is strong enough to justify a linear model.

Worked examples

WE 1

Calculate the PMCC

The table shows eight students’ maths (x) and English (y) test scores. Write down the value of the PMCC, r.

maths x718375261687582
English y5391217414997
enter the data into the GDC, run linear regression r = 0.79433… r = 0.794 (3 sf) no hand calculation needed — read r straight off the GDC.
WE 2

Interpret the value

Comment on the value of the correlation coefficient from WE 1 (r = 0.794).

sign positive → positive correlation size 0.794 is close to 1 → strong strong positive linear correlation always include the word “linear” — r only measures linear correlation.
WE 3

Apply a critical value

For a sample of size 8, the critical value of r is 0.707. Using r = 0.794 from WE 1, decide whether a linear model is appropriate.

compare |r| with the critical value |0.794| = 0.794 0.794 > 0.707 ✓ yes — a linear model is appropriate |r| bigger than the critical value ⇒ the linear correlation is strong enough.
WE 4

Sign and strength from a value

A data set gives r = −0.92. Describe the linear correlation.

sign negative → as x increases, y decreases size |−0.92| = 0.92, very close to 1 → strong strong negative linear correlation the minus sign survives in the description; the strength uses the size only.
WE 5

Low r — what it does (and doesn’t) mean

A scientist finds r = 0.05 between two variables, but the scatter diagram clearly shows a strong U-shaped curve. What can she conclude?

interpret r r ≈ 0 → no LINEAR correlation but the scatter shows a curve there IS a strong relationship — just not a linear one. PMCC can’t detect it. no linear correlation, but a clear non-linear relationship r ≈ 0 never means “no relationship” — only “no straight-line relationship”.

💡 Top tips

⚠ Common mistakes

Next up — Spearman’s Rank Correlation Coefficient. PMCC only spots straight-line relationships. Spearman’s, rs, works on the ranks of the data instead of the raw values, so it can detect any monotonic (always-increasing or always-decreasing) relationship — even a curved one — and it’s far less affected by outliers.

Need help with Correlation & Regression?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →