Hypothesis Tests for One Mean: Unknown Population Variance

How to perform a one-sample t-test for the population mean when the population variance is unknown: forming the t-statistic with the sample standard deviation, identifying the rejection region using the Student's t-distribution with n-1 degrees of freedom, and carrying out right-tailed, left-tailed, and two-tailed tests.

Step 1 of 157%

Tutorial

The One-Sample T-Test

When testing a hypothesis about a population mean μ\mu, if the population variance σ2\sigma^2 is unknown -- which is the typical situation in practice -- we cannot use a z-test. Instead, we replace σ\sigma with the sample standard deviation ss. Assuming the underlying population is approximately normal, the resulting standardized statistic follows a Student's t-distribution with n1n-1 degrees of freedom.

The one-sample t-statistic is

t=xˉμ0s/n,df=n1.t = \dfrac{\bar{x} - \mu_0}{s/\sqrt{n}}, \qquad \text{df} = n - 1.

The procedure mirrors the z-test, except that the critical value comes from the t-distribution. For a right-tailed test at significance level α\alpha:

  1. State H0:μ=μ0H_0: \mu = \mu_0 versus H1:μ>μ0H_1: \mu > \mu_0.
  2. Compute t=xˉμ0s/nt = \dfrac{\bar{x} - \mu_0}{s/\sqrt{n}}.
  3. Look up tα,n1t_{\alpha,\, n-1}, the upper α\alpha critical value with n1n-1 degrees of freedom.
  4. Reject H0H_0 if t>tα,n1t > t_{\alpha,\, n-1}; otherwise, fail to reject.

For example, suppose a sample of n=10n=10 observations yields xˉ=52\bar{x}=52 and s=6s=6, and we test H0:μ=50H_0: \mu = 50 versus H1:μ>50H_1: \mu > 50 at α=0.05\alpha = 0.05. Then

t=52506/10=21.8971.054.t = \dfrac{52 - 50}{6/\sqrt{10}} = \dfrac{2}{1.897} \approx 1.054.

With df =9= 9, the critical value is t0.05,9=1.833t_{0.05,\,9} = 1.833. Since 1.054<1.8331.054 < 1.833, we fail to reject H0H_0.

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