Other meanings of test
Statistics
A statistical hypothesis test is a formal procedure for deciding whether a claim about a population, based on sample data, is supported by the evidence. It quantifies the strength of evidence against a default assumption (the null hypothesis) and is a cornerstone of scientific inference, used across fields from medicine to particle physics.1
The procedure begins with two competing hypotheses: the null hypothesis (H₀), typically a statement of no effect or no difference, and the alternative hypothesis (H₁ or Hₐ), which contradicts H₀. The test computes a test statistic from the sample data, and the p-value is the probability of obtaining a statistic as extreme as the observed one, assuming H₀ is true.2 If the p-value is less than a pre-specified significance level α (commonly 0.05), the result is deemed statistically significant, and H₀ is rejected in favor of H₁.
This logic is analogous to a criminal trial: the null hypothesis is “innocent until proven guilty,” and the evidence (data) must be strong enough to convict (reject H₀) beyond a reasonable doubt (α).3
The roots of hypothesis testing lie in the 18th century with John Arbuthnot’s 1710 analysis of sex ratios, but the modern framework emerged in the early 20th century. Ronald Fisher introduced the concept of the null hypothesis and the p-value in the 1920s, advocating for significance testing as a means of inductive inference.4 In 1933, Jerzy Neyman and Egon Pearson formalized the decision-theoretic approach, introducing Type I and Type II errors and the concept of power.5 The two schools—Fisherian significance testing and Neyman-Pearson hypothesis testing—were later merged into the hybrid procedure commonly taught today, though the philosophical differences remain a subject of debate.
Two types of errors can occur: Type I error (rejecting a true H₀) and Type II error (failing to reject a false H₀). The probability of a Type I error is α, while the probability of a Type II error is β. The power of a test, 1−β, is the probability of correctly rejecting a false H₀. Power depends on the effect size, sample size, significance level, and the variability of the data.6 Researchers often conduct power analyses before collecting data to ensure their study is sensitive enough to detect meaningful effects.
Hypothesis tests are ubiquitous in scientific research. Common examples include the t-test for comparing means, the chi-squared test for categorical data, the F-test for variances, and the Mann-Whitney U test for non-parametric comparisons.7 In medicine, randomized controlled trials use hypothesis tests to evaluate treatment efficacy; in psychology, they underpin behavioral experiments; in economics, they assess policy impacts. In particle physics, the discovery of the Higgs boson in 2012 required a significance of 5σ, corresponding to a p-value of about 3×10⁻⁷, to avoid false claims.8
The p-value is frequently misunderstood. A common error is interpreting it as the probability that H₀ is true, or as the probability that the result occurred by chance alone. In fact, the p-value is conditional on H₀ being true and does not quantify the probability of the hypothesis itself.2 The American Statistical Association issued a statement in 2016 warning against the misuse of p-values, and many journals now require effect sizes and confidence intervals alongside p-values.9 The “replication crisis” in psychology and other fields has highlighted the problem of p-hacking and publication bias, leading to calls for more robust statistical practices.
Beyond the standard framework, there are several niche but important topics. Sequential analysis, developed by Abraham Wald, allows for interim analyses in clinical trials, stopping early if results are conclusive, which is efficient but requires adjusted significance levels.10 Bayesian hypothesis testing offers an alternative that incorporates prior beliefs and produces a Bayes factor, which quantifies evidence for H₁ over H₀.11 Randomization tests, also known as permutation tests, make no distributional assumptions and are computationally intensive but exact. In high-energy physics, the CLs method is used to set upper limits on signals, a technique that differs from conventional frequentist tests. Additionally, the Behrens-Fisher problem—comparing means when variances are unequal—has no exact solution, leading to approximations like Welch’s t-test. Finally, the multiple comparisons problem arises when testing many hypotheses simultaneously, requiring corrections such as the Bonferroni or Benjamini-Hochberg procedures to control the family-wise error rate or false discovery rate.12
This article focuses on the frequentist paradigm of hypothesis testing; for alternative approaches, see Bayesian inference.
Served from cache
Help improve the encyclopedia. Reports go straight to the site manager.