7.4 Two-Tailed Tests
A-level Maths Statistics and Mechanics Year 1 (AS) · Edexcel 9MA0 · Chapter 7: Hypothesis Testing
A free A-level Maths Stats and Mechanics Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: testing whether a proportion has changed, in either direction. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Recognise when a test is two-tailed and write H₁: p ≠ p₀
- Decide which tail to use by comparing the observed value with the mean np
- Compare a p-value with half the significance level
- Find a two-tailed critical region and its actual significance level
- Carry out a complete two-tailed test and write the conclusion in context
Key words
- Two-tailed test: A test with H₁: p ≠ p₀. Evidence against H₀ can be in either tail.
- Half the level: In a two-tailed test at level α, each tail gets α ÷ 2, for example 2.5% each for a 5% test.
- Expected value: If X ~ B(n, p), the mean is np. It tells you which tail the observed value is in.
- Actual significance level: For a two-tailed test, the sum of the probabilities of the two parts of the critical region.
When a test is two-tailed
Words such as "changed", "different" or "biased" (with no direction) give a two-tailed test: H₁: p ≠ p₀. The significance level is shared between the two tails, so each tail gets half.
Work out the mean np under H₀. If the observed x is above np, find P(X ≥ x); if it is below, find P(X ≤ x). Then compare with half the significance level.
Key fact: Two-tailed test at level α: reject H₀ if the p-value (one tail) is less than α ÷ 2.
Worked example: which hypothesis, which tail?
A charity says 25% of people who are sent a letter make a donation. A manager wants to know whether this is still true. In a sample of 40 people, 14 donate.
"Still true" has no direction, so H₀: p = 0.25 and H₁: p ≠ 0.25.
Under H₀, X ~ B(40, 0.25), with mean 40 × 0.25 = 10.
14 is above 10, so the p-value is P(X ≥ 14), to be compared with half the significance level.
Answer: two-tailed; use P(X ≥ 14)
Two-tailed tests with a p-value
Worked example: is the dice biased? (5% level)
A dice is rolled 60 times and shows a six 17 times. Test at the 5% level whether the dice is biased for sixes.
H₀: p = 1/6, H₁: p ≠ 1/6, where p is the probability of a six
Under H₀, X ~ B(60, 1/6) with mean 10. 17 is above 10, so use the upper tail.
P(X ≥ 17) = 1 − P(X ≤ 16) = 0.0164
0.0164 < 0.025, so the result is significant. Reject H₀.
Answer: There is evidence at the 5% level that the dice is biased.
Worked example: left-handed musicians (5% level)
10% of adults are left-handed. In a random sample of 50 musicians, only 1 is left-handed. Test at the 5% level whether the proportion for musicians is different.
H₀: p = 0.1, H₁: p ≠ 0.1. X ~ B(50, 0.1), mean 5. 1 is below 5: lower tail.
P(X ≤ 1) = 0.0338
0.0338 > 0.025, so not significant. Do not reject H₀.
Answer: There is insufficient evidence at the 5% level that the proportion of musicians who are left-handed is different from 10%.
Note: Notice that 0.0338 would be significant in a one-tailed 5% test. Splitting the level between two tails makes a two-tailed test harder to pass in each direction.
Two-tailed critical regions
To find the critical region, find the lower tail X ≤ a with probability as close as possible to (but not more than) α ÷ 2, and the upper tail X ≥ b in the same way. The actual significance level is the sum of the two tail probabilities.
Worked example: critical region at the 10% level
X ~ B(20, 0.4), H₁: p ≠ 0.4, 10% level, so 0.05 per tail.
Lower: P(X ≤ 3) = 0.0160, P(X ≤ 4) = 0.0510, so X ≤ 3
Upper: P(X ≥ 13) = 0.0210, P(X ≥ 12) = 0.0565, so X ≥ 13
Actual significance level = 0.0160 + 0.0210 = 0.0370
Answer: X ≤ 3 or X ≥ 13, actual significance level 0.0370
Conclusions for two-tailed tests
A two-tailed test tells you whether p has changed. Even if the data are in the upper tail, the conclusion is that there is evidence that p is different from p₀, not that it has increased, because H₁ was p ≠ p₀.
Common mistakes
- Comparing the p-value with the full significance level instead of half of it.
- Choosing the wrong tail: compare x with np first.
- Giving one tail only when asked for the critical region of a two-tailed test.
- Concluding "p has increased" from a two-tailed test. Say that p has changed.
Revision questions
Try these, then check your answers below each one.
Question 1. In a two-tailed test at the 10% level, what should a one-tail p-value be compared with? (Choose from: 0.05; 0.1; 0.025; 0.2.)
Answer: 0.05
Working: 10% ÷ 2 = 5%, so compare with 0.05.
Question 2. H₀: p = 0.25, H₁: p ≠ 0.25, X ~ B(40, 0.25) and x = 16. Find the p-value for the tail containing 16, to 4 decimal places.
Answer: 0.0262
Working: P(X ≥ 16) = 1 − P(X ≤ 15) = 0.0262.
Question 3. Using the previous question, is the result significant at the 5% level?
Answer: No
Working: 0.0262 > 0.025, so it is not significant. There is insufficient evidence that p has changed.
Related lessons
- Previous lesson: 7.3 One-Tailed Tests
- Next lesson: 8.1 Constructing a Model
- In this chapter: 7.1 Hypothesis Testing
- In this chapter: 7.2 Finding Critical Values
Continue in the full course
This lesson is section 7.4 of our free A-level Maths Statistics and Mechanics Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Statistics and Mechanics Year 1 (AS) course.