Edexcel A-level Mathematics · S · Statistics
S5 Hypothesis testing
Set up null and alternative hypotheses, carry out binomial hypothesis tests using significance levels and critical regions, and interpret the result in context.
1/5A hypothesis test weighs a claim against sample evidence
- A hypothesis test weighs a claim against sample evidence
- The alternative hypothesis decides which tail the test uses
- The significance level sets how unlikely a result must be
- The critical region contains every result that rejects the null hypothesis
- Always state the conclusion in the context of the problem
- Check your recall
- Practice: 10 questions
Part 1 of 5: A hypothesis test weighs a claim against sample evidence
A friend says a coin is fair, then it lands heads 9 times in 10 spins. That result makes you doubt the claim. A hypothesis test puts this doubt on a firm footing.
The claim being tested is the null hypothesis, . It always states that a parameter takes one exact value. The alternative hypothesis, , says what the parameter may be instead.
For a binomial test the parameter is , the probability of success on each trial. Write hypotheses in terms of , never in terms of the sample.
Key terms · tap one for its definition
hypothesis test
A hypothesis test is a procedure that uses sample data to decide whether there is enough evidence to reject a claim about a population parameter.
null hypothesis
The null hypothesis is the default claim about a parameter, assumed true when calculating probabilities in the test.
alternative hypothesis
The alternative hypothesis is the statement about the parameter that is supported if the null hypothesis is rejected.
Part 2 of 5: The alternative hypothesis decides which tail the test uses
Now ask what you are looking for. The wording of the problem sets the form of . The null hypothesis always uses an equals sign: . Choose the direction of from the situation described, not from the sample result.
A one-tailed test looks for a change in one direction only, such as . A two-tailed test looks for any change, so .
Choosing the alternative hypothesis
- Wording of the problem
- Fewer, lower, decreased
- Test
- One-tailed, lower tail
- Wording of the problem
- More, higher, increased
- Test
- One-tailed, upper tail
- Wording of the problem
- Different, biased, changed
- Test
- Two-tailed
Key terms · tap one for its definition
one-tailed test
A one-tailed test is a hypothesis test whose alternative hypothesis states that the parameter is greater than, or less than, the null value.
two-tailed test
A two-tailed test is a hypothesis test whose alternative hypothesis states only that the parameter differs from the null value.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 5: The significance level sets how unlikely a result must be
You also need a rule for deciding when a result is too unlikely. The significance level is a probability, often 5%, chosen before the data are seen. A smaller significance level demands stronger evidence before is rejected.
Assume is true. The test statistic is the number of successes in the sample, and it follows . Find the probability of a result at least as extreme as the one observed.
If this probability is no more than the significance level, reject . Otherwise do not reject .
Worked example
One-tailed test
- Hypotheses: and .
- Under , .
- Calculate .
- Compare: , so reject .
Answer: There is sufficient evidence at the 5% level that the proportion of visitors who buy is less than 0.3.
Key terms · tap one for its definition
significance level
The significance level is the probability, chosen in advance, at or below which a result is judged unlikely enough to reject the null hypothesis.
test statistic
The test statistic is the value calculated from the sample, such as the number of successes , used to decide the outcome of the test.
Part 4 of 5: The critical region contains every result that rejects the null hypothesis
Instead of testing one result, you can list every result that would lead to rejecting . That set of values is the critical region. Its boundary value is the critical value.
Take a lower-tail test with at 5%. Here and . So the critical region is .
The probability of landing in the critical region when is true is the actual significance level. Here it is 0.0107, or 1.07%, not 5%. In a two-tailed test, split the significance level equally between the tails. The critical region depends only on , , the tail and the significance level, not on the data.
Key terms · tap one for its definition
critical region
The critical region is the set of values of the test statistic for which the null hypothesis is rejected.
critical value
The critical value is the value of the test statistic at the edge of the critical region, lying inside it.
actual significance level
The actual significance level is the probability that the test statistic falls in the critical region when the null hypothesis is true.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 5 of 5: Always state the conclusion in the context of the problem
The last step turns the numbers back into words. A complete test follows four steps:
- Write and in terms of .
- State the distribution of under .
- Compare the probability with the significance level.
- Write a conclusion in the context of the problem.
If is rejected, say there is sufficient evidence to suggest . If not, say there is insufficient evidence to reject . Name the real quantity, such as ‘the proportion of visitors who buy’.
Worked example
Two-tailed test
- Hypotheses: and .
- Under , .
- Find .
- Each tail has 2.5%, so compare 0.0107 with 0.025. It is smaller, so reject .
Answer: There is sufficient evidence at the 5% level that the coin is biased.
Check your recall[13 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.State[2 marks]
State suitable hypotheses for a test of whether a coin is biased towards heads, where is the probability of heads.
Show mark schemeHide mark scheme
Model answer
and .
- 1 mark for stating
- 1 mark for stating
- 2.Explain[2 marks]
Explain the difference between a one-tailed test and a two-tailed test.
Show mark schemeHide mark scheme
Model answer
A one-tailed test has an alternative hypothesis in one direction only, such as . A two-tailed test has , so it looks for a change in either direction.
- 1 mark for stating that a one-tailed test looks for a change in one direction
- 1 mark for stating that a two-tailed test looks for a change in either direction
- 3.Define[2 marks]
Define the term critical region.
Show mark schemeHide mark scheme
Model answer
The critical region is the set of values of the test statistic for which the null hypothesis is rejected.
- 1 mark for referring to values of the test statistic
- 1 mark for stating that these values lead to rejecting the null hypothesis
- 4.Determine[3 marks]
Determine whether is rejected in favour of at the 5% level, when gives and .
Show mark schemeHide mark scheme
Model answer
Compare 0.0107 with 0.05. Since , reject . There is sufficient evidence at the 5% level that is greater than 0.5.
- 1 mark for comparing 0.0107 with the 5% significance level
- 1 mark for rejecting
- 1 mark for stating a conclusion in context that is greater than 0.5
- 5.Explain[2 marks]
Explain why a result that does not reject does not prove that is true.
Show mark schemeHide mark scheme
Model answer
The test only shows that the sample gives insufficient evidence against . The true value of may still differ from the claim.
- 1 mark for stating that there is insufficient evidence against
- 1 mark for stating that may still differ from the claimed value
- 6.Explain[2 marks]
Explain what is meant by a significance level of 5%.
Show mark schemeHide mark scheme
Model answer
It is the probability threshold chosen in advance. If the probability of a result at least as extreme as the observed one is 5% or less under , then is rejected.
- 1 mark for stating that it is a probability threshold chosen in advance
- 1 mark for stating that is rejected when the result’s probability under is at or below it

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation