CampusDownWiki
Total citations 10,452한국어KO 2,686EnglishEN 5,562日本語JA 743中文ZH 1,461
CampusDown ↗
English

t-test

➗ Mathematics & Statistics By CampusDown Wiki Editorial Team Last updated
A t-test is a hypothesis test that checks whether the mean of one group, or the difference between two group means, is larger than chance alone would explain. It's used when samples are small and the population standard deviation is unknown.
Contents
  1. 1. Born in a brewery
  2. 2. How it works
  3. 3. Assumptions and interpretation
  4. 4. FAQ
  5. 5. References

Born in a brewery

In the early 1900s, the Guinness brewery in Dublin hired Oxford-trained chemists to put barley and hop quality on a scientific footing. One of them, William Sealy Gosset, noticed that with only a handful of samples, using the normal distribution underestimated the error. Guinness barred employees from publishing under their own names to protect trade secrets, so in 1908 he published as "Student," which gave us "Student's t-distribution." Ronald Fisher later generalized the work and made it a cornerstone of modern statistics.

How it works

The t statistic is the mean difference divided by its standard error. It measures how big a difference is relative to the spread within the samples (the standard deviation). With few degrees of freedom the t-distribution has heavy tails, so you need a larger t to reach significance. As samples grow, it approaches the normal curve. There are three standard versions:

  • One-sample t-test: compares one group's mean with a reference value.
  • Independent-samples t-test: compares two separate groups.
  • Paired t-test: compares before-and-after values for the same people.

When the two groups have unequal variances, Welch's t-test (Bernard Welch, 1947) is safer. It's now R's default.

Assumptions and interpretation

The test assumes roughly normal data and independent observations. With about 30 or more per group, the central limit theorem makes it fairly robust to non-normality. Significance is judged by the p-value, but a p-value doesn't tell you how large the difference is. Report an effect size such as Cohen's d and a confidence interval too. Running many t-tests across three or more groups inflates the Type I error rate, so use ANOVA instead. t-tests are common in website A/B tests, for example to compare average time on page.

FAQ

What's the difference between a t-test and a z-test?
Use a z-test when the population standard deviation is known, and a t-test when it's estimated from the sample.
How big should my sample be?
There's no hard minimum, but 20–30 or more per group gives stable results.

Sources reviewed: 2026-10-26

References

  1. Student. (1908). The probable error of a mean. Biometrika, 6(1), 1–25.
  2. Welch, B. L. (1947). The generalization of 'Student's' problem. Biometrika, 34, 28–35.
  3. Box, J. F. (1987). Guinness, Gosset, Fisher, and small samples. Statistical Science, 2(1), 45–52.

Reports and materials that use this theory (Korean)

There are no materials dedicated to this theory yet, but you can search related reports in the CampusDown library (Korean).

Find more reports · Search 't검정' on CampusDown →
P-valueWhat a p-value actually measures, where the 0.05 cutoff came from, why it isn't the probability a hypothesis is true, the 2016 American Statistical Association statement, and the problem of p-hacking.➗ Mathematics & StatisticsStandard deviationWhat standard deviation measures, how it relates to variance, a worked example, why sample standard deviation divides by n−1, the 68-95-99.7 rule, and how it's used to measure investment volatility.➗ Mathematics & StatisticsNormal DistributionWhat the normal distribution is, the shape of the bell curve, the roles of mean and standard deviation, the 68-95-99.7 rule, converting to z-scores and reading cumulative probabilities, the central limit theorem, and real-world examples.➗ Mathematics & StatisticsChi-squared testThe chi-squared test, from Karl Pearson's 1900 paper and Fisher's 1922 correction to today: comparing observed and expected counts, goodness-of-fit vs independence vs homogeneity tests, degrees of freedom, and when to use Fisher's exact test.➗ Mathematics & StatisticsConfidence intervalConfidence intervals, from Jerzy Neyman's 1937 theory to modern reporting standards: computing a 95% CI, the common misreading, how sample size affects width, poll margins of error, and why journals prefer CIs to bare p-values.➗ Mathematics & StatisticsType I and Type II errorsType I and Type II errors, from Neyman and Pearson's 1933 framework: false positives vs false negatives, significance level α and power 1−β, the trade-off between them, examples from courts, COVID tests, and A/B tests, and multiple comparisons and p-hacking.➗ Mathematics & Statistics

You may also like

Latest ArticlesView all ›

New guides for college study and assignments (Korean)

This article was last updated on October 26, 2026. It is based on widely recognized original works and textbooks; when citing it in a paper, please check the original sources listed in the references.