Year 2 Statistics · Chapter 4
Normal Hypothesis Tests
Specification: Edexcel Paper 3 §5.3 — Testing the mean of a Normal distribution · AQA section O3
In this chapter
Key facts — this chapter
- If , the mean of a random sample of observations has : the same centre, with standard deviation .
- To test a claim about the mean: against or (one-tailed) or (two-tailed).
- Assuming , . The p-value is the probability of a sample mean at least as extreme as the one observed. Reject if it is at most the significance level, or half of it in each tail of a two-tailed test.
- Equivalently, find the critical value of , or compare with the critical value of .
- The test needs a random sample and a known, given or assumed standard deviation. Conclude in context, and never claim is proved.
Year 1 tested claims about a proportion using the binomial distribution. Most claims in science and industry are about a mean instead: the average mass of a loaf, the average life of a battery. One measurement proves little, because individuals vary. The mean of a sample varies much less, and that is what makes it a useful test statistic.
1. The distribution of the sample mean
The sample mean
If and is the mean of a random sample of observations of , then
Why it works
A sample mean of values is typically closer to than a single value, because high and low values tend to cancel. The variance falls by a factor of , so the standard deviation falls by a factor of : four times the sample gives half the spread.
Worked example 4.1 · The mean of a sample
. A random sample of 16 observations is taken. Find the probability that the sample mean exceeds .
-
.
-
(4 d.p.).
In context
A single observation exceeds 85 about a third of the time, but the mean of 16 does so less than 5% of the time.
Common mistake
Divide the variance by , not the standard deviation. has variance and standard deviation , not .
2. Testing the mean
Testing a claim about the mean
- State and , with the population mean.
- Assuming , .
- Find the p-value: the probability of a sample mean at least as extreme as , in the direction of .
- Compare it with the significance level, and conclude in context.
Worked example 4.2 · Has the mean fallen?
The masses of loaves from a bakery are Normally distributed with mean g and standard deviation g. After a machine is replaced, a random sample of 25 loaves has mean mass g. Assuming the standard deviation is unchanged, test at the 5% level whether the mean mass has decreased.
-
and , where is the mean mass in grams.
-
Assuming , .
-
The p-value is (4 d.p.). Standardised, is .
-
, so the result is significant: reject .
In context
There is sufficient evidence at the 5% level that the mean mass of the loaves has decreased.
Common mistake
The test uses the distribution of the mean, , not the distribution of one loaf, . With the wrong one, looks ordinary: it is only standard deviations below for a single loaf.
3. Critical regions
The critical region is the set of sample means that would lead to rejecting , and its boundary is the critical value. For a continuous distribution the region has probability exactly equal to the significance level.
Worked example 4.3 · A stricter test
For the test in Example 4.2, find the critical region at the 1% level, and state the conclusion at that level.
-
gives , so the critical value, to 2 d.p., is
and the critical region is .
-
is not in the critical region: do not reject .
In context
At the 1% level there is insufficient evidence that the mean mass has decreased. The same sample is significant at 5% but not at 1%.
A population is Normal with mean 50 and standard deviation 10 (dashed). The solid curve is the distribution of the mean of a sample of n: add to the sample and watch it narrow. The shaded tail is the critical region for testing H₀: μ = 50; move the observed sample mean and see whether it lands inside.
4. Two-tailed tests
When the question asks whether the mean has changed, without a direction, the test is two-tailed: split the significance level equally between the two tails.
Worked example 4.4 · Has the mean changed?
A machine cuts rods whose lengths are Normally distributed with standard deviation cm. It should cut them to a mean length of cm. A random sample of 20 rods has mean length cm. Test at the 5% level whether the mean length has changed.
-
and .
-
Assuming , , with standard deviation
-
is above , so find the upper tail: (4 d.p.).
-
Two-tailed at 5%, so compare with : , so reject .
In context
There is sufficient evidence at the 5% level that the mean length has changed. The critical values are , that is and , and only just exceeds the upper one.
5. Choosing the sample size
The standard deviation of shrinks as grows, so a large enough sample can make even a small change in the mean detectable.
Worked example 4.5 · How big a sample?
. Find the smallest sample size for which .
-
needs to be more than standard deviations above the mean:
-
So , and the smallest sample size is .
Practice
Twelve questions in three tiers. Try each one properly before opening the solution. The solutions show the full method, not just answers. Use a calculator’s Normal functions; give probabilities to 4 decimal places and other answers to 3 significant figures unless a question says otherwise.
Warm-up
. State the distribution of the mean of a random sample of 16 observations, and find .
Show solution
, and .
A company claims that its batteries last 50 hours on average. A rival wants to test whether the true mean is less than this. State suitable hypotheses.
Show solution
and , where is the mean battery life in hours.
Assuming , . A sample gives , and . Find the p-value, and state the conclusion at the 5% level and at the 1% level.
Show solution
. At 5%, : reject . At 1%, : do not reject .
. A random sample of 25 is used to test against at the 5% level. Find the critical region for .
Show solution
Assuming , . gives , so the critical value is , and the critical region is .
Standard
Battery lives are Normally distributed with standard deviation 3 hours. A manufacturer claims a mean of 40 hours. A random sample of 12 batteries has mean life hours. Test at the 5% level whether the mean is less than claimed.
Show solution
and . Assuming , .
The p-value is . This is more than , so do not reject : there is insufficient evidence at the 5% level that the mean battery life is less than 40 hours.
. A random sample of 30 is used to test against at the 5% level. Find the critical region.
Show solution
Assuming , the standard deviation of is With 2.5% in each tail, :
The critical region is or .
. Find the smallest sample size for which the standard deviation of the sample mean is less than .
Show solution
gives , so . The smallest sample size is .
A test of against gives a p-value of . Explain what this p-value means, and state the conclusion at the 5% level.
Show solution
If the mean really were 70, the probability of getting a sample mean at least as high as the one observed would be . Since , reject : there is sufficient evidence at the 5% level that the mean is greater than 70.
State three conditions needed for the tests in this chapter to be valid.
Show solution
The population is Normally distributed; its standard deviation is known (or given, or assumed unchanged); and the sample is random, with independent observations.
Exam style
The masses of cereal in boxes are Normally distributed with standard deviation 8 g, and the label claims a mean of 500 g. An inspector weighs a random sample of 20 boxes and finds a mean of g.
- Test at the 1% level whether the mean mass is less than 500 g. [5]
- Find the critical region for this test. [2]
- State, with a reason, whether the conclusion would be different at the 5% level. [2]
Show solution
(a) and . Assuming , , with standard deviation
. This is more than , so do not reject : there is insufficient evidence at the 1% level that the mean mass is less than 500 g.
(b) , so the critical value is : the critical region is .
(c) Yes: , so at 5% the result would be significant, and there would be evidence that the mean is less than 500 g.
A thermometer’s readings of a room kept at 20 °C are Normally distributed with standard deviation °C. A technician suspects that the readings are biased. A random sample of 15 readings has mean °C. Test at the 5% level whether the mean reading differs from 20 °C.
Show solution
and . Assuming , .
is above , so find the upper tail: .
Two-tailed, so compare with : , so reject . There is sufficient evidence at the 5% level that the mean reading differs from 20 °C: the thermometer appears to read high.
. A test of against at the 5% level uses the mean of a random sample of size .
- Find the smallest for which a sample mean of 104 would lead to rejecting . [4]
- For that value of , find the critical value of . [2]
Show solution
(a) The critical value must be at most :
So , and the smallest sample size is .
(b) .