Skip to lesson

Math · AP Statistics

Chapter 4: Inference for Means

Confidence Intervals for a Mean

Estimating a population mean from a sample.

Lesson
2
Time
About 22 minutes
0 of 12 done

Step 1: Let's Learn

Read it, or press Listen and follow the words.

The population standard deviation is almost never known. Estimating it from the sample adds uncertainty, and the t distribution accounts for it.

The t distribution

It is bell-shaped like the normal but with heavier tails, giving wider intervals. As the sample grows it approaches the normal.

Degrees of freedom

For one sample, df = n − 1. Smaller df means heavier tails and a wider interval.

Conditions

Random sampling, independence with the 10% condition, and either a large sample or a roughly normal population.

The interval

The sample mean plus or minus t times s ÷ √n. The form is estimate plus or minus margin of error, as always.

Interpreting it

The confidence level describes the method: about 95% of intervals built this way capture the true mean.

Why t rather than z

When the population standard deviation is unknown and estimated from the sample, the extra uncertainty makes the distribution heavier-tailed. The t distribution accounts for it, and it is used essentially always in practice.

Degrees of freedom

For a one-sample t interval, df = n − 1. One degree is lost because the sample mean was estimated from the data. As n grows, t approaches z, which is why the distinction fades for large samples.

The normality condition

Either the population is roughly normal, or the sample is large enough for the central limit theorem. For small samples the data should be plotted and checked for strong skew or outliers.

Interpret in context

"We are 95% confident that the true mean commute time for all employees is between 22 and 28 minutes." Naming the parameter, the population and the units is what the exam is grading.

Step 2: Try It Yourself

Tap and try it out.

A sample summarised. The interval is built from its mean and spread, widened by the sample size.
020
  • Minimum8
  • Lower quartile8.50
  • Median10
  • Upper quartile11.50
  • Maximum12
  • Interquartile range3

Each of the four sections holds a quarter of the values, however wide it looks. A narrow box means the middle half of the data is packed close together.

Step 3: Watch an Example

One step at a time.

Watch Diego Build a t-Interval

A sample of 25 has mean 50 and standard deviation 10, with t* = 2.064.

  1. Step 1

    The degrees of freedom are 25 − 1 = 24.

Step 4: Your Turn

Practice makes it stick.

The Standard Error

Problem 1 of 2

s = 10 and n = 25. What is the standard error?

The Degrees of Freedom

Problem 2 of 2

A sample of 25. What are the degrees of freedom?

Estimate the Mean

1 of 8

s = 12, n = 36. Standard error?

2 of 8

A sample of 40. Degrees of freedom?

3 of 8

Mean 50, margin of error 4. Lower end of the interval?

4 of 8

An interval runs from 46 to 54. What is the sample mean?

5 of 8

That interval. What is the margin of error?

6 of 8

Which distribution has heavier tails? 1 t, 2 z.

7 of 8

Which interpretation of 95% confidence is correct?

8 of 8

s = 20, n = 100. Standard error?

Step 5: Quick Check

Show what you know.

Question 1 of 2

s = 15 and n = 25. What is the standard error?

Question 2 of 2

Why use t rather than z for a mean?

What You Learned

  • Use t when the population standard deviation is unknown.
  • Degrees of freedom are n − 1 for one sample.
  • The interval is the mean plus or minus t times s ÷ √n.