{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $G = (V, E)$ be a finite [[graph|00C0BR7D7H]], directed or undirected, and let $X = (X_v)_{v \\in V}$ be a family of [[random variables|0PNRKMRC55]] indexed by the vertices.\nA *Markov property* for $G$ is a list of [[conditional independence|0THJ7416DX]] statements $X_A \\perp X_B \\mid X_S$, for subsets $A, B, S \\subseteq V$, that is read off the graph.\nThe *graphical model* of $G$ is the set of all [[joint distributions|0DR81R1F2B]] of $X$ that satisfy the Markov property of $G$.\nFor a directed acyclic graph it is called a Bayesian network, and for an undirected graph a Markov random field.\n\n## Remarks\n\nHere $X_A = (X_v)_{v \\in A}$.\nExample: the undirected path $1 - 2 - 3$ gives the model of all distributions with $X_1 \\perp X_3 \\mid X_2$.\nA Markov chain $X_1, X_2, X_3$ lies in this model.\nNon-example: let $X_1, X_2$ be independent fair coins and $X_3 = X_1$.\nThen $X_1$ and $X_3$ are dependent given $X_2$, so this distribution is not in the model of the path.\nA complete graph imposes no condition, so its model contains all joint distributions.\nOften the model is restricted further to a parametric family, such as the Gaussian graphical models.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "Q3FQAD1BXG",
    "kind": "definition",
    "msc": [
      "62H22"
    ],
    "name": "Graphical model",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Graphical_model"
      }
    ],
    "tag": "J10YF5CXX9",
    "uses": [
      "00C0BR7D7H",
      "0DR81R1F2B",
      "0THJ7416DX",
      "0PNRKMRC55"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/J10YF5CXX9/",
  "links": [
    {
      "field": "defines",
      "target": "Q3FQAD1BXG"
    },
    {
      "field": "uses",
      "target": "00C0BR7D7H"
    },
    {
      "field": "uses",
      "target": "0DR81R1F2B"
    },
    {
      "field": "uses",
      "target": "0THJ7416DX"
    },
    {
      "field": "uses",
      "target": "0PNRKMRC55"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/J10YF5CXX9.md",
  "msc": [
    "62H22"
  ],
  "name": "Graphical model",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/J10/J10YF5CXX9.md",
  "status": null,
  "tag": "J10YF5CXX9",
  "uri": "m2://J10YF5CXX9",
  "url": "https://tamnd.github.io/math2/wiki/graphical-model-definition/",
  "writing": {
    "tag": "J10YF5CXX9",
    "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
      }
    ]
  }
}
