IB Maths AI HL Hypothesis Testing for Population Parameters Paper 1 & 2 ~8 min read

Hypothesis Testing for Correlation

Now the parameter is the population correlation coefficient ρ between two variables, and the null is always ρ = 0 (no linear correlation). You run a t-test for linear regression on the GDC. After the discrete binomial and Poisson tests, this one feels familiar — but unlike them it can be two-tailed: “any correlation” → ≠, while “positive” or “negative” → one-tailed.

📘 What you need to know

One-tailed or two-tailed?

This is the only setup decision. It’s driven entirely by the wording: are they testing for a specific direction of correlation, or just whether any correlation exists?

“any” correlation two-tailed H1: ρ ≠ 0. Testing whether a linear relationship exists at all.
“positive” / “negative” one-tailed H1: ρ > 0 or ρ < 0. Testing a specified direction.

🤔 What is ρ versus r?

ρ (rho) is the true correlation coefficient for the whole population — unknown. r is the PMCC you calculate from the sample. The test asks: is the sample r far enough from 0 to conclude the population ρ isn’t 0? The hypotheses are always written in terms of ρ, not r.

The steps

🧭 Recipe — correlation t-test on the GDC

  1. Hypotheses: H0: ρ = 0, then H1 as <, > or ≠. Define ρ as the population correlation coefficient between the two named variables.
  2. Run the test: enter the data as two lists, choose t-test for linear regression; read the p-value (and PMCC if asked).
  3. Decide: p-value < significance level → reject; or |r| > |critical value| → reject.
  4. Conclude in context, tentatively — there is / is not (positive / negative) linear correlation.
Two routes to the same decision p-value route:  reject H0 if  p < α
PMCC route:  reject H0 if  |r| > |rcrit| Critical value is given in the exam if the PMCC method is required ✓
Conclusion wording: reject with H1: ρ > 0 → “positive linear correlation”; ρ < 0 → “negative”; ρ ≠ 0 → “a linear correlation”. Accepting flips each to “not …”. Always name the two real variables.

Where this fits among the tests

Every test in this unit follows write hypotheses → get a p-value → compare with α. What changes is the parameter and the distribution behind it.

Same skeleton, different parameter
Mean μ z / t-test Proportion p binomial Rate m Poisson Correlation ρ t-test (regression) GDC gives the p-value p < sig. level → reject H₀
Correlation is the only one tested with a regression t-test — and the only discrete-vs-continuous “outsider” that can be two-tailed alongside the mean tests.

🧠 PMCC sign tells you the direction

If a one-tailed test rejects, the sign of r confirms the direction: positive r → positive correlation, negative r → negative. For a two-tailed test you just report “there is a linear correlation” — but you can still note the direction from the sign of r.

Worked examples

All five use Jessica’s data: distance run d km vs hours of sleep t the night after, over 9 days, at a 5% significance level.

Distance d (km)1.22.31.51.32.51.81.92.01.1
Sleep t (hours)7.98.17.67.38.18.47.87.96.8
WE 1

State the hypotheses

Jessica wants to know if there is any linear correlation between distance and sleep. State H0 and H1.

let ρ = correlation coefficient between Jessica’s distances and hours of sleep “any” linear correlation → two-tailed. H₀: ρ = 0  H₁: ρ ≠ 0
WE 2

Run the test on the GDC

Describe how to find the p-value and find the PMCC for the data.

enter d and t as two lists → t-test for linear regression PMCC: r = 0.693… a moderately strong positive sample correlation.
WE 3

Find the p-value

State the p-value the GDC returns for this test.

read the p-value from the regression t-test p = 0.03833… p = 0.0383 (3sf)
WE 4

Decide & conclude in context

Perform the test at 5% and state the conclusion clearly.

compare p with the significance level 0.0383 < 0.05 reject H₀ sufficient evidence of a linear correlation between the distance Jessica runs and the hours she sleeps.
WE 5

The PMCC method (cross-check)

Suppose the exam gives the critical value 0.666 for n = 9 at 5% (two-tailed). Reach the same conclusion using the PMCC.

compare |r| with the critical value |0.693| > 0.666 reject H₀ same conclusion — a linear correlation exists; the positive sign of r shows it is positive.

💡 Top tips

⚠ Common mistakes

Next up — Type I & Type II Errors, the last topic in this unit. You’ll learn what a “false positive” and “false negative” mean for a test, how the critical region fixes their probabilities, and why shrinking one error grows the other (only a bigger sample shrinks both).

Need help with Hypothesis Testing for Population Parameters?

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

Book Free Session →