statistics

student t test

Comparing means of small samples when the variance itself is estimated from the data.
1 related articles

Description

The Student's t-test is a statistical hypothesis test used to determine whether the means of two groups are significantly different from each other. It is specifically designed for small sample sizes, where the central limit theorem may not guarantee a normal distribution of sample means, and where the population variance is unknown and must be estimated from the data. The test accounts for the extra uncertainty introduced by this estimation, making it a cornerstone of classical statistics.

History

The test was developed by William Sealy Gosset while working at the Guinness Brewery in Dublin, and published in 1908 under the pseudonym 'Student' because his employer forbade employees from publishing research.

How it works

The test calculates a t-statistic, which is the difference between the two sample means divided by the standard error of that difference. The standard error is computed from the sample variances and sample sizes. The t-statistic is then compared to a t-distribution, which has heavier tails than the normal distribution, reflecting the additional uncertainty from estimating the variance. The degrees of freedom of the t-distribution depend on the sample sizes and whether the variances are assumed equal.

In practice

It is used in virtually every field that compares averages — from clinical trials testing a new drug against a placebo, to A/B testing in web design, to comparing the mean yield of two agricultural plots.

Fun fact

Gosset's pseudonym 'Student' was so well-known that the test is still called 'Student's t-test' today, even though his real identity was revealed shortly after his death.

Concept graph →

Related articles · 1

q-bio.CB2026-09-102 minarXiv:2609.90002
Watchdogs That Forgot How to Bark: T Cells in Diabetes
A watchdog that yawns and turns away instead of barking at an intruder is a bad guard. That is roughly how CD8+ T cells behave in people with type 2 diabetes. These cells are professional killers: they patrol the body, find infected or cancerous cells, and destroy them. But in diabetes, something breaks in the recognition system itself, and the watchdogs stop recognizing the enemy.