All revision notes topics

Hypothesis test for the mean of a Normal distributionAQA A-Level Maths: Revision notes

Section 1

Hypotheses and significance

A hypothesis test decides whether sample data give enough evidence against a claim about a population parameter. The null hypothesis H0H_0 states the claim, such as H0:μ=250H_0:\mu=250. The alternative hypothesis H1H_1 says how the parameter differs: μ<250\mu<250 or μ>250\mu>250 (one-tailed) or μ≠250\mu\ne250 (two-tailed). Hypotheses are about the population mean μ\mu, never the sample mean. The significance level is the probability, assuming H0H_0 is true, below which we reject H0H_0 (commonly 5%5\% or 1%1\%). The critical region is the set of sample results that lead to rejecting H0H_0, and the p-value is the probability, assuming H0H_0, of a result at least as extreme as the one observed.

Key termsnull hypothesisalternative hypothesissignificance levelcritical regionp-value
Common mistake

Writing the hypotheses in terms of xˉ\bar x. Use the population parameter μ\mu.

Section 2

The distribution of the sample mean

If X∼N(μ,σ2)X\sim N(\mu,\sigma^2) and a random sample of size nn is taken, the sample mean has the distribution Xˉ∼N(μ,σ2n).\bar X\sim N\left(\mu,\frac{\sigma^2}{n}\right). The standard deviation of Xˉ\bar X is σn\frac{\sigma}{\sqrt n}, called the standard error. It falls as nn rises, so sample means vary less than single observations. The test needs σ\sigma to be known, given or assumed. Example: σ=6\sigma=6 and n=36n=36 give Xˉ∼N(250,12)\bar X\sim N(250,1^2) under H0:μ=250H_0:\mu=250.

Key termssample meanstandard error
Common mistake

Using σ\sigma rather than σn\frac{\sigma}{\sqrt n} when standardising a sample mean, or dividing σ\sigma by nn instead of n\sqrt n.

Section 3

Carrying out a one-tailed test

  1. State H0H_0 and H1H_1 and the significance level.
  2. Write the distribution of Xˉ\bar X assuming H0H_0.
  3. Find the pp-value, or the critical value.
  4. Compare: reject H0H_0 if the pp-value is below the significance level, or if the sample mean lies in the critical region.
  5. Write the conclusion in context. Example: H0:μ=48H_0:\mu=48, H1:μ>48H_1:\mu>48, σ=5\sigma=5, n=40n=40, xˉ=49.6\bar x=49.6. Under H0H_0, Tˉ∼N(48,0.79062)\bar T\sim N(48,0.7906^2), so z=2.02z=2.02 and p=0.0215<0.05p=0.0215<0.05. Reject H0H_0. The critical value at 5%5\% is 48+1.645×0.7906=49.3048+1.645\times0.7906=49.30, and 49.649.6 exceeds it, which gives the same result.
Key termstest statistic
Exam tip

A zz-value comparison works too: for a 5%5\% one-tailed test, reject if z>1.645z>1.645 (upper tail) or z<−1.645z<-1.645 (lower tail).

Section 4

Two-tailed tests

If H1:μ≠μ0H_1:\mu\ne\mu_0, the critical region is in both tails. At the 5%5\% level put 2.5%2.5\% in each tail, so the critical values of zz are ±1.96\pm1.96. Alternatively double the one-tail probability to get the pp-value and compare it with 5%5\%. Example: μ0=30\mu_0=30, σ=4\sigma=4, n=16n=16, so the standard error is 11. The critical region is Xˉ<28.04\bar X<28.04 or Xˉ>31.96\bar X>31.96. A sample mean of 31.831.8 is not in it. Equivalently, p=2×P(Z≥1.8)=0.0719>0.05p=2\times P(Z\ge1.8)=0.0719>0.05, so H0H_0 is not rejected. At the 10%10\% level, 0.0719<0.100.0719<0.10, so H0H_0 would be rejected.

Key termstwo-tailed test
Common mistake

Using the whole significance level in one tail for a two-tailed test. Halve it, or double the probability.

Section 5

Conclusions and assumptions

Always write a two-part conclusion: the decision about H0H_0 and what it means in context. If the pp-value is less than the significance level, reject H0H_0: 'there is sufficient evidence at the 5%5\% level that the mean journey time is longer than 4848 minutes'. Otherwise do not reject: 'there is insufficient evidence ...'. Never say H0H_0 is proved true or false. The same difference in sample mean gives stronger evidence with a larger nn, since the standard error is smaller: a mean of 49.649.6 gives p=0.0215p=0.0215 with n=40n=40 but p=0.156p=0.156 with n=10n=10. The test assumes the sample is random, the population is Normal, and the standard deviation is known, given or assumed.

Key termssufficient evidence
Common mistake

Concluding 'the mean is 250250' when H0H_0 is not rejected. Say there is insufficient evidence to reject it.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Hypothesis test for the mean of a Normal distribution

  1. A machine fills bags with sugar. The mass XX g of a bag is Normally distributed with standard deviation 66 g. The mean mass is supposed to be 250250 g, but the operator suspects that the mean has decreased. The operator takes a random sample of 3636 bags and finds that the sample mean is 247.5247.5 g. The standard deviation is assumed to be unchanged.
    Assuming that the mean is 250250 g, find the probability of obtaining a sample mean of 247.5247.5 g or less.2 marks
  2. The time TT minutes that a technician takes to complete a task is Normally distributed with standard deviation 44. A manager claims that the mean time is 3030 minutes. A random sample of 1616 times has mean 31.831.8 minutes. The standard deviation is assumed to be 44.
    The manager repeats the test at the 10%10\% significance level. Find the pp-value for this two-tailed test and state, with a reason, whether the conclusion changes.2 marks
  3. The lifetime LL hours of a type of battery is Normally distributed with standard deviation 1212. The manufacturer claims that the mean lifetime is 500500 hours. A consumer group believes that the mean lifetime is less than this. It tests a random sample of 2525 batteries and finds a sample mean of 495495 hours.
    Test, at the 5%5\% significance level, the consumer group's belief.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).