{
  "aliases": [
    "hypothesis-test",
    "hypothesis-testing",
    "significance-test",
    "null-hypothesis"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0EE19CFEEF"
    },
    {
      "field": "uses",
      "target": "0EHYZFZ4PK"
    },
    {
      "field": "uses",
      "target": "0EN0V3NY20"
    },
    {
      "field": "uses",
      "target": "0HYP606RYF"
    },
    {
      "field": "uses",
      "target": "0R41PVFA39"
    },
    {
      "field": "uses",
      "target": "1R358D2T7J"
    },
    {
      "field": "uses",
      "target": "1ZSTQGCCCQ"
    },
    {
      "field": "uses",
      "target": "2WXDHWVZ03"
    },
    {
      "field": "uses",
      "target": "4PBC71YCTK"
    },
    {
      "field": "uses",
      "target": "8085SD9EYY"
    },
    {
      "field": "uses",
      "target": "849ASYBYJ6"
    },
    {
      "field": "uses",
      "target": "8GWEWBZE9P"
    },
    {
      "field": "uses",
      "target": "9RPYB7S4HM"
    },
    {
      "field": "uses",
      "target": "B7HPB2Z6GC"
    },
    {
      "field": "uses",
      "target": "EJ3W3836VZ"
    },
    {
      "field": "uses",
      "target": "ESQCJ06KZD"
    },
    {
      "field": "uses",
      "target": "G20KZ755WW"
    },
    {
      "field": "uses",
      "target": "KZDMD3SDJA"
    },
    {
      "field": "uses",
      "target": "M3B0JFVTW0"
    },
    {
      "field": "uses",
      "target": "MK4FDH3EDM"
    },
    {
      "field": "uses",
      "target": "MSN9TFS59W"
    },
    {
      "field": "uses",
      "target": "PZGNRA2DAY"
    },
    {
      "field": "uses",
      "target": "R8N0CCDJZD"
    },
    {
      "field": "uses",
      "target": "SARNZPAKE5"
    },
    {
      "field": "uses",
      "target": "T9640YF4TX"
    },
    {
      "field": "uses",
      "target": "W8DZQZQTJA"
    },
    {
      "field": "uses",
      "target": "WB25VJQEXJ"
    },
    {
      "field": "uses",
      "target": "YA786MZ8QD"
    },
    {
      "field": "uses",
      "target": "YB9390ZE4W"
    },
    {
      "field": "specializes",
      "target": "0EN0V3NY20"
    },
    {
      "field": "specializes",
      "target": "0HYP606RYF"
    },
    {
      "field": "specializes",
      "target": "26E0HYRDS8"
    },
    {
      "field": "specializes",
      "target": "2ECAM46NE2"
    },
    {
      "field": "specializes",
      "target": "38SETDT2HN"
    },
    {
      "field": "specializes",
      "target": "8MTVCMAATD"
    },
    {
      "field": "specializes",
      "target": "CKF9KDXBP7"
    },
    {
      "field": "specializes",
      "target": "DPW8KNHE6P"
    },
    {
      "field": "specializes",
      "target": "EG4VCBXDKZ"
    },
    {
      "field": "specializes",
      "target": "G14XJXPKFS"
    },
    {
      "field": "specializes",
      "target": "J6JP5CJNPX"
    },
    {
      "field": "specializes",
      "target": "N9ZB0KMV0B"
    },
    {
      "field": "specializes",
      "target": "NBK6G2VB7A"
    },
    {
      "field": "specializes",
      "target": "SXR93CAP1R"
    },
    {
      "field": "specializes",
      "target": "Y5HMW0BDTP"
    },
    {
      "field": "specializes",
      "target": "YM1BNA80RC"
    },
    {
      "field": "specializes",
      "target": "YZYHWC6C5F"
    },
    {
      "field": "about",
      "target": "EJ3W3836VZ"
    }
  ],
  "body": "\n## Summary\n\nA statistical hypothesis test is a rule that uses data to decide whether to reject a hypothesis about the law of the data.\nOne fixes a null hypothesis $H_0$ and an alternative hypothesis $H_1$, for example $H_0 \\colon \\theta \\in \\Theta_0$ and $H_1 \\colon \\theta \\in \\Theta_1$ with disjoint sets $\\Theta_0$ and $\\Theta_1$.\nOne computes a test statistic $T(X)$ and rejects $H_0$ when $T(X)$ is in a critical region $C$. The region is chosen so that $P_\\theta(T(X) \\in C) \\le \\alpha$ for each $\\theta \\in \\Theta_0$, for a significance level $\\alpha$ such as $0.05$.\n\n## Remarks\n\nEquivalently, one can compute the [[p-value|0EHYZFZ4PK]] and reject $H_0$ when it is at most $\\alpha$.\nA test can make [[two types of errors|0R41PVFA39]]: reject a true $H_0$, or fail to reject a false $H_0$. The level $\\alpha$ bounds the probability of the first error.\nThe power of the test at $\\theta \\in \\Theta_1$ is $P_\\theta(T(X) \\in C)$, the probability to reject $H_0$ when it is false.\nNot rejecting $H_0$ is not a proof that $H_0$ is true.\n\n## Explanations\n\n### L1 human\n\nA hypothesis test asks whether the data are surprising under a default assumption, the null hypothesis.\nIf the data are too surprising, one rejects the assumption. The significance level fixes how often one accepts to reject a true assumption.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "aliases": [
      "hypothesis-test",
      "hypothesis-testing",
      "significance-test",
      "null-hypothesis"
    ],
    "kind": "concept",
    "msc": [
      "62F03"
    ],
    "name": "Statistical hypothesis test",
    "same_as": {
      "wikidata": "Q210832",
      "wikipedia": "Statistical hypothesis test"
    },
    "sources": [
      {
        "locator": "Definition of terms",
        "url": "https://en.wikipedia.org/wiki/Statistical_hypothesis_test"
      },
      {
        "locator": "Performing a frequentist hypothesis test in practice",
        "url": "https://en.wikipedia.org/wiki/Statistical_hypothesis_test"
      }
    ],
    "tag": "087P03NEND",
    "uses": [
      "036756NFD6"
    ]
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/087P03NEND/",
  "links": [
    {
      "field": "uses",
      "target": "036756NFD6"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/087P03NEND.md",
  "msc": [
    "62F03"
  ],
  "name": "Statistical hypothesis test",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/087/087P03NEND.md",
  "status": null,
  "tag": "087P03NEND",
  "uri": "m2://087P03NEND",
  "url": "https://tamnd.github.io/math2/wiki/statistical-hypothesis-test/",
  "writing": {
    "tag": "087P03NEND",
    "kind": "concept",
    "level": "W1",
    "next": [
      {
        "what": "edge defines in",
        "note": "at least one definition",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of in",
        "note": "at least two examples",
        "have": 0,
        "want": 2
      },
      {
        "what": "edge not_instance_of in",
        "note": "at least one non-example",
        "have": 0,
        "want": 1
      }
    ]
  }
}
