{
  "id": "enwiki-001377062530",
  "slug": "universal-hypothesis-testing",
  "title": "Universal hypothesis testing",
  "qid": "",
  "lead": "In statistics, universal hypothesis testing is a special case of binary simple hypothesis testing. The universal problem is to distinguish between a simple null hypothesis H_0: Q = P , and the most general composite alternative H_1: Q \\neq P , using independent and identically distributed samples from Q . The setting is sometimes referred to as goodness of fit testing, or one-sample testing. Note that \"universal hypothesis testing\" is sometimes used to refer to composite hypothesis testing problems using universal inference estimators, which are statistics that work without regularity assumptions. A simple binary hypothesis testing problem involves distinguishing between H_0: Q = P_0 and H_1: Q = P_1 , using samples X_1, \\dots, X_n \\overset{\\text{i.i.d.}}{\\sim} Q . In the traditional setting of hypothesis testing P_0, P_1 are known apriori. A composite version of this problem involves sets of probability distributions \\Omega_0, \\Omega_1 , and asks to distinguish between H_0: Q \\in \\Omega_0 and H_1: Q \\in \\Omega_1 . In contrast, the universal setting corresponds to the special case of composite hypothesis testing, where the null hypothesis is simple, \\Omega_0 = P and the alternative hypothesis is the set of all distributions other than P , \\Omega_1 = \\{F: F \\neq P\\} . For example, someone might want to know if a particular coin was fair, i.e.…",
  "body": "In statistics, universal hypothesis testing is a special case of binary simple hypothesis testing. The universal problem is to distinguish between a simple null hypothesis H_0: Q = P , and the most general composite alternative H_1: Q \\neq P , using independent and identically distributed samples from Q . The setting is sometimes referred to as goodness of fit testing, or one-sample testing. Note that \"universal hypothesis testing\" is sometimes used to refer to composite hypothesis testing problems using universal inference estimators, which are statistics that work without regularity assumptions. A simple binary hypothesis testing problem involves distinguishing between H_0: Q = P_0 and H_1: Q = P_1 , using samples X_1, \\dots, X_n \\overset{\\text{i.i.d.}}{\\sim} Q . In the traditional setting of hypothesis testing P_0, P_1 are known apriori. A composite version of this problem involves sets of probability distributions \\Omega_0, \\Omega_1 , and asks to distinguish between H_0: Q \\in \\Omega_0 and H_1: Q \\in \\Omega_1 . In contrast, the universal setting corresponds to the special case of composite hypothesis testing, where the null hypothesis is simple, \\Omega_0 = P and the alternative hypothesis is the set of all distributions other than P , \\Omega_1 = \\{F: F \\neq P\\} . For example, someone might want to know if a particular coin was fair, i.e. \\mathbb{P}[X = H] = \\frac{1}{2} = \\mathbb{P}[X = T] or not, i.e. \\mathbb{P}[X = H] \\neq \\mathbb{P}[X=T] , where H,T denote the coin coming up heads or tails. The asymptotics of universal hypothesis testing were first discussed in Hoeffding's work on optimal tests for multinomial distributions. There have been many subsequent works on the topic in many directions. While Hoeffding's initial results were restricted to distributions with finite supports, later results developed solutions for continuous distributions using extensions of the Kullback-Leibler Divergence, or kernel methods. ==See also== Statistical hypothesis test Error exponents in hypothesis testing Kullback–Leibler divergence Two-sample hypothesis testing Student's t-test Nonparametric statistics",
  "categories": [
    "20157965",
    "23118434",
    "23603337",
    "27424705",
    "29176642",
    "29264808"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1377062530",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1790527668.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001377062530",
    "type": "webpage",
    "title": "Universal hypothesis testing",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/universal-hypothesis-testing",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001377062530",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1377062530",
    "note": "Immutable snapshot enwiki-001377062530"
  }
}