Note AcademyNote Academy

Mathematics (AS & A Level) 9709 · Chapter 32

Hypothesis tests

Paper 6. The language of testing, one-tailed and two-tailed tests, tests using binomial and Poisson probabilities and normal approximations, tests for a mean, and Type I and Type II errors.

Written for the 2026–2027 syllabus · 7 min read

6.5 Hypothesis tests

The language of testing

A hypothesis test uses a sample to decide whether a claim about a population is believable.

TermMeaning
Null hypothesis, H0\mathrm{H}_0The claim being tested; states one exact value, as in p=0.5p = 0.5
Alternative hypothesis, H1\mathrm{H}_1What is believed if the null is rejected
Test statisticThe value from the sample used to decide
Significance levelThe probability at or below which the result counts as too unlikely
Rejection (or critical) regionThe values that lead to rejecting H0\mathrm{H}_0
Acceptance regionThe values that do not

One-tailed and two-tailed tests

WordingH1\mathrm{H}_1Test
"Has increased", "more than"p>0.5p > 0.5One-tailed
"Has decreased", "less than"p<0.5p < 0.5One-tailed
"Has changed", "is different", "biased"p≠0.5p \neq 0.5Two-tailed

For a two-tailed test, half the significance level goes in each tail.

Testing a binomial proportion

Work out the probability of the observed result, or one more extreme, assuming H0\mathrm{H}_0.

H0\mathrm{H}_0: p=0.5p = 0.5. H1\mathrm{H}_1: p>0.5p > 0.5. Under H0\mathrm{H}_0, X∼B(20,0.5)X \sim \mathrm{B}(20, 0.5).

P(X≥15)=15504+4845+1140+190+20+1220=0.0207\mathrm{P}(X \geq 15) = \frac{15504 + 4845 + 1140 + 190 + 20 + 1}{2^{20}} = 0.0207

0.0207<0.050.0207 < 0.05, so reject H0\mathrm{H}_0. There is evidence that the coin is biased towards heads.

Finding a rejection region

Find the most extreme values whose total probability is no more than the significance level.

P(X≥15)=0.0207<0.05\mathrm{P}(X \geq 15) = 0.0207 < 0.05, while P(X≥14)=0.0577>0.05\mathrm{P}(X \geq 14) = 0.0577 > 0.05. So the rejection region is X≥15X \geq 15.

Testing a Poisson mean

H0\mathrm{H}_0: λ=6\lambda = 6. H1\mathrm{H}_1: λ<6\lambda < 6. Under H0\mathrm{H}_0, X∼Po(6)X \sim \mathrm{Po}(6).

P(X≤2)=e−6(1+6+18)=0.0620\mathrm{P}(X \leq 2) = \mathrm{e}^{-6}\left(1 + 6 + 18\right) = 0.0620

0.0620>0.050.0620 > 0.05, so do not reject H0\mathrm{H}_0. There is not enough evidence that the rate of complaints has fallen.

Using normal approximations

When nn or λ\lambda is large, use the normal, and remember the continuity correction.

H0\mathrm{H}_0: p=0.4p = 0.4. H1\mathrm{H}_1: p>0.4p > 0.4. Under H0\mathrm{H}_0, X∼B(100,0.4)X \sim \mathrm{B}(100, 0.4), approximated by N(40,24)\mathrm{N}(40, 24).

z=49.5−4024=1.939z = \frac{49.5 - 40}{\sqrt{24}} = 1.939

1.939>1.6451.939 > 1.645, so reject H0\mathrm{H}_0. There is evidence that the proportion has increased.

Testing a population mean

Use the distribution of the sample mean. This needs a normal population with known variance, or a large sample.

Significance levelOne-tailedTwo-tailed
10%1.2821.645
5%1.6451.960
2%2.0542.326
1%2.3262.576

H0\mathrm{H}_0: μ=50\mu = 50. H1\mathrm{H}_1: μ≠50\mu \neq 50. Under H0\mathrm{H}_0, Xˉ∼N(50,0.64)\bar{X} \sim \mathrm{N}(50, 0.64).

z=48.2−500.8=−2.25z = \frac{48.2 - 50}{0.8} = -2.25

∣−2.25∣>1.96\lvert -2.25\rvert > 1.96, so reject H0\mathrm{H}_0. There is evidence that the mean mass has changed.

A normal curve for a test statistic, with the rejection regions shaded in both tails beyond -1.96 and 1.96

A normal curve for a test statistic, with the rejection regions shaded in both tails beyond -1.96 and 1.96

Type I and Type II errors

H0\mathrm{H}_0 is trueH0\mathrm{H}_0 is false
Reject H0\mathrm{H}_0Type I errorCorrect
Do not reject H0\mathrm{H}_0CorrectType II error

Probability of a Type I error. For a normal test, this is the significance level. For a binomial or Poisson test, it is the actual probability of landing in the rejection region under H0\mathrm{H}_0, which is usually below the stated level. In the coin test, it is 0.02070.0207.

Probability of a Type II error. Find the rejection region, then work out the probability of falling outside it, using the true value.

The rejection region is xˉ>50+1.645×0.8=51.316\bar{x} > 50 + 1.645 \times 0.8 = 51.316.

A Type II error means Xˉ<51.316\bar{X} < 51.316 when μ=52\mu = 52:

z=51.316−520.8=−0.855P=1−Φ(0.855)=0.196z = \frac{51.316 - 52}{0.8} = -0.855 \qquad \mathrm{P} = 1 - \Phi(0.855) = 0.196

Test yourself18 flashcards on this chapter.Flashcards →