AS & A Level · Practice questions · Two-sample t-tests and normal tests

Pool, test, decide.

Six original Cambridge-style questions on comparing two population means: pooled estimates of a common variance, 2-sample t-tests with their assumptions, normal tests for large samples or known variances, testing a difference k and choosing between the tests.

Original questions All questions on this page are original work, written in the Cambridge AS & A Level style. They are not from past papers. They test the same concepts and skills the syllabus rewards.
The method

Choose the test, then follow the structure.

01
Recall
[2 marks]

A sample of 7 has standard deviation \(s_x = 2.4\) and an independent sample of 9 has \(s_y = 3.1\), both calculated with divisor \(n - 1\). Assuming a common population variance, find its pooled estimate.

  • Square the standard deviations: \(s_x^{2} = 5.76\), \(s_y^{2} = 9.61\). ✓
  • \[s_p^{2} = \frac{6(5.76) + 8(9.61)}{7 + 9 - 2} = \frac{34.56 + 76.88}{14} = \frac{111.44}{14} = 7.96\] ✓
02
Calculation
[3 marks]

Sample \(X\): \(n_x = 8\), \(\sum x = 96\), \(\sum x^{2} = 1188\). Sample \(Y\): \(n_y = 6\), \(\sum y = 60\), \(\sum y^{2} = 630\). Find the pooled estimate of the common population variance.

  • \(S_{xx} = 1188 - \dfrac{96^{2}}{8} = 1188 - 1152 = 36\). ✓
  • \(S_{yy} = 630 - \dfrac{60^{2}}{6} = 630 - 600 = 30\). ✓
  • \(s_p^{2} = \dfrac{36 + 30}{8 + 6 - 2} = \dfrac{66}{12} = 5.5\). ✓
03
Analysis
[7 marks]

The lifetimes, in hours, of batteries of brand \(A\) and brand \(B\) are recorded.

Brand \(A\): 8.2, 7.9, 8.6, 8.4, 8.9    Brand \(B\): 7.6, 8.0, 7.4, 7.9, 7.7, 7.8

(a) State two assumptions needed for a 2-sample \(t\)-test.

(b) Test at the 5% level whether brand \(A\) batteries have a greater mean lifetime than brand \(B\).

  • (a) Both lifetimes are normally distributed; the two populations have a common variance (and the samples are independent and random). ✓
  • (b) \(\mathrm{H}_0: \mu_A = \mu_B\), \(\mathrm{H}_1: \mu_A > \mu_B\), where \(\mu_A\), \(\mu_B\) are the population mean lifetimes. ✓
  • \(\bar x_A = 8.4\), \(\sum (x - \bar x)^{2} = 0.58\); \(\bar x_B = 7.7333\), \(\sum (x - \bar x)^{2} = 0.23333\). ✓
  • \[s_p^{2} = \frac{0.58 + 0.23333}{5 + 6 - 2} = \frac{0.81333}{9} = 0.09037\] ✓
  • \[t = \frac{8.4 - 7.7333}{\sqrt{0.09037\left(\frac{1}{5} + \frac{1}{6}\right)}} = \frac{0.6667}{0.1820} = 3.66\] ✓
  • \(\nu = 9\); one-tailed 5% critical value \(t_{9} = 1.833\). \(3.66 > 1.833\), so reject \(\mathrm{H}_0\). ✓
  • There is sufficient evidence at the 5% level that brand \(A\) batteries have a greater mean lifetime. ✓
04
Calculation
[5 marks]

The daily commuting times, in minutes, of 70 workers in city \(P\) and 80 workers in city \(Q\) give \(\bar x_P = 41.7\), \(s_P^{2} = 18.4\), \(\bar x_Q = 39.9\), \(s_Q^{2} = 22.5\).

(a) Test at the 1% level whether the population mean commuting times differ.

(b) Explain why the test is valid even though the distribution of commuting times is unknown.

  • (a) \(\mathrm{H}_0: \mu_P = \mu_Q\), \(\mathrm{H}_1: \mu_P \ne \mu_Q\), where \(\mu_P\), \(\mu_Q\) are the population mean commuting times. ✓
  • \[z = \frac{41.7 - 39.9}{\sqrt{\frac{18.4}{70} + \frac{22.5}{80}}} = \frac{1.8}{\sqrt{0.5441}} = 2.44\] ✓
  • Two-tailed 1% critical values \(\pm 2.576\). \(2.44 < 2.576\), so do not reject \(\mathrm{H}_0\). ✓
  • There is insufficient evidence at the 1% level that the mean commuting times differ. ✓
  • (b) The samples are large, so by the Central Limit Theorem \(\bar X_P - \bar X_Q\) is approximately normal, and \(s^{2}\) is a good estimate of \(\sigma^{2}\). ✓
05
Analysis
[5 marks]

Masses of bags filled by machine \(A\) are normal with standard deviation 0.8 g, and by machine \(B\) normal with standard deviation 1.2 g. A sample of 10 bags from \(A\) has mean 25.9 g and a sample of 12 bags from \(B\) has mean 23.6 g. Test at the 5% level whether the mean mass from \(A\) exceeds the mean mass from \(B\) by more than 1.5 g.

  • \(\mathrm{H}_0: \mu_A - \mu_B = 1.5\), \(\mathrm{H}_1: \mu_A - \mu_B > 1.5\), where \(\mu_A\), \(\mu_B\) are the population mean masses. ✓
  • The variances are known and the populations are normal, so a normal test applies. ✓
  • \[z = \frac{(25.9 - 23.6) - 1.5}{\sqrt{\frac{0.64}{10} + \frac{1.44}{12}}} = \frac{0.8}{\sqrt{0.184}} = 1.865\] ✓
  • One-tailed 5% critical value 1.645. \(1.865 > 1.645\), so reject \(\mathrm{H}_0\). ✓
  • There is sufficient evidence at the 5% level that the mean mass from \(A\) exceeds that from \(B\) by more than 1.5 g. ✓
06
Analysis
[6 marks]

A researcher compares reaction times, in hundredths of a second, of two independent groups. Group \(X\): \(n_x = 5\), \(\bar x = 31.2\), \(s_x^{2} = 4.3\). Group \(Y\): \(n_y = 6\), \(\bar y = 28.9\), \(s_y^{2} = 3.6\).

(a) Explain why a normal test is not appropriate, and state the test that should be used with its assumptions.

(b) Carry out the test at the 10% level to decide whether the population means differ.

  • (a) The population variances are unknown and the samples are small, so \(s^{2}\) cannot replace \(\sigma^{2}\) in a normal test. Use a 2-sample \(t\)-test, assuming both populations are normal with a common variance. ✓
  • (b) \(\mathrm{H}_0: \mu_x = \mu_y\), \(\mathrm{H}_1: \mu_x \ne \mu_y\), where \(\mu_x\), \(\mu_y\) are the population mean reaction times. ✓
  • \[s_p^{2} = \frac{4(4.3) + 5(3.6)}{9} = \frac{35.2}{9} = 3.911\] ✓
  • \[t = \frac{31.2 - 28.9}{\sqrt{3.911\left(\frac{1}{5} + \frac{1}{6}\right)}} = \frac{2.3}{\sqrt{1.4341}} = 1.921\] ✓
  • \(\nu = 9\); two-tailed 10% critical values \(\pm 1.833\). \(1.921 > 1.833\), so reject \(\mathrm{H}_0\). ✓
  • There is sufficient evidence at the 10% level that the population mean reaction times differ. ✓

Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.