{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $H_1, \\dots, H_m$ be null hypotheses with [[p-values|0EHYZFZ4PK]] $p_1, \\dots, p_m$, and let $\\alpha \\in (0, 1)$.\nThe *Bonferroni correction* at level $\\alpha$ is the procedure that rejects $H_i$ exactly when $p_i \\le \\alpha/m$.\n\n## Remarks\n\nAssume each p-value is valid: if $H_i$ is true, then $P(p_i \\le u) \\le u$ for all $u \\in [0, 1]$.\nLet $I_0$ be the set of true null hypotheses and $m_0$ its size.\nBy [[Boole's inequality|0EGSEE9J9R]], $P(\\text{some } H_i \\text{ with } i \\in I_0 \\text{ is rejected}) \\le \\sum_{i \\in I_0} P(p_i \\le \\alpha/m) \\le m_0 \\alpha/m \\le \\alpha$.\nSo the correction controls the [[family-wise error rate|GQCY1N8JZT]] strongly at level $\\alpha$, with no assumption on the joint law of the p-values.\nExample: with $m = 10$ and $\\alpha = 0.05$, a hypothesis is rejected when its p-value is at most $0.005$.\nNon-example: rejecting when $p_i \\le \\alpha$ is not the correction, and with $m$ independent true nulls its FWER is $1 - (1 - \\alpha)^m \u003e \\alpha$.\nEquivalently, one rejects $H_i$ when the adjusted p-value $\\min(1, m p_i)$ is at most $\\alpha$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "8GRD2TMJRR",
    "kind": "definition",
    "msc": [
      "62J15"
    ],
    "name": "Bonferroni correction",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Bonferroni_correction"
      }
    ],
    "tag": "YGP3Q2EF31",
    "uses": [
      "GQCY1N8JZT",
      "0EHYZFZ4PK",
      "0EGSEE9J9R"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/YGP3Q2EF31/",
  "links": [
    {
      "field": "defines",
      "target": "8GRD2TMJRR"
    },
    {
      "field": "uses",
      "target": "GQCY1N8JZT"
    },
    {
      "field": "uses",
      "target": "0EHYZFZ4PK"
    },
    {
      "field": "uses",
      "target": "0EGSEE9J9R"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/YGP3Q2EF31.md",
  "msc": [
    "62J15"
  ],
  "name": "Bonferroni correction",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/YGP/YGP3Q2EF31.md",
  "status": null,
  "tag": "YGP3Q2EF31",
  "uri": "m2://YGP3Q2EF31",
  "url": "https://tamnd.github.io/math2/wiki/bonferroni-correction-definition/",
  "writing": {
    "tag": "YGP3Q2EF31",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
