Cambridge International AS & A Level · Topic 6.5
A-Level Maths 9709 / Topic 6.5 / AS & A Level

Is it chance, or a real change?

Paper 6. A die lands on six too often; a junction has fewer accidents after new lights. A hypothesis test asks how surprising the observation would be if nothing had changed, and only a result surprising enough to fall below the significance level counts as evidence.

The key idea

Assume \(H_0\) is true. Find the probability of a result at least as extreme as the one observed (in the direction of \(H_1\)), or find the critical region. If that probability is below the significance level, the result lies in the critical region: reject \(H_0\). Always conclude in context and without certainty: "there is (in)sufficient evidence that ...".

0.10.2 012345678910111213 critical region X ≤ 2 X ~ B(20, 0.3) P(X ≤ 2) = 0.0355 P(X ≤ 3) = 0.1071 number of successes, r
Fig. 1: B(20, 0.3), drawn to scale. For a lower-tail test at the 5% level the critical region is X ≤ 2, because P(X ≤ 2) = 0.0355 ≤ 0.05 but P(X ≤ 3) = 0.1071 > 0.05; the actual significance level is 3.55%
Section 01

The language of a test.

Every test follows the same script. Learn the words exactly, because Paper 6 asks for them by name.

Worked example A one-tailed binomial test
A die is thrown 30 times and gives 9 sixes. Test, at the 5% significance level, whether the die is biased towards six.
  1. \(H_0: p = \tfrac{1}{6}\); \(H_1: p > \tfrac{1}{6}\) (one-tailed). Under \(H_0\), \(X \sim B(30, \tfrac{1}{6})\).
  2. Probability of 9 or more sixes: \(\text{P}(X \ge 9) = 1 - \text{P}(X \le 8) = 1 - 0.9803 = 0.0197\).
  3. \(0.0197 < 0.05\), so the result is in the critical region: reject \(H_0\).
Answer: There is sufficient evidence at the 5% level that the die is biased towards six.
Worked example Finding a critical region
Usually 30% of seeds fail to germinate. A new treatment is tried on 20 seeds. Find the critical region for a test at the 5% level of whether the treatment reduces the failure rate, and state the actual significance level.
  1. \(H_0: p = 0.3\); \(H_1: p < 0.3\). Under \(H_0\), \(X \sim B(20, 0.3)\), where \(X\) is the number that fail.
  2. \(\text{P}(X \le 2) = 0.0355 \le 0.05\) but \(\text{P}(X \le 3) = 0.1071 > 0.05\) (Fig. 1).
  3. So the critical region is \(X \le 2\), and the probability of landing in it when \(H_0\) is true is \(0.0355\).
Answer: Critical region \(X \le 2\); actual significance level \(3.55\%\)
Examiner trap

Compare the TAIL probability \(\text{P}(X \ge 9)\) with 5%, never the single probability \(\text{P}(X = 9)\). And never write "\(H_0\) is true" or "this proves the die is biased": a test only gives evidence.

Section 02

Two-tailed tests and Poisson tests.

In a two-tailed test, compare the tail probability with HALF the significance level. For a Poisson mean, the method is the same with \(X \sim \text{Po}(\lambda)\), scaling \(\lambda\) to the period observed.

Worked example Two-tailed
A coin is tossed 25 times and shows 18 heads. Test at the 5% level whether the coin is biased.
  1. \(H_0: p = 0.5\); \(H_1: p \ne 0.5\) (two-tailed, so 2.5% in each tail). \(X \sim B(25, 0.5)\).
  2. 18 is above the expected 12.5, so use the upper tail: \(\text{P}(X \ge 18) = 0.0216\).
  3. \(0.0216 < 0.025\): reject \(H_0\).
Answer: There is sufficient evidence at the 5% level that the coin is biased.
Worked example A Poisson test
Accidents at a junction occurred at a mean rate of 6 per month. After new lights were installed, there were 2 accidents in a month. Test at the 5% level whether the rate has decreased.
  1. \(H_0: \lambda = 6\); \(H_1: \lambda < 6\). Under \(H_0\), \(X \sim \text{Po}(6)\).
  2. \(\text{P}(X \le 2) = e^{-6}(1 + 6 + 18) = 25e^{-6} = 0.0620\).
  3. \(0.0620 > 0.05\): do not reject \(H_0\).
Answer: There is insufficient evidence at the 5% level that the accident rate has decreased.
Your turn
A machine breaks down at a mean rate of 3.2 per month. After a service it breaks down once in the next 2 months. Test at the 2% level whether the rate has fallen.
Examiner trap

Write hypotheses about the PARAMETER (\(p\) or \(\lambda\)), not about the observed count, and scale \(\lambda\) to the period of the observation: 2 months at 3.2 per month means \(H_0: \lambda = 6.4\).

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

A company claims that 30% of its customers are new. Which is the null hypothesis for testing this claim?

Quick check+10 XP

When is a two-tailed test appropriate?

Quick check+10 XP

In a two-tailed test at the 10% level, what do you compare each tail probability with?

Quick check+10 XP

Which is the best conclusion when a test result lies in the critical region?

Section 03

Using a normal approximation.

When \(n\) is large (binomial with \(np, nq > 5\)) or \(\lambda > 15\) (Poisson), use a normal approximation with a continuity correction for the tail probability, exactly as in the approximation lessons.

Worked example Poisson with a large mean
Accidents used to occur at 6 per month. Over 3 months after new lights there were 8 accidents. Test at the 5% level whether the rate has decreased.
  1. \(H_0: \lambda = 18\) (for 3 months); \(H_1: \lambda < 18\). \(\lambda > 15\), so use \(Y \sim N(18, 18)\).
  2. \(\text{P}(X \le 8) \approx \text{P}(Y < 8.5)\), \(z = \dfrac{8.5 - 18}{\sqrt{18}} = -2.239\).
  3. \(\Phi(-2.239) = 1 - 0.9874 = 0.0126 < 0.05\): reject \(H_0\).
Answer: There is sufficient evidence at the 5% level that the accident rate has decreased.
Worked example Binomial with large \(n\)
A firm claims 40% of customers buy a warranty. In a random sample of 200 customers, 95 bought one. Test at the 1% level whether the proportion is higher than claimed.
  1. \(H_0: p = 0.4\); \(H_1: p > 0.4\). \(X \sim B(200, 0.4) \approx N(80, 48)\).
  2. \(\text{P}(X \ge 95) \approx \text{P}(Y > 94.5)\), \(z = \dfrac{94.5 - 80}{\sqrt{48}} = 2.093\).
  3. \(1 - \Phi(2.093) = 1 - 0.9818 = 0.0182 > 0.01\): do not reject \(H_0\).
Answer: There is insufficient evidence at the 1% level that more than 40% of customers buy a warranty.
Examiner trap

The continuity correction points AWAY from the tail: \(X \ge 95\) becomes \(Y > 94.5\), and \(X \le 8\) becomes \(Y < 8.5\).

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

It is claimed that 25% of bulbs are faulty. In a sample of 40, 4 are faulty. For a test of \(H_1: p < 0.25\), which probability should be compared with the significance level?

Exam style+20 XP

\(X \sim B(15, 0.4)\) under \(H_0: p = 0.4\). Find the critical region for a test of \(H_1: p > 0.4\) at the 5% level.

Exam style+20 XP

Calls arrive at a mean rate of 4.5 per hour. In one hour after an advert there are 9 calls. Which value should be compared with the significance level for \(H_1: \lambda > 4.5\)?

Exam style+20 XP

Under \(H_0\), the number of faults in 4 weeks is \(\text{Po}(18)\). 28 faults are observed. Using a normal approximation, find the probability used to test \(H_1: \lambda > 18\).

Skill unlocked

Discrete tests, carried out.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Vocabulary, a binomial test, a critical region, a Poisson test, a two-tailed test, and a normal-approximation test in context.