All revision notes topics

Hypothesis tests for a meanEdexcel International A Level Further Maths: Revision notes

Section 1

The structure of a hypothesis test

A hypothesis test decides whether sample data give enough evidence against a claim about a population parameter. The claim is the null hypothesis H0H_0 (for a mean, H0:μ=μ0H_0:\mu=\mu_0). The alternative hypothesis H1H_1 says what you are looking for: μ>μ0\mu>\mu_0 or μ<μ0\mu<\mu_0 (one-tailed), or μ≠μ0\mu\neq\mu_0 (two-tailed). Hypotheses are always about the population parameter μ\mu, never the sample mean. The steps are:

  1. State H0H_0 and H1H_1 and the significance level.
  2. State the distribution of the statistic assuming H0H_0 is true.
  3. Calculate the test statistic and compare it with the critical value (or find the pp-value).
  4. State whether H0H_0 is rejected, and give the conclusion in the context of the question. The significance level is the probability of rejecting H0H_0 when it is true.
Key termsnull hypothesisalternative hypothesissignificance levelone-tailedtwo-tailed
Common mistake

Writing hypotheses in terms of xˉ\bar x. They must be about the population mean μ\mu.

Section 2

Test for a Normal mean, variance known

If X∼N(μ,σ2)X\sim N(\mu,\sigma^2) with σ\sigma known, then under H0H_0, Xˉ∼N(μ0,σ2n)\bar X\sim N\left(\mu_0,\frac{\sigma^2}{n}\right) and the test statistic is Z=Xˉ−μ0σ/n∼N(0,1).Z=\frac{\bar X-\mu_0}{\sigma/\sqrt n}\sim N(0,1). Critical values of zz:

  • one-tailed, 5%5\%: 1.6451.645 (upper) or −1.645-1.645 (lower); one-tailed, 1%1\%: 2.3262.326;
  • two-tailed, 5%5\%: ±1.96\pm1.96; two-tailed, 1%1\%: ±2.576\pm2.576. Worked example: lifetimes N(μ,802)N(\mu,80^2), H0:μ=1200H_0:\mu=1200, H1:μ<1200H_1:\mu<1200, n=16n=16, xˉ=1165\bar x=1165. Then z=1165−120080/4=−1.75z=\frac{1165-1200}{80/4}=-1.75. This is below −1.645-1.645, so reject H0H_0 at the 5%5\% level: there is evidence that the mean lifetime is below 12001200 hours. It is not below −2.326-2.326, so H0H_0 is not rejected at the 1%1\% level.
Key termstest statisticcritical value
Common mistake

Using σ\sigma instead of σn\frac{\sigma}{\sqrt n} in the denominator of the test statistic.

Section 3

Critical regions and p-values

The critical region (rejection region) is the set of values of the test statistic for which H0H_0 is rejected. It can also be written for Xˉ\bar X itself: for a two-tailed 5%5\% test with μ0=48\mu_0=48, σ=6\sigma=6, n=100n=100, reject H0H_0 if Xˉ<48−1.96×0.6=46.8\bar X<48-1.96\times0.6=46.8 or Xˉ>48+1.96×0.6=49.2\bar X>48+1.96\times0.6=49.2. Alternatively find the pp-value, the probability, assuming H0H_0 is true, of a result at least as extreme as the one observed, and reject H0H_0 if p<p< the significance level. For a two-tailed test, double the tail probability: z=2.25z=2.25 gives p=2×0.0122=0.0244<0.05p=2\times0.0122=0.0244<0.05. Always finish in context: 'there is evidence that the mean volume has changed from 500500 ml' or 'there is insufficient evidence that the mean waiting time is longer'. Never say that H0H_0 has been proved true.

Key termscritical regionp-value
Exam tip

For a two-tailed test, either use ±\pm the critical value or double the tail probability when comparing a pp-value with the significance level.

Section 4

Non-Normal populations and the Central Limit Theorem

The Central Limit Theorem states that if XX has mean μ\mu and variance σ2\sigma^2, then for a large sample size nn (roughly n≥30n\geq30) the sample mean Xˉ\bar X is approximately N(μ,σ2n)N\left(\mu,\frac{\sigma^2}{n}\right), whatever the shape of the distribution of XX. So the same test statistic can be used for populations that are not Normal, provided nn is large, and the same applies to confidence intervals. The result is approximate. Example: waiting times with a skewed distribution and σ=3.5\sigma=3.5; H0:μ=5.8H_0:\mu=5.8, H1:μ>5.8H_1:\mu>5.8; n=49n=49, xˉ=6.4\bar x=6.4. Under H0H_0, Xˉ≈N(5.8,0.25)\bar X\approx N(5.8,0.25) and z=0.60.5=1.2<1.645z=\frac{0.6}{0.5}=1.2<1.645, so there is insufficient evidence at the 5%5\% level that the mean wait is longer.

Key termsCentral Limit Theorem
Common mistake

Applying the Central Limit Theorem to a small sample from a non-Normal population. It needs nn large.

Section 5

Unknown variance with a large sample

When σ2\sigma^2 is unknown, use the unbiased estimate s2=1n−1(∑x2−nxˉ2)s^2=\frac{1}{n-1}\left(\sum x^2-n\bar x^2\right). If nn is large, Xˉ−μS/n\frac{\bar X-\mu}{S/\sqrt n} can be treated as N(0,1)N(0,1), so the test is the same as before with ss in place of σ\sigma: z=xˉ−μ0s/n.z=\frac{\bar x-\mu_0}{s/\sqrt n}. Example: n=100n=100, ∑x=4930\sum x=4930, ∑x2=246 613\sum x^2=246\,613, H0:μ=48H_0:\mu=48, H1:μ≠48H_1:\mu\neq48. Then xˉ=49.3\bar x=49.3, s2=246 613−100(49.3)299=36s^2=\frac{246\,613-100(49.3)^2}{99}=36, z=1.36/10=2.17>1.96z=\frac{1.3}{6/10}=2.17>1.96, so reject H0H_0 at the 5%5\% level: there is evidence that the mean differs from 4848. For a small sample with unknown variance this approximation is not reliable (a different distribution would be needed, and that is not required here), so check that nn is large and say so.

Key termsunbiased estimatelarge sample
Exam tip

State the reason you may use the Normal test: a large sample (Central Limit Theorem) or a Normal population with known variance.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Hypothesis tests for a mean

  1. A manufacturer claims that the lifetimes of its light bulbs are Normally distributed with mean 12001200 hours and standard deviation 8080 hours. A consumer group believes that the mean lifetime is lower than claimed. A random sample of 1616 bulbs has a mean lifetime of 11651165 hours. Assume that the standard deviation is 8080 hours.
    Carry out the test at the 5%5\% significance level and state your conclusion in context.2 marks
  2. A machine fills cartons with orange juice. The volume is Normally distributed with standard deviation 66 ml, and the mean volume is meant to be 500500 ml. A quality manager takes a random sample of 2525 cartons, which has a mean volume of 502.7502.7 ml, and tests at the 5%5\% significance level whether the mean volume has changed.
    Complete the test and state your conclusion in context.2 marks
  3. The time, in minutes, that a customer waits to be served at a call centre has an unknown, positively skewed distribution with standard deviation 3.53.5 minutes. The centre claims that the mean waiting time is 5.85.8 minutes, but a consumer group believes it is longer. A random sample of 4949 customers has a mean waiting time of 6.46.4 minutes.
    Explain why the sample mean can be assumed to be approximately Normally distributed, and state its approximate distribution if the centre's claim is correct.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).