· H2 Mathematics — Ten-Year Series, worked ← All 10 questions

2023 A-Level · Paper 2 · Question 8

2023 H2 Maths Paper 2, Question 8

Hypothesis Testing 11 marks Conducting a hypothesis test
Download Paper 2 solutions (PDF)

Part (a)(i)

2 marks

Let μ\mu be the population mean mass, in kg, of granulated sugar in bags filled by the new machine.

H0:μ=1H_{0}:\mu = 1
H1:μ≠1H_{1}:\mu \neq 1

This is a two-tailed test, since the manager wants to check whether the machine is correctly adjusted, i.e. whether the mean has shifted away from 11 kg in either direction.

Part (a)(ii)

2 marks

Reason 1: the sample size is only 1010, too small for the Central Limit Theorem to guarantee that X‾\overline{X} is approximately normal, unless the mass of sugar per bag is already known to be normally distributed.

Reason 2: the sample is not random — always taking the first bag produced each morning and afternoon may not be representative of typical production, e.g. if the machine’s fill amount drifts systematically over the course of a run.

Part (b)(i)

5 marks

Approach

With n=40n = 40 large, the Central Limit Theorem lets us treat X‾\overline{X} as approximately normal, using the sample variance s2s^{2} in place of the (unknown) population variance. We find the zz boundary for the lower 2.5%2.5\% tail, then convert it into a boundary on x‾\overline{x}.

Let μ\mu be the population mean mass, in kg, of sugar in the larger bags.

H0:μ=2H_{0}:\mu = 2
H1:μ<2H_{1}:\mu < 2

This is a one-tailed test, since the concern is specifically that the mean may be less than 22 kg.

Since n=40n = 40, we first find the unbiased estimate of the population variance:

xˉ=∑xn\bar{x} = \frac{\sum x}{n}
=78.8840= \frac{78.88}{40}
=1.972= 1.972
s2=1n−1(∑x2−(∑x)2n)s^{2} = \frac{1}{n - 1}\left( \sum x^{2} - \frac{(\sum x)^{2}}{n} \right)
=139(155.6746−78.88240)= \frac{1}{39}\left( 155.6746 - \frac{{78.88}^{2}}{40} \right)
=0.003159 (4 s.f.)= 0.003159\ \left( 4\text{ s.f.} \right)
To check your answer: xˉ=1.972\bar{x} = 1.972 kg is indeed slightly below the target of 22 kg, consistent with the customers’ suspicion motivating the test ✓

Since n=40n = 40 is large, by the Central Limit Theorem X‾∼N(2,s2n)\overline{X} \sim N\left( 2,\frac{s^{2}}{n} \right) approximately under H0H_{0}. The standard error is

sn=0.00315940\frac{s}{\sqrt{n}} = \sqrt{\frac{0.003159}{40}}
≈0.008888\approx 0.008888

By GC, at the 2.5%2.5\% significance level (one-tailed, lower tail), the critical value of ZZ is

zcrit=−1.9600 (4 d.p.)z_{crit} = - 1.9600\ \left( 4\text{ d.p.} \right)

The critical region is xˉ<2+zcrit×sn\bar{x} < 2 + z_{crit} \times \frac{s}{\sqrt{n}}:

xˉ<2−1.9600(0.008888)\bar{x} < 2 - 1.9600(0.008888)
≈1.9826\approx 1.9826

∴\therefore the critical region is xˉ<1.9826 (4 d.p.)\bar{x} < 1.9826\ \left( 4\text{ d.p.} \right).

Part (b)(ii)

2 marks

The observed sample mean is xˉ=1.972\bar{x} = 1.972, which lies in the critical region since 1.972<1.98261.972 < 1.9826. Equivalently, the test statistic

z=1.972−20.008888z = \frac{1.972 - 2}{0.008888}
≈−3.15\approx - 3.15

is far below zcrit=−1.96z_{crit} = - 1.96.

To check your answer: the test statistic and the boundary comparison agree — both place xˉ\bar{x} well inside the rejection region, not just barely across it ✓

Since xˉ\bar{x} falls in the critical region, there is sufficient evidence, at the 2.5%2.5\% level of significance, to reject H0H_{0}.

∴\therefore there is sufficient evidence, at the 2.5%2.5\% level, that the mean mass of sugar in the (larger) bags is less than 22 kg, supporting the customers’ suspicion.

This is how we mark, and how we teach.

Every Ten-Year Series question, worked in full, with the reasoning written out and the traps named.

Find out more