Confidence Intervals for One Mean: Unknown Population Variance

Constructing confidence intervals for a population mean μ\mu when the population standard deviation σ\sigma is unknown, using the sample standard deviation ss and a critical value from the Student's t-distribution with n1n-1 degrees of freedom.

Step 1 of 157%

Tutorial

From z to t: Confidence Intervals When $\sigma$ is Unknown

When constructing a confidence interval for the population mean μ\mu, the formula xˉ±zσn\bar{x} \pm z^* \cdot \dfrac{\sigma}{\sqrt{n}} requires knowing the population standard deviation σ\sigma. In practice σ\sigma is almost never known, so we replace it with the sample standard deviation ss.

This substitution introduces extra uncertainty, so we cannot use the normal critical value zz^*. Instead, we use a critical value from the Student's t-distribution with n1n-1 degrees of freedom:

xˉ±tn1sn\bar{x} \pm t^*_{n-1} \cdot \dfrac{s}{\sqrt{n}}

Here:

  • xˉ\bar{x} is the sample mean,
  • ss is the sample standard deviation,
  • nn is the sample size,
  • tn1t^*_{n-1} is the critical value from the t-distribution with df=n1\text{df} = n-1 degrees of freedom.

The quantity sn\dfrac{s}{\sqrt{n}} is the estimated standard error, and tsnt^* \cdot \dfrac{s}{\sqrt{n}} is the margin of error.

For example, suppose a random sample of n=16n = 16 measurements has xˉ=10\bar{x} = 10 and s=4s = 4. For a 95% confidence interval, df=15\text{df} = 15 and t15=2.131t^*_{15} = 2.131. The margin of error is

ME=2.131416=2.1311=2.131,\text{ME} = 2.131 \cdot \dfrac{4}{\sqrt{16}} = 2.131 \cdot 1 = 2.131,

so the confidence interval is (102.131, 10+2.131)=(7.869, 12.131)(10 - 2.131,\ 10 + 2.131) = (7.869,\ 12.131).

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle