All revision notes topics

t tests for a mean and the paired t-testEdexcel A-Level Further Maths: Revision notes

Section 1

The t distribution

When X∼N(μ,σ2)X\sim\mathrm{N}(\mu,\sigma^2) and σ2\sigma^2 is unknown, replace σ\sigma by the sample standard deviation ss. The statisticT=Xˉ−μS/nT=\frac{\bar X-\mu}{S/\sqrt n}then follows a tt distribution with ν=n−1\nu=n-1 degrees of freedom. It is symmetrical about 00, like the Normal distribution, but has heavier tails, more so for small nn, and approaches N(0,1)\mathrm{N}(0,1) as nn increases. Critical values come from tt-tables or a calculator, e.g. the upper 5%5\% point of t9t_9 is 1.8331.833. The population must be Normal. With the variance known, use zz instead.

Key termst distributiondegrees of freedom
Common mistake

Using the Normal distribution when σ\sigma is estimated from a small sample. Use tt with n−1n-1 degrees of freedom.

Section 2

One-sample t test

To test H0:μ=μ0H_0:\mu=\mu_0: 1. calculate xˉ\bar x and ss (use s2=1n−1(∑x2−(∑x)2n)s^2=\frac{1}{n-1}\left(\sum x^2-\frac{(\sum x)^2}{n}\right) if given summary data); 2. t=xˉ−μ0s/nt=\frac{\bar x-\mu_0}{s/\sqrt n}; 3. compare with the critical value of tn−1t_{n-1} (one-tailed for μ>μ0\mu>\mu_0 or μ<μ0\mu<\mu_0; two-tailed, with the level split, for μ≠μ0\mu\ne\mu_0); 4. conclude in context. Example: n=8n=8, ∑x=99.4\sum x=99.4, ∑x2=1236.48\sum x^2=1236.48, H0:μ=12.0H_0:\mu=12.0 against μ≠12.0\mu\ne12.0. xˉ=12.425\bar x=12.425, s2=0.205s^2=0.205, t=0.4250.205/8=2.65t=\frac{0.425}{\sqrt{0.205/8}}=2.65. The two-tailed 5%5\% critical value of t7t_7 is 2.3652.365, so reject H0H_0.

Key termstest statistic
Common mistake

Dividing by ss rather than sn\frac{s}{\sqrt n}, or using nn instead of n−1n-1 for the degrees of freedom.

Section 3

Confidence interval for a mean, variance unknown

A confidence interval for μ\mu uses tt in place of zz:xˉ±tn−1sn,\bar x\pm t_{n-1}\frac{s}{\sqrt n}, where tn−1t_{n-1} is the upper α2\frac{\alpha}{2} point for a (100−α)%(100-\alpha)\% interval. Example: n=8n=8, xˉ=24.3\bar x=24.3, s=1.9s=1.9, 95%95\%: t7=2.365t_7=2.365, so 24.3±2.365×1.98=(22.71, 25.89)24.3\pm2.365\times\frac{1.9}{\sqrt8}=(22.71,\ 25.89). The interval is wider than the one using z=1.96z=1.96 because tt allows for the extra uncertainty from estimating σ\sigma. As before, a (100−α)%(100-\alpha)\% interval matches a two-tailed test at the α%\alpha\% level.

Key termsconfidence interval
Exam tip

For a 95%95\% interval look up the upper 2.5%2.5\% point, not the 5%5\% point.

Section 4

The paired t-test

Use a paired test when each observation in one sample is naturally linked to one in the other, such as the same people before and after, or matched pairs. Calculate the difference dd for each pair, then treat the differences as a single sample from N(μd,σd2)\mathrm{N}(\mu_d,\sigma_d^2). To test H0:μd=0H_0:\mu_d=0:t=dˉsd/n,ν=n−1,t=\frac{\bar d}{s_d/\sqrt n},\qquad\nu=n-1,where nn is the number of pairs. The assumption is that the differences are Normally distributed. Example: scores before and after give differences 5,3,−1,7,5,6,3,75,3,-1,7,5,6,3,7, so dˉ=4.375\bar d=4.375, sd=2.669s_d=2.669 and t=4.3752.669/8=4.64t=\frac{4.375}{2.669/\sqrt8}=4.64. Against the upper 5%5\% point of t7t_7, 1.8951.895, reject H0:μd=0H_0:\mu_d=0 in favour of μd>0\mu_d>0. Paired data are not independent, so a two-sample test of means would be wrong. A paired test also removes variation between individuals. Careful: a significant difference shows an effect, but without a control group it does not prove the cause.

Key termspaired t-testdifferences
Common mistake

Treating paired data as two independent samples. Find the differences first, then do a one-sample tt-test on them.

Exam tip

State the direction of dd (after −- before, say) and write H1H_1 to match it.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on t tests for a mean and the paired t-test

  1. The mass of a chocolate bar is Normally distributed. The label states a mean mass of 5050 g. A random sample of 1010 bars has sample mean 49.249.2 g and sample standard deviation s=2.1s=2.1 g. A test is carried out to see whether the mean mass is less than the label states.
    The lower 5%5\% point of t9t_9 is −1.833-1.833. Complete the test at the 5%5\% significance level and state your conclusion in context.2 marks
  2. A random sample of 88 observations from a Normal population has sample mean 24.324.3 and sample standard deviation s=1.9s=1.9. The population variance is unknown.
    Explain why the tt distribution is used rather than the Normal distribution, and state the assumption needed about the population.2 marks
  3. A supplier claims that the mean length of its rods is 12.012.0 cm. The lengths are Normally distributed. A random sample of 88 rods has ∑x=99.4\sum x=99.4 and ∑x2=1236.48\sum x^2=1236.48, where xx is the length in cm.
    Calculate the sample mean and an unbiased estimate of the population variance.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).