t intervals for a mean

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Statistics (AP-aligned) › Confidence intervals

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

t intervals for a mean

Confidence intervals.

Warm-up

Three quick questions from earlier lessons.

  1. From the same sample of 458, a 99% and a 90% interval are computed. Which is wider?
    1. The 99% interval
    2. The 90% interval
    3. They have the same width
  2. What does the confidence level 90% mean?
    1. In repeated random sampling, about 90% of the intervals built this way capture the parameter
    2. This interval contains the parameter with probability 90%
    3. 90% of the data fall in the interval
  3. A 95% interval (z* = 1.96) has margin of error 0.07. From the same data, find the margin of error of a 99% interval (z* = 2.576).

Discover

To estimate a mean we usually do not know σ, so we use the sample's ss. Does that add uncertainty?

  1. Yes: we use a slightly larger t critical value
  2. No: s is just as good as σ

Key idea

The one-sample t interval.

xˉ±t∗sn\bar{x} \pm t^*\dfrac{s}{\sqrt{n}}, with t∗t^* from the t distribution with n−1n - 1 degrees of freedom. Conditions: random sample; population roughly normal or nn large (about 30 or more), with no strong outliers for small nn.

Worked example

n=16n = 16, xˉ=50\bar{x} = 50, s=8s = 8, t∗=2.131t^* = 2.131 (15 df, 95%).

SE=2SE = 2
8/4.
ME=4.262ME = 4.262
2.131 × 2.
(45.738,54.262)(45.738, 54.262)
50 ± 4.262.

Your turn, guided

Your turn: n=9n = 9, s=6s = 6. The standard error.

22
6/√9.

Practice ★

  1. A random sample of 25 has standard deviation s = 16. With t* = 2.064 (24 df, 95%), find the margin of error for the mean.
  2. A random sample of 25 has standard deviation s = 13. With t* = 2.064 (24 df, 95%), find the margin of error for the mean.
  1. A one-sample t interval uses a sample of 10. How many degrees of freedom?

Watch out!

Practice ★★

  1. Why is a t critical value used for a confidence interval for a mean from a sample of 40?
    1. Because σ is estimated by s, which adds variability
    2. Because n is less than 1,000
    3. Because the data are skewed

Exit ticket

Three questions to check you have got it.

  1. A random sample of 25 has standard deviation s = 16. With t* = 2.064 (24 df, 95%), find the margin of error for the mean.
  2. A random sample of 25 has standard deviation s = 13. With t* = 2.064 (24 df, 95%), find the margin of error for the mean.
  3. A random sample of 25 has standard deviation s = 19. With t* = 2.064 (24 df, 95%), find the margin of error for the mean.

Summary card

t interval for μ

xˉ±t∗s/n\bar{x} \pm t^* s/\sqrt{n}, df =n−1= n - 1.

Watch out: t*, not z*, when σ is estimated.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A random sample of 16 has standard deviation s = 10. With t* = 2.131 (15 df, 95%), find the width of the t interval for the mean.
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits