Inferential Statistics • Lesson 14

One-Sample t-Test

Learn how to test whether a population mean differs from a specific reference value when the population standard deviation is unknown.

t-statisticDegrees of Freedomp-valueHypothesis Testing
Concept 1 of 80%

Concept 1

When Should You Use a One-Sample t-Test?

A one-sample t-test is used to test whether the mean of a population differs from a specified reference value. It is especially useful when the population standard deviation σ is unknown and variability is estimated using the sample standard deviation s.

Typical Situation

1

Sample

μ

Population mean

μ₀

Reference value

s

Sample SD

One sample → one population mean

One sample + Quantitative variable + Reference mean + σ unknown

The one-sample t-test focuses on one quantitative variable and compares its population mean with a specified reference value.

Your Turn

Solve the activity

A company has one sample of delivery times and wants to test whether the population mean differs from 30 minutes. The population standard deviation is unknown. Which test should be considered?

Analyst Workflow

One-Sample t-Test Workflow

1

Question

Define the population question.

2

Hypotheses

Write H₀ and Hₐ.

3

Calculate

Find SE and the t-statistic.

4

Evaluate

Use the t-distribution and p-value.

5

Conclude

State the result in context.

t-Test vs z-Based Test

FeatureOne-Sample t-Testz-Based Test
Population SDUsually unknownKnown
VariabilityUses sample SD sUses population SD σ
Reference distributiont-distributionStandard normal distribution

Lesson 14 Summary

✓

A one-sample t-test compares a population mean with a reference value.

✓

It commonly applies when the population standard deviation σ is unknown.

✓

The test uses the sample standard deviation s.

✓

The standard error is SE = s / √n.

✓

The t-statistic is t = (x̄ − μ₀) / (s / √n).

✓

Degrees of freedom are df = n − 1.

✓

The t-distribution accounts for additional uncertainty from estimating σ with s.

✓

The final decision can be made using the p-value and a pre-specified significance level.