Teachers' Portal  /  A-Level Further Maths 9231  /  Inference using normal and t-distributions  /  The t-distribution: one-sample tests and intervals
Lesson pack · A-Level Further Maths 9231 · 4.2 · AS & A Level

The t-distribution: one-sample tests and intervals

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.

Student lesson Lab, full screen
At a glance

The shape of the lesson

Topic
Inference using normal and t-distributions
Syllabus reference
Cambridge International AS and A Level Further Mathematics 9231, 4.2
Level
AS & A Level
Duration
45 minutes, lab-led; stretches to a 60 minute block (see the contingency notes)
Position in topic
Lesson 1 of 3 in Inference using normal and t-distributions; leads into Two-sample t-tests and normal tests
Central model
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)
Cooperative structure
Assessment
Stage 1 check and the exam-style plenary from the student lesson, plus the worksheet as the exit task
Learning objectives

By the end of the lesson, learners can

Section by section
  • 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.
  • 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.
  • 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).
Key points to leave on the board
  • Estimate: \(\bar{x} = \dfrac{\sum x}{n}\), \(s^{2} = \dfrac{\sum x^{2} - n\bar{x}^{2}}{n - 1}\).
  • Hypotheses: define \(\mu\) in context; \(H_{0}: \mu = \mu_{0}\) and a one- or two-tailed \(H_{1}\).
  • Assume the population is normal; then \(t = \dfrac{\bar{x} - \mu_{0}}{s/\sqrt{n}}\) with \(\nu = n - 1\).
  • Compare with the table: for two tails, or a \(100(1 - \alpha)\%\) interval, use \(\frac{\alpha}{2}\) in each tail.
  • Conclude in context: 'there is (in)sufficient evidence at the ...% level that ...'.
The core visual model

One picture every idea returns to

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}}\).

t −4 −3 −2 −1 0 1 2 3 4 2.571 −2.571 1.96 −1.96 t-distribution, 5 df N(0, 1) 2.5% in each tail Two-tailed 5% test: |t| > 2.571, not 1.96
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)
Lesson sequence

Forty-five minutes, phase by phase

TimePhaseWhat happens in the roomGrouping
0 to 5 minHook: predictOpen with the question in the title, 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. Put the figure on the board: it is the one picture every idea in the lesson returns to.Whole class, then pairs
5 to 13 minTeach and check: Why t, not zIn 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. Project tab 1 of the lab (Distributions lab, t versus normal) and let a student drive it while the class predicts. Model the worked example Unbiased estimates from raw data on the board, one line at a time. 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.Whole class, then pairs
13 to 21 minTeach and check: The one-sample t -testThe test runs exactly like a z-test, with \(s\) in place of \(\sigma\) and the t table in place of the normal table. Model the worked example One-tailed test from summarised data on the board, one line at a time. 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.Pairs
21 to 30 minTeach and check: Confidence intervals, and choosing z or tA \(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). Model the worked example A 95% interval and the claim on the board, one line at a time. 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?Frayer Model
30 to 36 minCheckThe four Stage 1 questions from the student lesson, answered on mini whiteboards or by show of fingers. Re-teach the one most get wrong.Individual, then whole class
36 to 43 minPlenaryThe exam-style questions from Stage 2, one at a time: thirty seconds alone, then a random call. The feedback lines in the key give the examiner's wording.Individual, random call
43 to 45 minExit and homeworkSet the worksheet below (6 questions, 27 marks). Learners self-assess against the objectives before they leave.Individual
Timing and contingency

Protect the parts that carry the learning

The sequence carries about fifty minutes of material, so the lab is driven by one student while the class predicts rather than explored freely. Times are a guide.

Protected: the check at 30 minutes. It is the only individual read on whether the key idea landed, and it is not cut.

Cut first if the build overruns: the last check in Confidence intervals, and choosing z or t, never the check or the plenary.

In a 60 minute block: run worksheet questions 1 to 3 in class as a Rally Coach set and model both the hardest worked example and its check live.

Running the cooperative task

Frayer Model

Pairs fill a four-box grid for the key term: definition, characteristics, examples and non-examples. The non-examples box is where the misconceptions surface, so give it the most time.

The full structure, with its PIES check and a worked example for every subject, is on the cooperative-learning page, one of fifteen structures there.

Examiner traps to pre-empt

What to head off, and how

Trap learners fall intoTeaching move that pre-empts it
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.
Do not write 'the mean IS less than 20' or 'H 0 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.
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.
Worksheet

The t-distribution: one-sample tests and intervals: worksheet

6 questions, 27 marks. Written in the style of the papers; no past paper question is reproduced.

NameClassDate
Q1 · recall[2 marks]

A random sample of 8 observations has \(\sum x = 36.0\) and \(\sum x^{2} = 172.1\). Find unbiased estimates of the population mean and variance.

Q2 · calculation[3 marks]

The times, in minutes, that a random sample of 12 students take to finish a puzzle are normally distributed. The sample has mean 3.84 and an unbiased estimate of standard deviation 0.42. Find a 90% confidence interval for the population mean time.

Q3 · calculation[5 marks]

A machine fills bottles with a nominal 250 ml of juice. A random sample of 9 bottles gives \(\sum x = 2232\) and \(\sum x^{2} = 553\,608\), where \(x\) ml is the volume. Assuming volumes are normally distributed, test at the 5% significance level whether the mean volume differs from 250 ml.

Q4 · analysis[6 marks]

A coach claims that a new training plan raises the mean score of her athletes on a fitness test above 30. After the plan, a random sample of 7 athletes score

34   31   36   29   35   33   33

(a) Find unbiased estimates of the population mean and variance.

(b) Test the coach's claim at the 1% significance level, stating any assumption you make.

Q5 · analysis[6 marks]

From a random sample of 10 observations of a normal variable, a 95% confidence interval for the population mean \(\mu\) is found to be \((21.3,\ 24.7)\).

(a) Find the sample mean and the unbiased estimate \(s\) of the population standard deviation.

(b) Find a 99% confidence interval for \(\mu\) from the same sample.

(c) A researcher claims \(\mu = 25\). Comment on this claim at the 5% and at the 1% level.

Q6 · analysis[5 marks]

For each situation, say whether a test for the population mean should use z or t, giving a reason.

(a) 50 waiting times from a population of unknown distribution.

(b) 6 lengths from a normal population whose standard deviation is known to be 0.3 cm.

(c) 6 lengths from a normal population of unknown variance, with \(\bar{x} = 4.33\) and \(s = 0.25\). Carry out the test of \(H_{0}: \mu = 4\) against \(H_{1}: \mu > 4\) at the 1% level.

Answer key and marking notes
Q1 · 2 marks
  • \(\bar{x} = \dfrac{36.0}{8} = 4.5\).
  • \[s^{2} = \frac{172.1 - 8(4.5)^{2}}{7} = \frac{10.1}{7} = 1.44 \text{ (3 s.f.)}\]
Q2 · 3 marks
  • \(\nu = 11\); 90% puts 5% in each tail, so \(t = 1.796\).
  • \[3.84 \pm 1.796 \times \frac{0.42}{\sqrt{12}} = 3.84 \pm 0.218\]
  • Interval: \((3.62,\ 4.06)\) minutes.
Q3 · 5 marks
  • \(\mu\) = population mean volume (ml). \(H_{0}: \mu = 250\), \(H_{1}: \mu \ne 250\).
  • \[\begin{aligned} \bar{x} &= \frac{2232}{9} = 248 \\ s^{2} &= \frac{553\,608 - 9(248)^{2}}{8} = \frac{72}{8} = 9 \end{aligned}\]
  • \[t = \frac{248 - 250}{3/\sqrt{9}} = -2.0\]
  • \(\nu = 8\), two tails at 5%: critical values \(\pm 2.306\). \(|-2.0| < 2.306\), so do not reject \(H_{0}\).
  • There is insufficient evidence at the 5% level that the mean volume differs from 250 ml.
Q4 · 6 marks
  • (a) \(\sum x = 231\), \(\bar{x} = 33\); deviations \(1, -2, 3, -4, 2, 0, 0\) give \(\sum (x - \bar{x})^{2} = 34\).
  • \(s^{2} = \dfrac{34}{6} = 5.67\) (3 s.f.).
  • (b) \(\mu\) = population mean score after the plan. \(H_{0}: \mu = 30\), \(H_{1}: \mu > 30\). Assume scores are normally distributed.
  • \[t = \frac{33 - 30}{\sqrt{5.667}/\sqrt{7}} = \frac{3}{0.8997} = 3.334\]
  • \(\nu = 6\), one tail 1%: critical value 3.143. \(3.334 > 3.143\), so reject \(H_{0}\).
  • There is sufficient evidence at the 1% level that the mean score is greater than 30.
Q5 · 6 marks
  • (a) \(\bar{x}\) is the centre: \(\dfrac{21.3 + 24.7}{2} = 23.0\). Half-width \(1.7 = 2.262 \times \dfrac{s}{\sqrt{10}}\) with \(\nu = 9\).
  • \(s = \dfrac{1.7\sqrt{10}}{2.262} = 2.377\) (4 s.f.).
  • (b) 99%: 0.5% in each tail, \(t_{9} = 3.250\). \[23.0 \pm 3.250 \times \frac{2.377}{\sqrt{10}} = 23.0 \pm 2.443\]
  • Interval: \((20.56,\ 25.44)\).
  • (c) 25 lies outside the 95% interval, so a two-tailed test at 5% rejects \(\mu = 25\): sufficient evidence at 5% that \(\mu \ne 25\).
  • 25 lies inside the 99% interval, so at the 1% level there is insufficient evidence against the claim.
Q6 · 5 marks
  • (a) z: the sample is large, so the central limit theorem makes \(\bar{X}\) approximately normal, and \(s\) estimates \(\sigma\) reliably.
  • (b) z: the population is normal and \(\sigma\) is known, so \(\dfrac{\bar{X} - \mu}{\sigma/\sqrt{n}} \sim N(0, 1)\) exactly.
  • (c) t: small sample, normal population, variance estimated by \(s^{2}\). \[t = \frac{4.33 - 4}{0.25/\sqrt{6}} = 3.233\]
  • \(\nu = 5\), one tail 1%: critical value 3.365. \(3.233 < 3.365\), so do not reject \(H_{0}\).
  • There is insufficient evidence at the 1% level that the mean length is greater than 4 cm.
Quiz

8 multiple-choice questions on this lesson

From the topic question bank. Assign them in the app for a marked score in your gradebook, or run the topic as a class game.

Q11 mark

A random sample of 8 values has \(\sum x = 56\) and \(\sum x^{2} = 420\). Find the unbiased estimate of the population variance.

  • A\(2\)
  • B\(3.5\)
  • C\(4\)
  • D\(11\)
Q21 mark

A one-tailed t-test (upper tail) at the 5% level uses a random sample of 15 observations. What is the critical value?

  • A\(2.145\)
  • B\(1.753\)
  • C\(1.645\)
  • D\(1.761\)
Q31 mark

A random sample of 9 from a normal population gives \(\bar{x} = 23.4\) and \(s = 1.8\), where \(s^{2}\) is the unbiased variance estimate. Find the test statistic for \(\mathrm{H}_0: \mu = 22\).

  • A\(t = 2.33\)
  • B\(t = 3.13\)
  • C\(t = 7.00\)
  • D\(t = 2.20\)
Q41 mark

A researcher plans a t-test for a population mean using a random sample of 7 observations. Which assumption is needed for the test to be valid?

  • AThe sample mean is normal by the central limit theorem
  • BThe population is normally distributed
  • CThe population variance is known
  • DThe sample size is at least 30
Q51 mark

The lengths, in cm, of seven leaves chosen at random from a plant are 28.4, 31.2, 29.5, 27.8, 30.1, 28.0, 28.6. Assuming lengths are normal, a test at the 5% level is carried out of whether the population mean differs from 30 cm. Which is correct?

  • A\(t = -2.11\), \(|t| > 1.96\): reject \(\mathrm{H}_0\); evidence that the mean differs from 30
  • B\(t = -1.95\), \(|t| < 2.447\): do not reject \(\mathrm{H}_0\); insufficient evidence that the mean differs from 30
  • C\(t = -0.74\), \(|t| < 2.447\): do not reject \(\mathrm{H}_0\); insufficient evidence that the mean differs from 30
  • D\(t = -1.95\), \(|t| > 1.943\): reject \(\mathrm{H}_0\); evidence that the mean differs from 30
Q61 mark

A random sample of 12 values from a normal population has \(\sum x = 150\) and \(\sum x^{2} = 1910\). Find a 99% confidence interval for the population mean.

  • A\((11.37,\ 13.63)\)
  • B\((11.17,\ 13.83)\)
  • C\((10.90,\ 14.10)\)
  • D\((10.93,\ 14.07)\)
Q71 mark

A 95% confidence interval for a population mean, based on a random sample of 10 from a normal population, is \((12.3,\ 15.7)\). Find the value of \(s\) used, where \(s^{2}\) is the unbiased variance estimate.

  • A\(s = 2.38\)
  • B\(s = 2.41\)
  • C\(s = 4.75\)
  • D\(s = 2.74\)
Q81 mark

A random sample of 8 from a normal population gives \(\bar{x} = 48.2\) and \(s = 2.5\) (unbiased). Test \(\mathrm{H}_0: \mu = 50\) against \(\mathrm{H}_1: \mu < 50\) at the 5% level. Which is correct?

  • A\(t = -2.04 > -2.998\): do not reject \(\mathrm{H}_0\); insufficient evidence that the mean is less than 50
  • B\(t = -2.04 > -2.365\): do not reject \(\mathrm{H}_0\); insufficient evidence that the mean is less than 50
  • C\(t = -2.04 < -1.895\): reject \(\mathrm{H}_0\); evidence that the mean is less than 50
  • D\(t = -0.72 > -1.895\): do not reject \(\mathrm{H}_0\); insufficient evidence that the mean is less than 50
Quiz key
Q1: C

\(\bar{x} = 56/8 = 7\), so \(s^{2} = \dfrac{420 - 8(49)}{7} = \dfrac{28}{7} = 4\). \(3.5\) divides by \(n = 8\), giving the biased sample variance. \(2\) is the standard deviation \(s\), not the variance. \(11\) computes \(\dfrac{\sum x^{2}}{n - 1} - \bar{x}^{2}\), mixing the two formulas.

Q2: D

\(\nu = 15 - 1 = 14\) and the 5% one-tailed value is \(t_{14} = 1.761\). \(1.753\) uses \(\nu = 15\), forgetting to subtract 1. \(2.145\) is the two-tailed 5% value (0.975 column). \(1.645\) is the normal value, which ignores that \(\sigma\) is estimated from a small sample.

Q3: A

\(t = \dfrac{23.4 - 22}{1.8/\sqrt{9}} = \dfrac{1.4}{0.6} = 2.33\). \(2.20\) divides by \(\sqrt{n - 1} = \sqrt{8}\); the \(n - 1\) belongs in \(s^{2}\) and the degrees of freedom, not the standard error. \(7.00\) divides \(s\) by \(n\) instead of \(\sqrt{n}\). \(3.13\) treats 1.8 as the variance and uses \(\sqrt{1.8}\).

Q4: B

The t-distribution of \(\dfrac{\bar{X} - \mu}{S/\sqrt{n}}\) is exact only when the population is normal, so with \(n = 7\) that assumption is required. A known variance would mean a z-test, not t. Needing \(n \ge 30\) is the large-sample condition for a z-approximation, the opposite of this case. The central limit theorem cannot be relied on for a sample of only 7.

Q5: B

\(\sum x = 203.6\), \(\sum x^{2} = 5931.06\), so \(\bar{x} = 29.086\) and \(s^{2} = \dfrac{5931.06 - 203.6^{2}/7}{6} = 1.535\), \(s = 1.239\). \(t = \dfrac{29.086 - 30}{1.239/\sqrt{7}} = -1.95\). Two-tailed 5% with \(\nu = 6\): \(\pm 2.447\). Since \(|t| < 2.447\), do not reject \(\mathrm{H}_0\). The second option uses the one-tailed value 1.943. The third divides by \(n\) for the variance and then uses the normal value 1.96. The fourth forgets the \(\sqrt{n}\) in the standard error.

Q6: C

\(\bar{x} = 12.5\), \(s^{2} = \dfrac{1910 - 12(12.5)^{2}}{11} = \dfrac{35}{11} = 3.182\), \(s = 1.784\). With \(t_{11} = 3.106\): \(12.5 \pm 3.106 \times \dfrac{1.784}{\sqrt{12}} = 12.5 \pm 1.60\), giving \((10.90,\ 14.10)\). \((11.17,\ 13.83)\) uses the normal value 2.576. \((11.37,\ 13.63)\) uses the 95% value \(t_{11} = 2.201\). \((10.93,\ 14.07)\) uses \(\nu = 12\) (\(t = 3.055\)).

Q7: A

Half-width \(= \dfrac{15.7 - 12.3}{2} = 1.7\). With \(t_{9} = 2.262\): \(s = \dfrac{1.7\sqrt{10}}{2.262} = 2.38\). \(2.74\) uses the normal 1.96 instead of t. \(2.41\) uses \(\nu = 10\) (\(t = 2.228\)). \(4.75\) uses the full width 3.4 as the margin.

Q8: C

\(t = \dfrac{48.2 - 50}{2.5/\sqrt{8}} = \dfrac{-1.8}{0.884} = -2.04\). The one-tailed 5% value for \(\nu = 7\) is 1.895, so the critical region is \(t < -1.895\). \(-2.04\) lies in it: reject \(\mathrm{H}_0\). The second option uses the two-tailed value 2.365. The third uses the 1% one-tailed value 2.998. The fourth forgets the \(\sqrt{n}\), computing \(-1.8/2.5\).

Lab and demo

What to project

The student lesson embeds these tabs. Open them full screen on the projector; every slider has a drag handle on the stage.

Slides

Slides for this lesson

A projectable deck for every pack is on the way. Until then, present the student lesson full screen: its sections, figure and lab tabs follow the same order as the plan above.

Also for this topic

Everything else you can use

Original work by the TheLucidSTEM team. The worksheet items are written in the style of the papers; no past paper question is reproduced.