A-Level Further Maths 9231 / Topic 4.2 / AS & A Level
When the variance is unknown, t takes over.
With a small sample from a normal population and no known variance, you have to estimate \(\sigma\) by \(s\), and the extra uncertainty widens the tails of the test statistic. The t-distribution with \(n - 1\) degrees of freedom handles that: test a claimed mean, build a confidence interval, and know when z is still the right tool.
For a random sample of size \(n\) from a NORMAL population with unknown variance, estimate the variance by \(s^{2} = \dfrac{\sum x^{2} - n\bar{x}^{2}}{n - 1}\). Then \(T = \dfrac{\bar{X} - \mu}{s/\sqrt{n}}\) has a t-distribution with \(\nu = n - 1\) degrees of freedom. Use it for tests (compare \(t\) with the table value \(t_{n-1}\)) and for the interval \(\bar{x} \pm t_{n-1}\,\dfrac{s}{\sqrt{n}}\).
Fig. 1: the t-distribution with 5 degrees of freedom (solid) against the standard normal (dashed). The t curve is lower in the middle and heavier in the tails, so its two-tailed 5% critical values are ±2.571 (shaded regions, 2.5% each) instead of ±1.96. As the degrees of freedom increase the t curve approaches N(0, 1)
Section 01
Why t, not z.
In 9709 you tested a mean with \(Z = \dfrac{\bar{X} - \mu}{\sigma/\sqrt{n}}\), which needs the population standard deviation \(\sigma\), or a sample large enough that \(s\) is a reliable stand-in. With a SMALL sample and unknown variance, \(s\) itself varies a lot from sample to sample, so \(\dfrac{\bar{X} - \mu}{s/\sqrt{n}}\) is more spread out than \(N(0, 1)\). If the population is normal, it follows a t-distribution with \(n - 1\) degrees of freedom (one degree of freedom is used up by estimating the mean with \(\bar{x}\)).
Shape: symmetric about 0 and bell-shaped, like \(N(0, 1)\), but lower in the middle and heavier in the tails (Fig. 1).
Degrees of freedom: \(\nu = n - 1\) for one sample. Small \(\nu\) means heavier tails and larger critical values.
Large samples: as \(\nu\) increases, \(t_{\nu}\) approaches \(N(0, 1)\); the last row of the table (\(\nu = \infty\)) gives the normal values 1.645, 1.96, 2.326, 2.576.
Assumption: the population is normally distributed. You must state this whenever you use t.
\(\nu\)
one tail 5%
one tail 2.5%
one tail 1%
one tail 0.5%
5
2.015
2.571
3.365
4.032
7
1.895
2.365
2.998
3.499
9
1.833
2.262
2.821
3.250
\(\infty\)
1.645
1.960
2.326
2.576
Worked example Unbiased estimates from raw data
The masses, in grams, of six bags of flour taken at random are 502, 498, 505, 497, 503, 501. Find unbiased estimates of the population mean and variance.
\(n = 6\), \(\sum x = 3006\), so \(\bar{x} = \dfrac{3006}{6} = 501\).
Find the critical value(s) for (a) a two-tailed test at the 5% level using a sample of 10, (b) a one-tailed test (upper tail) at the 1% level using a sample of 8.
(a) \(\nu = 10 - 1 = 9\). Two-tailed 5% puts 2.5% in each tail, so read the 2.5% column: \(t_{9} = 2.262\).
The critical values are \(\pm 2.262\) (compare \(\pm 1.96\) for z: t demands stronger evidence).
(b) \(\nu = 8 - 1 = 7\). One tail at 1%: \(t_{7} = 2.998\).
Answer: (a) \(\pm 2.262\) (b) \(2.998\)
Your turn
A sample of 12 values has \(\sum x = 78\) and \(\sum x^{2} = 531\). Find unbiased estimates of the population mean and variance.
Two different \(n\)'s to watch. Divide by \(n - 1\), not \(n\), for the unbiased variance; and read the table at \(\nu = n - 1\), not \(n\). With a sample of 6, using \(\nu = 6\) gives 2.447 instead of 2.571.
Section 02
The one-sample t-test.
The test runs exactly like a z-test, with \(s\) in place of \(\sigma\) and the t table in place of the normal table. Define \(\mu\) in context, state the hypotheses, state the normality assumption, compute \(t = \dfrac{\bar{x} - \mu_{0}}{s/\sqrt{n}}\), compare with \(t_{n-1}\), and conclude in context without claiming certainty.
Worked example One-tailed test from summarised data
A manufacturer claims that its batteries last 20 hours on average. A consumer group suspects the mean is lower. A random sample of 10 batteries gives \(\sum x = 191.0\) and \(\sum x^{2} = 3661.06\), where \(x\) hours is the lifetime. Assuming lifetimes are normally distributed, test the claim at the 5% significance level.
\(\mu\) = population mean lifetime (hours). \(H_{0}: \mu = 20\), \(H_{1}: \mu < 20\). Lifetimes are assumed normal; variance unknown and \(n\) small, so use t.
\(\nu = 9\), one tail 5%: critical value \(-1.833\). Since \(-2.372 < -1.833\), reject \(H_{0}\).
Answer: There is sufficient evidence at the 5% level that the mean battery life is less than 20 hours
Worked example Two-tailed test from raw data
The flour bags above (\(\bar{x} = 501\), \(s^{2} = 9.2\), \(n = 6\)) are labelled 500 g. Test at the 5% level whether the mean mass differs from 500 g, assuming masses are normally distributed.
\(\mu\) = population mean mass (g). \(H_{0}: \mu = 500\), \(H_{1}: \mu \ne 500\).
\(\nu = 5\), two tails at 5% (2.5% each): critical values \(\pm 2.571\).
\(|0.808| < 2.571\), so do not reject \(H_{0}\).
Answer: There is insufficient evidence at the 5% level that the mean mass differs from 500 g
Your turn
Nine readings from a normal population have \(\bar{x} = 49\) and \(s^{2} = 7.5\). Test at the 5% level whether the population mean is less than 51.
\(H_{0}: \mu = 51\), \(H_{1}: \mu < 51\). \(t = \dfrac{49 - 51}{\sqrt{7.5}/3} = -2.191\). \(\nu = 8\), critical value \(-1.860\). \(-2.191 < -1.860\): reject \(H_{0}\); there is sufficient evidence that the mean is less than 51.
Examiner trap
Do not write 'the mean IS less than 20' or 'H0 is true'. A test only gives evidence: say 'there is (in)sufficient evidence at the 5% level that ...'. And state the assumption that the population is normal, or the t-test is not justified.
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Quick check+10 XP
A t-test uses a random sample of 12 observations. How many degrees of freedom does the t-distribution have?
Quick check+10 XP
A sample of 5 values has \(\sum x = 20\) and \(\sum x^{2} = 90\). The unbiased estimate of the population variance is
Quick check+10 XP
Find the critical values for a two-tailed t-test at the 5% level using a sample of 6.
Quick check+10 XP
Compared with \(N(0, 1)\), the t-distribution with 5 degrees of freedom
Section 03
Confidence intervals, and choosing z or t.
A \(100(1 - \alpha)\%\) confidence interval for \(\mu\) from a small normal sample with unknown variance is \(\bar{x} \pm t\,\dfrac{s}{\sqrt{n}}\), where \(t\) is the value of \(t_{n-1}\) with \(\frac{\alpha}{2}\) in EACH tail (for 95%, the 2.5% column). A two-tailed test at level \(\alpha\) rejects \(H_{0}: \mu = \mu_{0}\) exactly when \(\mu_{0}\) lies outside the \(100(1 - \alpha)\%\) interval.
Situation
Use
Population normal, variance KNOWN (any \(n\))
z with \(\sigma\)
Population normal, variance unknown, SMALL sample
t with \(s\), \(\nu = n - 1\)
Any population, LARGE sample, variance unknown
z with \(s\) (central limit theorem)
Population not normal, small sample
neither: use a non-parametric test
Worked example A 95% interval and the claim
For the battery sample (\(n = 10\), \(\bar{x} = 19.1\), \(s = 1.2\)), find a 95% confidence interval for the mean lifetime and comment on the claim of 20 hours.
\(\nu = 9\), 95% interval: 2.5% in each tail, so \(t = 2.262\).
20 lies outside the interval, so a two-tailed test at 5% would reject \(\mu = 20\), matching the one-tailed result.
Answer: \((18.24,\ 19.96)\) hours; 20 is just outside, so the interval does not support the claim
Worked example A 99% interval
Nine readings from a normal population give \(\bar{x} = 49\) and \(s^{2} = 7.5\). Find a 99% confidence interval for the population mean. Is a mean of 51 plausible at this level?
\(\nu = 8\), 99% interval: 0.5% in each tail, so \(t = 3.355\).
Answer: \((45.9,\ 52.1)\); 51 lies inside, so a two-tailed test at 1% would not reject \(\mu = 51\)
Your turn
A sample of 80 values from a population of unknown distribution has \(\bar{x} = 12.4\) and \(s = 2.0\). Should a confidence interval for \(\mu\) use z or t?
z: the sample is large, so by the central limit theorem \(\bar{X}\) is approximately normal and \(s\) is a reliable estimate of \(\sigma\). The t-distribution needs a normal population, which we do not know here.
Examiner trap
For a 95% interval use the 2.5% one-tail value (\(t_{9} = 2.262\)), not the 5% value (1.833). Using 1.833 gives only a 90% interval. And never use 1.96 with a small sample and unknown variance.
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Further Mathematics Paper 1 to 4 standard.
Finish the four checks above to unlock the exam questions
Exam style+20 XP
A random sample of 10 from a normal population gives \(\bar{x} = 52.3\) and \(s = 3.1\). For \(H_{0}: \mu = 50\) against \(H_{1}: \mu > 50\) at the 5% level, which is correct?
Exam style+20 XP
A random sample of 8 from a normal population has \(\bar{x} = 14.2\) and \(s^{2} = 2.25\). A 95% confidence interval for \(\mu\) is
Exam style+20 XP
In which case is a t-distribution the appropriate basis for a confidence interval for \(\mu\)?
Exam style+20 XP
A 95% t-interval for a population mean is \((4.1,\ 5.3)\). A two-tailed test of \(H_{0}: \mu = 5\) at the 5% level, using the same sample, would
Skill unlocked
Small sample, unknown variance: handled.
This skill is now recorded on your profile. Keep the chain going.