The shape of the lesson
By the end of the lesson, learners can
- 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).
- 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 ...'.
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}}\).
Forty-five minutes, phase by phase
| Time | Phase | What happens in the room | Grouping |
|---|---|---|---|
| 0 to 5 min | Hook: predict | Open 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 min | Teach and check: 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. 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 min | Teach and check: 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. 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 min | Teach and check: 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). 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 min | Check | The 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 min | Plenary | The 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 min | Exit and homework | Set the worksheet below (6 questions, 27 marks). Learners self-assess against the objectives before they leave. | Individual |
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.
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.
What to head off, and how
| Trap learners fall into | Teaching 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. |
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.
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.
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.
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.
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.
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.
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
- \(\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.)}\]
- \(\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.
- \(\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.
- (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.
- (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.
- (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.
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.
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\)
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\)
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\)
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
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
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)\)
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\)
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
\(\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.
\(\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.
\(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}\).
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.
\(\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.
\(\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\)).
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.
\(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\).
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 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.