Skip to content
Last Dictionary

hypothesis testing

nounAlso: statistical hypothesis testing, significance test, statistical significance, statistically significant, null hypothesis, alternative hypothesis, type I error, type II error, statistical power, NHST

In plain wordsA formal procedure for deciding whether data show a real effect or could easily be explained by chance — for instance, whether one AI model is genuinely better than another.

  1. A statistical procedure for deciding between a null hypothesis (typically 'no effect' or 'no difference') and an alternative, based on how unlikely the observed data would be if the null were true. A test statistic computed from the data is compared with its distribution under the null, giving a p-valuep-value, n.: A number saying how surprising your data would be if nothing interesting were going on. A small p-value hints at a real effect, but it is not the probability that the effect is real.; the null is rejected when p falls below a significance level α fixed in advance, conventionally 0.05. Rejecting a true null is a type I error, with rate α; failing to reject a false one is a type II error, and the chance of avoiding it is the test's power, which grows with sample size and effect size. Common tests include t-tests, chi-squared tests, McNemar's test for paired classifier errors, and permutation and bootstrap tests. Comparing models on benchmarksbenchmark, n.: A fixed, shared test — a set of questions or tasks with an agreed way of scoring — used to compare AI systems with one another and to track progress over time., A/B testingA/B testing, n.: Comparing two versions of something — two models, two prompts, two designs — by randomly showing each to different groups of real users and measuring which works better. and uplift studiesuplift study, n.: An experiment that measures how much an AI really helps people do a task — often a dangerous one, like planning a biological attack — compared with people using only ordinary resources such as the internet. all rely on hypothesis testing, and small evaluation sets often lack the power to detect real differences.

    With only 200 test items, the hypothesis test had little power to detect a two-point gain.

Origin

John Arbuthnot's 1710 argument from London birth records is often called the first significance test. Karl Pearson's chi-squared test (1900) and William Gosset's t-test (1908, published as 'Student') followed. Ronald Fisher's tests of significance (1925) and 'null hypothesis' (1935), and Jerzy Neyman and Egon Pearson's theory of type I and type II errors and power (1928–1933), formed the hybrid taught today.

Usage note

Statistical significance is not practical significance: a large enough test set makes trivial differences 'significant'. Running many tests inflates false positives unless corrected, for example with the Bonferroni method.

Related

See also
  • p-valuep-value, n.: A number saying how surprising your data would be if nothing interesting were going on. A small p-value hints at a real effect, but it is not the probability that the effect is real.
  • confidence intervalconfidence interval, n.: A range of plausible values for something being estimated, such as 'accuracy 82 percent, give or take 2 points', reflecting the uncertainty that comes from measuring only a sample.
  • A/B testingA/B testing, n.: Comparing two versions of something — two models, two prompts, two designs — by randomly showing each to different groups of real users and measuring which works better.
  • central limit theoremcentral limit theorem, n.: The mathematical reason bell curves are everywhere: add up many small independent random effects and the total is almost always bell-shaped, whatever the individual effects look like.
  • uplift studyuplift study, n.: An experiment that measures how much an AI really helps people do a task — often a dangerous one, like planning a biological attack — compared with people using only ordinary resources such as the internet.
  • benchmarkbenchmark, n.: A fixed, shared test — a set of questions or tasks with an agreed way of scoring — used to compare AI systems with one another and to track progress over time.

Mentioned in

A/B testingA/B testing, n.: Comparing two versions of something — two models, two prompts, two designs — by randomly showing each to different groups of real users and measuring which works better., central limit theoremcentral limit theorem, n.: The mathematical reason bell curves are everywhere: add up many small independent random effects and the total is almost always bell-shaped, whatever the individual effects look like., confidence intervalconfidence interval, n.: A range of plausible values for something being estimated, such as 'accuracy 82 percent, give or take 2 points', reflecting the uncertainty that comes from measuring only a sample., p-valuep-value, n.: A number saying how surprising your data would be if nothing interesting were going on. A small p-value hints at a real effect, but it is not the probability that the effect is real.