Hypothesis Tests Using Normal Approximations
When the sample is large or the mean count is large, exact binomial and Poisson tests become impractical: testing successes out of needs for , a sum of terms. The syllabus allows you to replace the binomial or Poisson distribution by a normal distribution with the same mean and variance, provided you apply a continuity correction. The logic of the test does not change at all; only the way the probability is calculated does. These tests appear regularly on Paper 6, and the continuity correction is where most marks are lost.
The approximations
Both approximations come from earlier work: the normal approximation to the binomial from S1, and the normal approximation to the Poisson.
Under :
| Exact distribution | Approximation | Condition |
|---|---|---|
| and | ||
Because is discrete and the normal is continuous, a continuity correction is always applied:
The conditions are checked with the parameter value in , because the distribution is the one that holds if is true.
The continuity correction treats each integer as the interval from to . "At least " includes the whole bar at , which starts at ; "at most " includes the whole bar at , which ends at . The graph shows as bars with the curve of ; the shaded area up to approximates .
Carrying out the test
You can decide in either of two equivalent ways.
Compare a probability with the significance level. Calculate the approximate tail probability, with the continuity correction, and compare it with the significance level.
Compare a -value with a critical value. Standardise the continuity-corrected value and compare it with , , or as appropriate. For an upper-tail test with observed value ,
and for a lower-tail test,
The hypotheses are still written for the binomial proportion or the Poisson mean . The normal distribution is only a tool for calculating the probability.
- Define the parameter and state and .
- State the exact distribution under , check the condition, and state the approximating normal distribution with its mean and variance.
- Apply the continuity correction in the direction of the tail you need.
- Standardise and find the probability (or compare with the critical value).
- Compare with the significance level, halved for each tail of a two-tailed test.
- Decide about and conclude in context.
In the past, of customers at a supermarket bought organic vegetables. After a promotion, a random sample of customers includes who buy organic vegetables. Test at the significance level whether the proportion has increased.
Solution
Let be the proportion of customers who buy organic vegetables.
, .
Under , . Since and , use .
, so reject .
There is evidence at the level that the proportion of customers who buy organic vegetables has increased.
A switchboard receives calls at random at an average rate of per day. After a website is redesigned, there are calls on a randomly chosen day. Test at the significance level whether the rate of calls has decreased.
Solution
Let be the mean number of calls per day. , .
Under , . Since , use .
, so reject .
There is evidence at the level that the rate of calls has decreased.
Using the -value instead: , so the result is in the critical region. Same conclusion.
When the continuity correction changes the answer
Because a test is a yes-or-no decision, a small change in the probability can change the conclusion. The continuity correction is not a fine detail; it is part of the method, and leaving it out can give the wrong answer.
A coin is tossed times and shows heads. Test at the significance level whether the coin is biased.
Solution
Let be the probability of a head. , .
Under , . Since , use .
is above the mean, so use the upper tail.
The test is two-tailed, so compare with : . Do not reject .
There is insufficient evidence at the level that the coin is biased.
Without the continuity correction, and , which would wrongly lead to rejecting . (The exact binomial probability is , confirming the corrected value.)
Critical regions with a normal approximation
To find a critical region, set the continuity-corrected boundary equal to the critical value and solve for the count.
For an upper-tail test at level with critical value , the critical region is where is the smallest integer with
For a lower-tail test, it is where is the largest integer with
A switchboard receives calls at random at an average rate of per day. Using a single day's count and the significance level, find the critical region for a test of whether the rate has increased.
Solution
, . Under , .
We need the smallest integer with
So , and the critical region is .
Round up for an upper-tail region: would give a -value below .
Emails arrive in an office at random at an average rate of per hour. After the office joins a new mailing list, emails arrive during a randomly chosen -hour working day.
(a) Use a suitable approximation to test at the significance level whether the rate of emails has increased.
(b) Find the critical region for this test.
(c) Explain why a normal approximation is appropriate and why a continuity correction is needed.
Solution
(a) For hours the mean under the old rate is .
Let be the mean number of emails per -hour day. , .
Under , . Since , use .
, so reject . There is evidence at the level that the rate of emails has increased.
(b) The one-tailed critical value at is .
The critical region is , which is consistent with rejecting in (a).
(c) The mean is greater than , so is close enough to symmetrical for a normal approximation. A continuity correction is needed because the number of emails is a discrete variable and it is being approximated by a continuous one.
- Leaving out the continuity correction. It is part of the method, it earns a mark, and without it a borderline test can reach the wrong conclusion.
- Correcting in the wrong direction. becomes ; becomes . Think about which bars must be included.
- Using the variance as the standard deviation. has standard deviation , not .
- Using the sample proportion in the variance. For a test, the variance is with the value from . (Confidence intervals use ; tests use .)
- Not checking the conditions. State and , or , with the numbers.
- Rounding a critical value the wrong way. For an upper-tail region round up; for a lower-tail region round down.
- Writing hypotheses about the normal variable. The hypotheses concern or , not or of the approximating normal.
- The marks usually go: hypotheses; correct normal distribution with mean and variance; continuity correction; standardising; comparison; conclusion in context.
- Write the approximation explicitly, with the condition: " and , so ".
- Show the corrected value in the -formula, such as . Examiners look for the .
- Keep to at least 3 decimal places; read from the tables to 4 decimal places.
- If you compare with a critical value, say which critical value and why: ", the critical value for a one-tailed test at ".
- Questions often say "use a suitable approximation". This is your cue to state which approximation and to justify it.
- Use when and .
- Use when .
- Always apply a continuity correction: becomes ; becomes .
- Compare the approximate tail probability with the significance level, or the corrected with the critical value.
- The variance uses the value in , not a sample estimate.
- Critical regions: solve the corrected inequality and round up (upper tail) or down (lower tail).
- Hypotheses and conclusions refer to or , in context.
Practice questions
- It is claimed that of students walk to school. In a random sample of students, walk to school. Use a suitable approximation to test at the significance level whether the proportion is greater than .
- The number of complaints received by a company per month has the distribution . After a change in policy, complaints are received in a month. Use a suitable approximation to test at the significance level whether the rate of complaints has decreased.
- A coin is tossed times and shows heads. Test at the significance level whether the coin is biased.
- A test of against is carried out at the significance level using a random sample of . Use a normal approximation to find the critical region.
- A machine breaks down at random at an average rate of times per week. After a service, there are breakdowns in weeks. Test at the significance level whether the rate of breakdowns has decreased.
- In a test using the approximation , explain why the condition on is needed and why a continuity correction is used.
- A die is thrown times. Using a normal approximation, find the least number of sixes that would give evidence at the significance level that the die is biased towards six.
- The number of visitors to a website per hour has the distribution . A two-tailed test at the significance level is to be carried out using the number of visitors in one hour. (a) Use a normal approximation to find the critical region. (b) In a particular hour there are visitors. State the conclusion of the test.
Answers
-
, . Under , ; , , so . . Reject : there is evidence at the level that more than of students walk to school.
-
, . , so . . Reject : there is evidence at the level that the rate of complaints has decreased.
-
, . . . Two-tailed: . Reject : there is evidence at the level that the coin is biased.
-
. Need the largest with , so . So and the critical region is .
-
Mean for weeks . , . , so . . Do not reject : there is insufficient evidence at the level that the rate has decreased.
-
A Poisson distribution is skewed for small ; when is large (greater than ) it is close enough to symmetrical and bell-shaped to be approximated by a normal distribution. The continuity correction is needed because a discrete distribution (whole-number counts) is being approximated by a continuous one, so each integer is represented by the interval from below it to above it.
-
, . . Need , so . The least number of sixes is .
-
(a) . Each tail has , critical values . Lower: , so . Upper: , so . The critical region is or . (b) is not in the critical region. Do not reject : there is insufficient evidence at the level that the mean number of visitors per hour has changed.