The t-distribution

Analytika TeamLast reviewed 5 min read

The t-distribution was worked out by William Gosset, who published it in 1908 under the pen name “Student” while working at the Guinness brewery. He needed reliable conclusions from very small samples, and he showed that the normal distribution was too optimistic for them.

Why we need it

If you knew the population standard deviation, a standardised sample mean would follow the normal distribution exactly. In practice you estimate the SD from the same sample, and with small samples that estimate can be noticeably off. The t-distribution accounts for the extra uncertainty with heavier tails: extreme values are more likely than the normal curve suggests, so you need stronger evidence to reach the same conclusion.

Shape and degrees of freedom

The t-distribution is a family of curves, one for each number of degrees of freedom (df). For a one-sample t-test, df = n − 1.

  • With few df, the tails are noticeably heavier than the normal curve’s.
  • As df increases, the curve tightens towards the normal distribution.
  • By around 30 df the two are close, and by 100 they’re nearly identical.

Critical values: the practical consequence

The t value needed for a two-sided 95% confidence interval or a test at α = .05:

Degrees of freedomCritical t
24.303
52.571
102.228
302.042
1001.984
∞ (normal)1.960

With 3 observations (df = 2), a 95% confidence interval is more than twice as wide as the normal distribution would suggest. With 100 observations, the difference is tiny.

Where the t-distribution is used

  • All three t-tests: one-sample, independent and paired.
  • Confidence intervals for means and mean differences.
  • Tests of individual coefficients in linear regression.
  • Testing whether a Pearson correlation differs from zero (t with n − 2 df).

Welch’s t-test uses the t-distribution with a non-integer df, calculated from both groups’ variances and sizes. That’s why you’ll see results like t(62.14).

From t to p

A test produces a t statistic. The p-value is the area in the tails of the t-distribution beyond ±t (for a two-sided test). In the sleep-drug study, t = −4.06 with 9 df. The area beyond ±4.06 on that curve is .003, which is the p-value.

Assumptions

The t-distribution is exact when the underlying data (or differences) are normal. With non-normal data it’s an approximation, and a good one for moderate samples because of the central limit theorem. With small, strongly skewed samples it can mislead, which is when rank-based tests are the safer choice.

More in Probability distributions

Try it with the free tools

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free