All revision notes topics

Hypothesis tests for a Normal meanEdexcel A-Level Maths: Revision notes

Section 1

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 distribution Xˉ∼N(μ,σ2n).\bar X\sim N\left(\mu,\frac{\sigma^2}{n}\right). Its standard deviation, σn\frac{\sigma}{\sqrt n}, is called the standard error. It is smaller than σ\sigma because averages vary less than single values, and it decreases as nn increases. No proof is needed. Example: σ=4\sigma=4, n=25n=25: Xˉ∼N(μ,1625)=N(μ,0.64)\bar X\sim N\left(\mu,\frac{16}{25}\right)=N(\mu,0.64) and the standard error is 0.8.

Key termssample meanstandard error
Common mistake

Using σ2\sigma^2 instead of σ2n\frac{\sigma^2}{n} as the variance of Xˉ\bar X, or dividing σ\sigma by nn instead of n\sqrt n.

Section 2

Setting up the test

The test is about the population mean μ\mu. For a claimed value μ0\mu_0: H0:μ=μ0H1:μ>μ0,  μ<μ0 or μ≠μ0.H_0:\mu=\mu_0\qquad H_1:\mu>\mu_0,\;\mu<\mu_0\text{ or }\mu\ne\mu_0. Hypotheses are never written in terms of the sample mean xˉ\bar x. The test assumes that the population is Normal with a known, given or assumed variance σ2\sigma^2, and that the sample is random. Under H0H_0, Xˉ∼N(μ0,σ2n)\bar X\sim N\left(\mu_0,\frac{\sigma^2}{n}\right).

Key termspopulation meannull hypothesisalternative hypothesis
Exam tip

Words such as 'increased', 'less than' or 'greater than' give a one-tailed test; 'changed' or 'different' gives a two-tailed test.

Section 3

Test statistic and p-value

Standardise the sample mean: Z=Xˉ−μ0σ/n∼N(0,12).Z=\frac{\bar X-\mu_0}{\sigma/\sqrt n}\sim N(0,1^2). Then use either:

  • the pp-value: probability of a sample mean at least as extreme as the observed one under H0H_0 (compare with the significance level, halved for a two-tailed test); or
  • the critical value of zz: ±1.645\pm1.645 at 5% one-tailed, ±1.96\pm1.96 at 5% two-tailed, ±2.326\pm2.326 at 1% one-tailed. Example: σ=4\sigma=4, n=25n=25, H0:μ=500H_0:\mu=500, H1:μ<500H_1:\mu<500, xˉ=498\bar x=498. z=498−5000.8=−2.5z=\frac{498-500}{0.8}=-2.5, p=0.0062<0.01p=0.0062<0.01, so reject H0H_0 at the 1% level.
Key termstest statisticp-value
Common mistake

Dividing by σ\sigma rather than σn\frac{\sigma}{\sqrt n} when standardising xˉ\bar x.

Section 4

Critical region for the sample mean

You may find the critical region for Xˉ\bar X directly. Under H0H_0, the critical values are μ0±zσn\mu_0\pm z\frac{\sigma}{\sqrt n}. Example: σ=1.5\sigma=1.5, n=36n=36, H0:μ=12H_0:\mu=12, H1:μ≠12H_1:\mu\ne12, 5% level. The standard error is 0.250.25. Critical values 12±1.96×0.25=11.5112\pm1.96\times0.25=11.51 and 12.4912.49. The critical region is Tˉ<11.51\bar T<11.51 or Tˉ>12.49\bar T>12.49. A sample mean outside this region means H0H_0 is not rejected. For a one-tailed lower test at 1% with σ=12\sigma=12, n=40n=40: Lˉ<150−2.326×1240=145.6\bar L<150-2.326\times\frac{12}{\sqrt{40}}=145.6.

Key termscritical regioncritical value
Exam tip

A larger sample means a smaller standard error, so the critical value moves closer to μ0\mu_0.

Section 5

Concluding in context

State what happens to H0H_0, then say what that means in the context:

  • Reject H0H_0: 'there is evidence at the 5% level that the mean lifetime of the batteries is less than 150 hours.'
  • Do not reject H0H_0: 'there is insufficient evidence at the 5% level that the mean has changed.' Do not say the claim is proved true or false. The test also depends on the assumptions: the population is Normal with the stated variance and the sample is random.
Key termsinsufficient evidence
Common mistake

Concluding without context, for example 'reject H0H_0' alone.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Hypothesis tests for a Normal mean

  1. The masses of packets of cereal, in grams, are Normally distributed with standard deviation 4. The packets are labelled with a mean mass of 500 g. A consumer group suspects that the true mean mass μ\mu is less than 500 g. It tests this at the 1% significance level using a random sample of 25 packets, with sample mean Xˉ\bar X.
    Given that P(Z<−2.5)=0.0062P(Z<-2.5)=0.0062, state the conclusion of the test, in context.2 marks
  2. The time TT minutes taken by workers to assemble a component is Normally distributed with standard deviation 1.5. A supervisor claims that the mean time μ\mu is 12 minutes. A researcher believes that the mean time is different, and tests this at the 5% significance level using a random sample of 36 workers, with sample mean Tˉ\bar T.
    Find the critical values for Tˉ\bar T for this test.2 marks
  3. The lengths of rods made by a machine, in millimetres, are Normally distributed with standard deviation 0.8. The machine is set to produce rods with mean length 50. After maintenance the manager believes that the mean length μ\mu has increased. A random sample of 16 rods has mean length 50.45 mm.
    State the hypotheses for a test at the 5% significance level, and the distribution of the sample mean Xˉ\bar X if the null hypothesis is true.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).