Maths4U
Menu

Maths4U Original · Learn, check, explain

t-distribution — 9231 FPS

Use sample variance and the appropriate t degrees of freedom.

Notes and key methods

For independent observations from a normal population of unknown variance, \(\displaystyle t= \frac{\bar{x}- \mu_{0}}{\frac{s}{\sqrt{n}}}\) has n−1 degrees of freedom under \(\displaystyle H_{0}\). The sample variance \(\displaystyle s^{2}\) uses denominator n−1.

A confidence interval uses \(\displaystyle \bar{x}\pm \frac{t_{n- 1, 1- \frac{\alpha }{2}}s}{\sqrt{n}}\). The t distribution allows uncertainty from estimating σ; replacing its quantile by z can give an interval that is too narrow for a small sample.

Check the conditions

Three worked examples

Example 1 · One-sample t inference

A random sample of 8 independent normal observations has mean 24 and unbiased sample standard deviation 4. Test \(H_0:\mu=22\) against an increase; the population variance is unknown.

Use a 5% significance level for a written conclusion. A distribution calculator may be used for numerical p-values.

  1. Find the observed t statistic.
  2. Find the degrees of freedom.
  3. Find the one-sided p-value.
  4. Find the half-width of a two-sided 95% t confidence interval.
Show the reasoning

(a)

\(\displaystyle t= \frac{\bar{x}- \mu_{0}}{\frac{s}{\sqrt{n}}}= 1.4142135623731\)

Answer: \(1.4142135623731\).

(b)

\(n-1=7\)

Answer: \(7\).

(c)

\(P(T_{7}\ge 1.41421356)=0.10010003708312\)

Answer: \(0.10010003708312\).

(d)

\(\displaystyle \frac{t_{n- 1, 0.975}s}{\sqrt{n}}= 3.34408368651884\)

Answer: \(3.34408368651884\).

The p-value is \(0.10010003708312\). Since it exceeds 0.05, do not reject \(\displaystyle H_{0}\): the sample gives insufficient evidence that the population mean exceeds its null value. This does not give the probability that \(\displaystyle H_{0}\) is true.

Example 2 · One-sample t inference

A random sample of 9 independent normal observations has mean 25.5 and unbiased sample standard deviation 5. Test \(H_0:\mu=23\) against an increase; the population variance is unknown.

Use a 5% significance level for a written conclusion. A distribution calculator may be used for numerical p-values.

  1. Find the observed t statistic.
  2. Find the degrees of freedom.
  3. Find the one-sided p-value.
  4. Find the half-width of a two-sided 95% t confidence interval.
Show the reasoning

(a)

\(\displaystyle t= \frac{\bar{x}- \mu_{0}}{\frac{s}{\sqrt{n}}}= 1.5\)

Answer: \(1.5\).

(b)

\(n-1=8\)

Answer: \(8\).

(c)

\(P(T_{8}\ge 1.5)=0.0860016459759556\)

Answer: \(0.0860016459759556\).

(d)

\(\displaystyle \frac{t_{n- 1, 0.975}s}{\sqrt{n}}= 3.84334022534028\)

Answer: \(3.84334022534028\).

The p-value is \(0.0860016459759556\). Since it exceeds 0.05, do not reject \(\displaystyle H_{0}\): the sample gives insufficient evidence that the population mean exceeds its null value. This does not give the probability that \(\displaystyle H_{0}\) is true.

Example 3 · One-sample t inference

A random sample of 10 independent normal observations has mean 27 and unbiased sample standard deviation 2. Test \(H_0:\mu=24\) against an increase; the population variance is unknown.

Use a 5% significance level for a written conclusion. A distribution calculator may be used for numerical p-values.

  1. Find the observed t statistic.
  2. Find the degrees of freedom.
  3. Find the one-sided p-value.
  4. Find the half-width of a two-sided 95% t confidence interval.
Show the reasoning

(a)

\(\displaystyle t= \frac{\bar{x}- \mu_{0}}{\frac{s}{\sqrt{n}}}= 4.74341649025257\)

Answer: \(4.74341649025257\).

(b)

\(n-1=9\)

Answer: \(9\).

(c)

\(P(T_{9}\ge 4.74341649)=0.000526935628508277\)

Answer: \(0.000526935628508277\).

(d)

\(\displaystyle \frac{t_{n- 1, 0.975}s}{\sqrt{n}}= 1.43071381194133\)

Answer: \(1.43071381194133\).

The p-value is \(0.000526935628508277\). Since it is at most 0.05, reject \(\displaystyle H_{0}\): there is evidence that the population mean exceeds its null value. This does not give the probability that \(\displaystyle H_{0}\) is true.

Common mistakes

Practise with answer checking

Original exam-style problems

Write complete solutions before opening the worked solution. The marking guidance rewards reasoning as well as answers.

Examination practice · 2020–2026

Apply the method to recent source-labelled questions from this chapter.

Browse recent examination questions · All topic resources and the full bank

Next skill: Hypothesis tests concerning the difference in means →