{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "PTK8XCQ0GK"
    }
  ],
  "body": "\n## Summary\n\nA Bayesian hierarchical model specifies a [[prior|00NBBSXRQS]] in several stages.\nThe parameters of the data model have a prior, and that prior has unknown hyperparameters with their own hyperprior.\nIt describes data in related groups, whose parameters are different but drawn from a common population.\nIts [[posterior|0KJ7ZS8AJA]] lets groups borrow strength from each other, and it is a fully Bayesian counterpart of the [[empirical Bayes method|8GG2Z2E61R]].\n\n## Explanations\n\n### L1 human\n\nThink of test scores in many schools.\nEach school has its own average level, but the schools are alike in many ways.\nA hierarchical model says: each school's level comes from a common distribution of levels, and the shape of that distribution is itself unknown.\nA small school with few scores then gets an estimate pulled towards the overall average, while a large school mostly keeps its own average.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62F15"
    ],
    "name": "Bayesian hierarchical model",
    "same_as": {
      "wikidata": "Q17100952",
      "wikipedia": "Bayesian hierarchical modeling"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Bayesian_hierarchical_modeling"
      }
    ],
    "specializes": [
      "K3AMMSY8DD"
    ],
    "tag": "P944X6S117"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/P944X6S117/",
  "links": [
    {
      "field": "specializes",
      "target": "K3AMMSY8DD"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/P944X6S117.md",
  "msc": [
    "62F15"
  ],
  "name": "Bayesian hierarchical model",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/P94/P944X6S117.md",
  "status": null,
  "tag": "P944X6S117",
  "uri": "m2://P944X6S117",
  "url": "https://tamnd.github.io/math2/wiki/bayesian-hierarchical-model/",
  "writing": {
    "tag": "P944X6S117",
    "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
      }
    ]
  }
}
