{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\set{f(\\cdot \\mid \\theta) : \\theta \\in \\Theta}$ be a [[parametric model|Q0DXKAQXE1]] with $\\Theta \\subseteq \\R^k$ open, regular enough that its [[Fisher information|G1Z3WSTE8Q]] matrix $I(\\theta)$ exists for every $\\theta \\in \\Theta$.\nThe *Jeffreys prior* is the [[prior|00NBBSXRQS]] on $\\Theta$ with density with respect to Lebesgue measure\n$$\\pi(\\theta) \\propto \\sqrt{\\det I(\\theta)},$$\nwhere $\\det$ is the [[determinant|0C3CFHDN6R]].\nIf $\\int_\\Theta \\sqrt{\\det I(\\theta)} \\, d\\theta = \\infty$, it is an improper prior, used only when the resulting posterior is proper.\n\n## Remarks\n\nExample: for one Bernoulli observation with chance $p \\in (0, 1)$, $I(p) = 1/(p(1 - p))$.\nSo the Jeffreys prior is proportional to $p^{-1/2}(1 - p)^{-1/2}$, which is the proper distribution $\\mathrm{Beta}(1/2, 1/2)$.\nFor the mean $\\mu$ of $\\mathcal{N}(\\mu, \\sigma^2)$ with $\\sigma$ known, $I(\\mu) = 1/\\sigma^2$ is constant, so the Jeffreys prior is the improper flat prior on $\\R$.\nFor the scale $\\sigma \u003e 0$ of $\\mathcal{N}(0, \\sigma^2)$, $I(\\sigma) = 2/\\sigma^2$, so the Jeffreys prior is proportional to $1/\\sigma$.\nInvariance: let $\\varphi = h(\\theta)$ for a smooth bijection $h$ with smooth inverse.\nThen the Jeffreys prior computed in the parameter $\\varphi$ is the image of the Jeffreys prior in $\\theta$.\nThe reason is that $\\det I$ is multiplied by the square of the Jacobian determinant of the change of variables.\nNon-example: the flat prior on $p \\in (0, 1)$ is not the Jeffreys prior of the Bernoulli model, since its density $1$ is not proportional to $p^{-1/2}(1 - p)^{-1/2}$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "18MMYZ7922",
    "kind": "definition",
    "msc": [
      "62F15"
    ],
    "name": "Jeffreys prior",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Jeffreys_prior"
      }
    ],
    "tag": "NTKTY1A2TH",
    "uses": [
      "Q0DXKAQXE1",
      "00NBBSXRQS",
      "G1Z3WSTE8Q",
      "0C3CFHDN6R"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/NTKTY1A2TH/",
  "links": [
    {
      "field": "defines",
      "target": "18MMYZ7922"
    },
    {
      "field": "uses",
      "target": "Q0DXKAQXE1"
    },
    {
      "field": "uses",
      "target": "00NBBSXRQS"
    },
    {
      "field": "uses",
      "target": "G1Z3WSTE8Q"
    },
    {
      "field": "uses",
      "target": "0C3CFHDN6R"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/NTKTY1A2TH.md",
  "msc": [
    "62F15"
  ],
  "name": "Jeffreys prior",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/NTK/NTKTY1A2TH.md",
  "status": null,
  "tag": "NTKTY1A2TH",
  "uri": "m2://NTKTY1A2TH",
  "url": "https://tamnd.github.io/math2/wiki/jeffreys-prior-definition/",
  "writing": {
    "tag": "NTKTY1A2TH",
    "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
      }
    ]
  }
}
