# Binomial Distribution Hypothesis Tests

A LevelAQAEdexcelOCRAQA 2022OCR 2022

## Binomial Distribution Hypothesis Tests

We have done a few binomial hypothesis tests on an earlier page, Hypothesis Testing, but on this page we shall dive deeper. You need to know when to do a binomial hypothesis test and also how to do a binomial hypothesis test, as well as other skills such as finding the critical region.

Make sure you are happy with the following topics before continuing.

A Level   ## When to do a Binomial Hypothesis Test

There are two types of hypothesis tests you need to know about: binomial distribution hypothesis tests and normal distribution hypothesis tests. In binomial hypothesis tests, you are testing the probability parameter $p$. In normal hypothesis tests, you are testing the mean parameter $\mu$. This gives us a key difference that we can use to determine what test to do and when.

Since binomial hypothesis tests test a probability parameter, words like probability, proportion and percentage are all clues that you should use a binomial hypothesis test. The situation and the context should also help – if you would model it with a binomial distribution, you want to do a binomial hypothesis test.

A Level   ## How to do a Binomial Hypothesis Test

1. Define the parameter in the context of the question – for a binomial hypothesis test the parameter is $p$ which is always the probability of something.
2. Write down the null hypothesis and the alternate hypothesis.
3. Define the test statistic $X$ in the context of the question.
4. Write down the distribution of $X$ under the null hypothesis.
5. State the significance level $\alpha$ – even though you are likely given it in the question, not stating it risks losing a mark.
6. Test for significance or find the critical region.
7. Write a concluding sentence, linking the acceptance or rejection of $H_{0}$ to the context.
A Level   ## Critical Region and Actual Significance Level

The critical region is the region for which you reject the null hypothesis. For a binomial distribution, this is all the numbers $x$ such that $\mathbb{P}(X\geq x)$ or $\mathbb{P}(X\leq x)$ (depending on what test you are doing) is less than $\alpha$.

The actual significance level is the probability of landing in the critical region. It seems at first surprising that this should differ from the given significance level, and indeed for a normal distribution it does not. However, because the binomial distribution is discrete, there will not be an $x$ value where the probability is exactly equal to the significance level, so the critical region always starts at a value that is less likely than the significance level to be obtained.

A Level   A Level   ## Example: Binomial Hypothesis Test

When Edith buys lunch during a work day, there is a probability of $0.6$ that the shop has her favourite sandwich in stock. After only one sandwich being in stock in the last five days, she is certain the probability of sandwiches being in stock has decreased. Test, at the $5\%$ significance level, if Edith is correct.

[6 marks]

$p$ is the probability of the sandwiches being in stock on a given day

$H_{0}: p=0.6$

$H_{1}: p<0.6$

Test statistic: $X$ is the number of sandwiches in stock over five days.

Under $H_{0}: X\sim B(5,0.6)$

Significance level: $\alpha=0.05$

$\mathbb{P}(X\leq 1)=0.0870>0.05$

Do not reject $H_{0}$. Insufficient evidence to suggest Edith is correct.

A Level   ## Example Questions

$p$ is the probability of having the disease.

$H_{0}: p=0.06$

$H_{1}: p\neq 0.06$

Test statistic $X$ is the number of people in Hammerton who have the disease.

Under $H_{0}: X\sim B(200,0.06)$

Significance level: $\alpha=0.05$

Two tailed test so we are looking for a probability smaller than $\dfrac{0.05}{2}=0.025$

$\mathbb{P}(X\leq 5)=0.0177<0.025$

Reject $H_{0}$. Sufficient evidence to suggest the rate is different in Hammerton compared to the rest of the country.

i) $\mathbb{P}(X=2)=0.0621>0.05$

$\mathbb{P}(X=1)=0.0126<0.05$

So $2$ is not in the critical region while $1$ is.

Hence, the critical region is $X=0,1$

ii) They reach different conclusions.

Efan observes a value that lies outside the critical region, so concludes that $H_{0}$ should not be rejected.

Izzie observes a value that lies inside the critical region, so concludes that $H_{0}$ should be rejected.

$p$ is the probability of a bacterium splitting.

$H_{0}: p=0.32$

$H_{1}: p<0.32$

Test statistic $X$ is the number of bacteria that split.

Under $H_{0}: X\sim B(20,0.32)$

Significance level: $\alpha=0.01$

$\mathbb{P}(X\leq 2)=0.0235>0.01$

Do not reject $H_{0}$. Insufficient evidence to suggest the probability of splitting is too high.

A Level

A Level

A Level

## You May Also Like... ### A Level Maths Revision Cards

The best A level maths revision cards for AQA, Edexcel, OCR, MEI and WJEC. Maths Made Easy is here to help you prepare effectively for your A Level maths exams.

£14.99 ### A Level Maths – Cards & Paper Bundle

A level maths revision cards and exam papers for Edexcel. Includes 2022 predicted papers based on the advance information released in February 2022! MME is here to help you study from home with our revision cards and practise papers.

From: £22.99 ### Transition Maths Cards

The transition maths cards are a perfect way to cover the higher level topics from GCSE whilst being introduced to new A level maths topics to help you prepare for year 12. Your ideal guide to getting started with A level maths!

£8.99