A-level Maths revision · Statistics

Binomial hypothesis tests

The idea

A hypothesis test asks whether data give enough evidence to reject H0H_0. Assume H0H_0 is true, find the probability of a result at least as extreme as the one seen, and compare it with the significance level.

  1. Write H0:p=…H_0: p = \dots and H1:p>…H_1: p > \dots, p<…p < \dots or p≠…p \ne \dots.
  2. Find P(X≥x)P(X \ge x) or P(X≤x)P(X \le x) under H0H_0. For a two-tailed test, halve the level for each tail.
  3. Compare with the level and conclude in context.

Watch out Not rejecting H0H_0 is not proof that H0H_0 is true.

See it worked

Worked example

H0:p=0.25H_0: p = 0.25, H1:p>0.25H_1: p > 0.25, n=20n = 20, and 99 successes are seen. Test at the 5%5\% level.

  1. Under H0H_0, X∼B(20,0.25)X \sim B(20, 0.25).
  2. P(X≥9)=1−P(X≤8)=0.0409P(X \ge 9) = 1 - P(X \le 8) = 0.0409.
  3. 0.0409<0.050.0409 < 0.05: reject H0H_0. There is evidence that p>0.25p > 0.25.

Answer Reject H0H_0: evidence that p>0.25p > 0.25

Your turn

Question 1Calculator allowed3 marks

X∼B(20,0.3)X \sim B(20, 0.3) under H0H_0. For H1:p<0.3H_1: p < 0.3 at the 5%5\% level, the critical region is X≤cX \le c. Find cc.

Question 2Calculator allowed3 marks

H0:p=0.4H_0: p = 0.4, H1:p>0.4H_1: p > 0.4. In 1515 trials there are 1010 successes. Find the pp-value to 4 decimal places.

Question 3Non-calculator3 marks

In the test above (pp-value 0.03380.0338), state the conclusion at the 5%5\% level in context: the probability pp that a seed germinates.

Write your answer, then show the working
  1. 0.0338<0.050.0338 < 0.05, so the result is significant.
  2. Reject H0H_0.
  3. There is evidence that the germination rate is higher than 0.40.4.

Answer Reject H0H_0: there is evidence that more than 40%40\% of seeds germinate

In past papers

21 official questions in 21 papers since 2018. The latest:

All A-level Maths past papers

A-level Maths Pro, Pearson Edexcel 9MA0

A-level Maths Pro

£129 once

Price rises to £199 on 1 January. Save £70 by joining before then.

At least 12 months of access

By paying you agree to our Terms and get access straight away, which ends your 14-day cancellation right.

No VAT is charged.