{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "08QCA2F1NX"
    },
    {
      "field": "uses",
      "target": "0YVDC5PYDW"
    }
  ],
  "body": "\n## Definition\n\nLet $\\mu$ be a probability distribution on $\\mathbb{R}^2$, for example the [[joint distribution|0QAR0XDZH4]] of real random variables $X$ and $Y$.\nThe first marginal distribution of $\\mu$ is the distribution $\\mu_1$ on $\\mathbb{R}$ with $\\mu_1(A) = \\mu(A \\times \\mathbb{R})$ for each Borel set $A \\subseteq \\mathbb{R}$. The second marginal is $\\mu_2(B) = \\mu(\\mathbb{R} \\times B)$.\nIf $\\mu$ is the law of $(X, Y)$, then $\\mu_1$ is the law of $X$ and $\\mu_2$ is the law of $Y$.\n\n## Remarks\n\nThe same definition works on a product $E_1 \\times E_2$ of measurable spaces, and for $n$ variables with the projections onto some of the coordinates.\nIn the discrete case, $P(X = x) = \\sum_{y} P(X = x, Y = y)$. In the case of a joint density $f(x, y)$, $X$ has the density $f_X(x) = \\int_{-\\infty}^{\\infty} f(x, y) \\, dy$.\nThe name comes from tables: the sums of the rows and the columns of a joint table are written in its margins.\n\n## Explanations\n\n### L1 human\n\nTo get the marginal distribution of $X$ from a joint table of $X$ and $Y$, add up each row.\nYou lose the information about how $X$ and $Y$ are linked, and you keep only the chances of the values of $X$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "0MXT6PRZZ6",
    "kind": "definition",
    "msc": [
      "62H05"
    ],
    "name": "Marginal distribution",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Marginal_distribution"
      }
    ],
    "tag": "0AXP2Z5N9H",
    "uses": [
      "0QAR0XDZH4",
      "0TST4MHA3A"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0AXP2Z5N9H/",
  "links": [
    {
      "field": "defines",
      "target": "0MXT6PRZZ6"
    },
    {
      "field": "uses",
      "target": "0QAR0XDZH4"
    },
    {
      "field": "uses",
      "target": "0TST4MHA3A"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0AXP2Z5N9H.md",
  "msc": [
    "62H05"
  ],
  "name": "Marginal distribution",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0AX/0AXP2Z5N9H.md",
  "status": null,
  "tag": "0AXP2Z5N9H",
  "uri": "m2://0AXP2Z5N9H",
  "url": "https://math2.tamnd.com/wiki/marginal-distribution-definition/",
  "writing": {
    "tag": "0AXP2Z5N9H",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
