{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $M$ be a parametric statistical model with $k$ free real parameters, and let $x$ be data of $n$ observations.\nLet $\\hat L$ be the maximum of the [[likelihood function|05FSTXM92W]] of $M$ at $x$, the value at the [[maximum likelihood estimate|0FREPFKNS7]].\nThe *Bayesian information criterion* of $M$ at $x$ is\n$$\\mathrm{BIC} = k \\ln n - 2 \\ln \\hat L.$$\nAmong several candidate models for the same data, the BIC rule selects a model with the smallest BIC.\n\n## Remarks\n\nUnder regularity conditions, $-\\mathrm{BIC}/2$ approximates the logarithm of the marginal likelihood of $M$, up to a term that stays bounded as $n \\to \\infty$.\nSo differences of BIC approximate $-2$ times the logarithm of a Bayes factor.\nExample: with $n = 100$, a model with $k = 2$ and $\\ln \\hat L = -100$ has $\\mathrm{BIC} = 2 \\ln 100 + 200 \\approx 209.2$.\nA model with $k = 3$ and $\\ln \\hat L = -98$ has $\\mathrm{BIC} \\approx 209.8$, so the BIC rule keeps the smaller model, while the AIC values $204$ and $202$ favour the larger one.\nNon-example: $2k - 2 \\ln \\hat L$ is the [[Akaike information criterion|CMAX3KF9H0]], not the BIC; the two agree only when $\\ln n = 2$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "GXP6H9VGRB",
    "kind": "definition",
    "msc": [
      "62F15",
      "62B10"
    ],
    "name": "Bayesian information criterion",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Bayesian_information_criterion"
      }
    ],
    "tag": "H82J4YJF8N",
    "uses": [
      "05FSTXM92W",
      "0FREPFKNS7"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/H82J4YJF8N/",
  "links": [
    {
      "field": "defines",
      "target": "GXP6H9VGRB"
    },
    {
      "field": "uses",
      "target": "05FSTXM92W"
    },
    {
      "field": "uses",
      "target": "0FREPFKNS7"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/H82J4YJF8N.md",
  "msc": [
    "62F15",
    "62B10"
  ],
  "name": "Bayesian information criterion",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/H82/H82J4YJF8N.md",
  "status": null,
  "tag": "H82J4YJF8N",
  "uri": "m2://H82J4YJF8N",
  "url": "https://tamnd.github.io/math2/wiki/bayesian-information-criterion-definition/",
  "writing": {
    "tag": "H82J4YJF8N",
    "kind": "definition",
    "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
      }
    ]
  }
}
