← All notesMaths · Hypothesis tests⬇ Download PDF
A Level Maths 9709 · Paper 6 Probability & Statistics 2 · 6.5 · ~5 min read

Hypothesis tests

Null and alternative hypotheses, significance levels, one- and two-tailed tests, critical regions, tests for a binomial proportion, a Poisson mean and a normal mean, and Type I and Type II errors with their probabilities.

H₀ and H₁Significance levelOne- & two-tailedCritical regionsBinomial testPoisson testNormal mean testType I error
RSby Riyaz Sir
mentorriyaz.in
Paper tag = where it is examinedFORMULA LIST (MF19) given in the examM1A1B1 how marks are awardedhighlight = comes up again and againTest yourself at the end

In 30 seconds

  • H₀ states the accepted value (p = 0.3, λ = 6, μ = 50); H₁ states what you suspect (<, > or ≠).
  • Reject H₀ if the result is in the critical region, i.e. the probability of a result this extreme (assuming H₀) is less than the significance level. For two-tailed tests, compare with half the level in each tail.
  • Discrete tests (binomial, Poisson) use cumulative probabilities; normal tests use a z-value.
  • Type I error: rejecting H₀ when it is true; its probability is the actual significance level. Type II error: accepting H₀ when it is false.

By the end you can

  • State hypotheses in terms of a population parameter.
  • Carry out tests for a binomial proportion, a Poisson mean and a normal mean, one- or two-tailed.
  • Find critical regions and actual significance levels for discrete tests.
  • Understand Type I and Type II errors and calculate their probabilities.
  • Write conclusions in context, without overstating them.

1The language of tests

Hypotheses and conclusions

  • Hypotheses use parameters: "H₀: p = 0.3, H₁: p < 0.3", not "H₀: X = 2".
  • Conclusions are cautious: "there is evidence at the 5% level that the proportion has decreased", or "insufficient evidence that …". Never "this proves".
  • Significance level: the probability of rejecting H₀ when it's true. Smaller levels need stronger evidence.
H₀: μ = μ₀5%z = 1.645μ₀acceptance regionrejection(critical) regionOne-tailed test at 5%: reject H₀ if the test statistic lies in the shaded tail.
One-tailed normal test at 5%: reject H₀ if z lies in the shaded tail.
Common mistakeA conclusion with no context, or a definite claim. The 2024 Paper 6 report: a contradictory or definite conclusion loses the final mark.

2Discrete tests

Binomial

Worked example

A shop claims 30% of customers pay by card. In a sample of 20, only 2 do. Test at the 5% level whether the proportion is less than 30%.

  1. H₀: p = 0.3; H₁: p < 0.3 B1
  2. under H₀, X ~ B(20, 0.3): P(X ≤ 2) = 0.0355 M1 A1
  3. 0.0355 < 0.05, so reject H₀ M1
  4. there is evidence at the 5% level that the proportion paying by card is less than 30% A1
Worked example

For this test, find the critical region and the probability of a Type I error. If in fact p = 0.1, find the probability of a Type II error.

  1. P(X ≤ 2) = 0.0355 < 0.05 but P(X ≤ 3) = 0.1071 > 0.05 M1
  2. critical region X ≤ 2; P(Type I) = 0.0355 A1 A1
  3. Type II: accept H₀ although p = 0.1: P(X ≥ 3 ǀ p = 0.1) = 1 − 0.6769 = 0.323 M1 A1

Poisson

Worked example

A road had an average of 6 accidents a week. After a speed limit was introduced, there were 2 accidents in a week. Test at the 5% level whether the rate has decreased.

  1. H₀: λ = 6; H₁: λ < 6 B1
  2. P(X ≤ 2) = e−6(1 + 6 + 18) = 0.0620 M1 A1
  3. 0.0620 > 0.05, so do not reject H₀ M1
  4. insufficient evidence at the 5% level that the accident rate has decreased A1
Common mistakeComparing P(X = 2) with the significance level. You need the tail probability, P(X ≤ 2).

3Normal mean tests

z-tests

z = (x̄ − μ₀)/(σ/√n)
σ known, or n large with s in place of σ
Worked example

Lengths are known to be normal with σ = 6. A sample of 36 has mean 48.1. Test at the 5% level whether the mean is less than 50.

  1. H₀: μ = 50; H₁: μ < 50 B1
  2. z = (48.1 − 50)/(6/6) = −1.9 M1 A1
  3. −1.9 < −1.645, so reject H₀ M1
  4. evidence at the 5% level that the mean length is less than 50 A1
  • Two-tailed at 5%: critical values ±1.96. With x̄ = 51.5 instead, z = 1.5, between −1.96 and 1.96, so there's insufficient evidence that μ ≠ 50.
Common mistakeUsing σ instead of σ/√n, or the wrong critical value for a two-tailed test.
Linking questionThe distributions tested here are in Discrete random variables, The Poisson distribution and Sampling and estimation.

Test yourself — cover the answers first

Quick check

  1. State the meaning of a Type I error.
  2. What critical z-values are used in a two-tailed 5% test?
  3. Write hypotheses for "has the mean increased from 20?".
  4. A test statistic falls in the critical region. What do you do?
  5. Why is the actual significance level of a binomial test often below 5%?

Exam-style

  1. X ~ B(15, 0.5) under H₀: p = 0.5 vs H₁: p > 0.5. Find the critical region at the 5% level.
  2. Under H₀: λ = 6, with critical region X ≤ 1, find P(Type I error).
  3. σ = 4, n = 25, test H₀: μ = 30 vs H₁: μ > 30 at 1%. Find the smallest x̄ that leads to rejection.
Show answers
  1. rejecting H₀ when it is true
  2. ±1.96
  3. H₀: μ = 20, H₁: μ > 20
  4. reject H₀
  5. X is discrete, so the tail probability jumps
  6. P(X ≥ 12) = 0.0176, P(X ≥ 11) = 0.0592 ⇒ X ≥ 12
  7. e−6(1 + 6) = 0.0174
  8. 30 + 2.326 × 4/5 = 31.86
Practise this chapter
Stuck on a question?

Send it to me on WhatsApp. I read every message.

Want regular help? Send this to your parent →
Share with a friendAsk Riyaz Sir

Independent notes written by Riyaz Sir. Not produced, endorsed or approved by Cambridge University Press & Assessment. Syllabus codes 9709 and 9702 refer to the Cambridge International AS & A Level syllabuses.