{
  "aliases": null,
  "backlinks": [
    {
      "field": "about",
      "target": "4F0N5J5QT2"
    },
    {
      "field": "uses",
      "target": "4F0N5J5QT2"
    },
    {
      "field": "defines",
      "target": "4PBC71YCTK"
    }
  ],
  "body": "\n## Summary\n\nThe sequential probability ratio test, or SPRT, is a sequential test of a simple null hypothesis against a simple alternative.\nAfter each observation it updates the likelihood ratio of the data and stops as soon as this ratio leaves a fixed interval.\nAbraham Wald introduced it, and it is the basic procedure of [[sequential analysis|9CWYNB9003]].\nAmong all tests with the same error probabilities, it needs the smallest expected number of observations under both hypotheses.\n\n## Explanations\n\n### L1 human\n\nTwo explanations of the data compete, and each new observation makes one of them a little more plausible than the other.\nThe test keeps a running score, the ratio of how likely the data are under the two explanations.\nIt stops and picks the alternative when the score climbs above an upper bar, and picks the null hypothesis when it falls below a lower bar.\nFor example, to test whether a coin shows heads with probability $1/2$ or $2/3$, each head multiplies the score by $4/3$ and each tail by $2/3$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62L10",
      "62F03"
    ],
    "name": "Sequential probability ratio test",
    "same_as": {
      "wikidata": "Q2271882",
      "wikipedia": "Sequential probability ratio test"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Sequential_probability_ratio_test"
      }
    ],
    "specializes": [
      "087P03NEND"
    ],
    "tag": "SXR93CAP1R"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/SXR93CAP1R/",
  "links": [
    {
      "field": "specializes",
      "target": "087P03NEND"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/SXR93CAP1R.md",
  "msc": [
    "62L10",
    "62F03"
  ],
  "name": "Sequential probability ratio test",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/SXR/SXR93CAP1R.md",
  "status": null,
  "tag": "SXR93CAP1R",
  "uri": "m2://SXR93CAP1R",
  "url": "https://tamnd.github.io/math2/wiki/sequential-probability-ratio-test/",
  "writing": {
    "tag": "SXR93CAP1R",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
