Statistics

One-Sample t Test

Students compare measurement bars with one reference mark.

One-Sample t Test definition

A one-sample t test checks whether a population mean differs from a stated value using one sample and its estimated standard deviation.

In Spanish
prueba t de una muestra
Topic
Hypothesis tests and inference

One-Sample t Test in a picture

One-Sample t Test diagramIf x̄ = 12, μ₀ = 10, s = 4, and n = 16, the test statistic is 2.Difference from the null mean: 2Subtract 10 from 12Estimated standard error: 1Divide 4 by √16Test statistic: t = 2Compare using 15 degrees of freedom
If x̄ = 12, μ₀ = 10, s = 4, and n = 16, the test statistic is 2.

How it works

Subtract the hypothesized mean μ₀ from the sample mean x̄ and divide by s/√n. Under independent normal observations and the null hypothesis, this statistic follows a t distribution with n − 1 degrees of freedom. Approximate use with other populations depends on sample size and the distribution’s shape.

Worked examples

Find t for x̄ = 24, μ₀ = 20, s = 6, and n = 9.

The standard error is 6/3 = 2, so t = (24 − 20)/2 = 2.

How many degrees of freedom are used for n = 9?

8.

Why use s instead of a known population standard deviation in this test?

The population standard deviation is unknown, so the sample supplies an estimate.

Common mistake

Check independence and the shape of the population or sample, especially with small samples. The test compares a mean to a proposed mean.

Quick check

What goes in the denominator of the statistic?

What null value is subtracted from x̄?

Show answer

The hypothesized population mean μ₀.

How many degrees of freedom are there for 20 observations?

Show answer

19.

Sources

Flashcard

One-Sample t Test

Reveal the definition

A one-sample t test checks whether a population mean differs from a stated value using one sample and its estimated standard deviation.

Effortless Math. “One-Sample t Test.” Math Dictionary.