top of page

1.3 Hypothesis Testing for Zero Correlation

A-level Maths Statistics and Mechanics Year 2 · Edexcel 9MA0 · Chapter 1: Regression, Correlation and Hypothesis Testing

A free A-level Maths Stats and Mechanics Year 2 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: using the PMCC of a sample to test for correlation in the whole population. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Write hypotheses about the population correlation coefficient ρ for one-tailed and two-tailed tests
  • Find a critical value from a table and use it to decide whether r lies in the critical region
  • Use a given p-value to carry out a test
  • Write a conclusion in context, as an Edexcel mark scheme expects

Key words

  • ρ (rho): The PMCC of the whole population. The sample value r is used to test a claim about ρ.
  • Null hypothesis: H₀: ρ = 0. There is no linear correlation in the population.
  • Alternative hypothesis: H₁: ρ > 0, ρ < 0 (one-tailed) or ρ ≠ 0 (two-tailed).
  • Significance level: The probability of rejecting H₀ when it is true, for example 5%.
  • Critical value: The boundary of the critical region. If r is beyond it, reject H₀.
  • p-value: The probability of a value of r at least as extreme as the one observed, if H₀ is true.

Hypotheses about ρ

A sample of data pairs gives a value of r. Even if there is no correlation in the population, a small sample can give a value of r that is not 0 just by chance. A hypothesis test asks whether r is far enough from 0 to be convincing evidence of correlation in the population.

  • positive correlation; H₀ ρ = 0; H₁ ρ > 0; Type one-tailed
  • negative correlation; H₀ ρ = 0; H₁ ρ < 0; Type one-tailed
  • correlation (either direction); H₀ ρ = 0; H₁ ρ ≠ 0; Type two-tailed

Worked example: writing hypotheses

A gardener believes that tomato plants given more water produce more fruit. She records data for 10 plants. Write suitable hypotheses.
She expects a positive correlation, so the test is one-tailed.

Answer: H₀: ρ = 0, H₁: ρ > 0, where ρ is the population PMCC between amount of water and mass of fruit

Key fact: Hypotheses are always about ρ, the population value, never about r. You already know r exactly.

Critical values: one-tailed tests

The critical value depends on the sample size n (the number of data pairs) and the significance level. Read it from a table of critical values of the PMCC, like the one below (values for a one-tailed test; the two-tailed level is twice the one-tailed level).

  • 6; 0.10 0.6084; 0.05 0.7293; 0.025 0.8114; 0.01 0.8822
  • 7; 0.10 0.5509; 0.05 0.6694; 0.025 0.7545; 0.01 0.8329
  • 8; 0.10 0.5067; 0.05 0.6215; 0.025 0.7067; 0.01 0.7887
  • 9; 0.10 0.4716; 0.05 0.5822; 0.025 0.6664; 0.01 0.7498
  • 10; 0.10 0.4428; 0.05 0.5494; 0.025 0.6319; 0.01 0.7155
  • 12; 0.10 0.3981; 0.05 0.4973; 0.025 0.5760; 0.01 0.6581
  • 15; 0.10 0.3507; 0.05 0.4409; 0.025 0.5140; 0.01 0.5923
  • 20; 0.10 0.2992; 0.05 0.3783; 0.025 0.4438; 0.01 0.5155

For H₁: ρ > 0 the critical region is r ≥ critical value. For H₁: ρ < 0 it is r ≤ -critical value.

Worked example: a one-tailed test

For 10 students, r = 0.68 for hours of sleep before a test and test score. Test at the 5% level whether there is positive correlation.
H₀: ρ = 0, H₁: ρ > 0
n = 10, 5% one-tailed: critical value 0.5494, so the critical region is r ≥ 0.5494.
0.68 > 0.5494, so r is in the critical region. Reject H₀.

Answer: There is evidence, at the 5% level, of positive correlation between hours of sleep and test score.

Two-tailed tests

If the question asks whether there is any correlation, use H₁: ρ ≠ 0. Split the significance level equally between the two tails, so a 5% two-tailed test uses the 0.025 column.

Worked example: a two-tailed test

For 12 days at a weather station, r = −0.55 for daily mean wind speed and daily maximum temperature. Test at the 5% level whether there is correlation.
H₀: ρ = 0, H₁: ρ ≠ 0
n = 12, 2.5% in each tail: critical values ± 0.5760
−0.55 > −0.5760, so r is not in the critical region. Do not reject H₀.

Answer: There is insufficient evidence, at the 5% level, of correlation between wind speed and maximum temperature.

Exam tip: If r is not in the critical region, do not say "H₀ is true" or "there is no correlation". Say there is insufficient evidence of correlation.

Using a p-value, and the full write-up

Software or a question may give a p-value instead of a critical value. Compare it with the significance level: if p-value < significance level, reject H₀. For a two-tailed test, compare the two-tailed p-value with the whole significance level.

Worked example: using a p-value

For 15 days, daily total sunshine and daily maximum temperature give r = 0.47. The p-value for a one-tailed test is 0.0385. Test, at the 5% and at the 2.5% level, whether there is positive correlation.
H₀: ρ = 0, H₁: ρ > 0
5% level: 0.0385 < 0.05, so reject H₀. There is evidence of positive correlation.
2.5% level: 0.0385 > 0.025, so do not reject H₀. There is insufficient evidence.

Answer: The conclusion can change with the significance level, so always state the level you used.

Checklist for a full answer

1. Hypotheses in terms of ρ (say what ρ is).

2. The significance level and whether the test is one- or two-tailed.

3. The critical value (or p-value) and the comparison with r.

4. Reject or do not reject H₀.

5. A conclusion in context, with the word "evidence" and no certainty claimed.

Common mistakes

  • Writing hypotheses with r instead of ρ.
  • Using the 5% column for a 5% two-tailed test: you need the 0.025 column.
  • Forgetting the minus sign for a test of negative correlation: the critical region is r ≤ −critical value.
  • Concluding "there is no correlation" or "H₁ is proved": a test only gives evidence.
  • Using the wrong n: n is the number of data pairs, not the number of values.

Revision questions

Try these, then check your answers below each one.

Question 1. A researcher wants to test whether there is negative correlation between two variables. Which hypotheses are correct? (Choose from: H₀: ρ = 0, H₁: ρ < 0; H₀: r = 0, H₁: r < 0; H₀: ρ = 0, H₁: ρ ≠ 0; H₀: ρ < 0, H₁: ρ = 0.)

Answer: H₀: ρ = 0, H₁: ρ < 0

Working: Use ρ, the population PMCC. H₀ is always ρ = 0; the alternative for negative correlation is ρ < 0.

Question 2. Critical values for n = 10 (one-tailed levels): 10%: 0.4428, 5%: 0.5494, 2.5%: 0.6319, 1%: 0.7155.<br>Write down the positive critical value for a 5% <b>two-tailed</b> test with n = 10.

Answer: 0.6319

Working: A 5% two-tailed test has 2.5% in each tail, so the critical values are ± 0.6319.

Question 3. Jamal carries out a 5% two-tailed test with 12 data pairs. He uses the critical value from the 5% one-tailed column. Is he correct?

Answer: No

Working: No. A 5% two-tailed test has 2.5% in each tail, so he should use the 2.5% one-tailed column (0.5760 for n = 12).

Related lessons

Continue in the full course

This lesson is section 1.3 of our free A-level Maths Statistics and Mechanics Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Statistics and Mechanics Year 2 course.

 

 

 

 

 

 

 

bottom of page