{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "RVVRYKVGXK"
    }
  ],
  "body": "\n## Summary\n\nThe partial correlation of two random variables given some control variables is a [[correlation|0DNN9B6Q2F]].\nIt is the correlation that remains after the linear effect of the controls is removed from both variables.\nIt separates a direct linear association from one that only passes through the controls.\nFor jointly normal variables it is zero exactly when the two variables are [[conditionally independent|0THJ7416DX]] given the controls.\nThis makes it the basic tool of Gaussian [[graphical models|Q3FQAD1BXG]].\n\n## Explanations\n\n### L1 human\n\nIce cream sales and sunburn cases rise and fall together, but both follow the temperature.\nTo see whether they are linked beyond the temperature, predict each one from the temperature by a straight line and keep only the leftover parts.\nThe partial correlation is the correlation of these two leftovers.\nIf $X = Z + U$ and $Y = Z + V$ with $Z, U, V$ uncorrelated, then $X$ and $Y$ are correlated, but their partial correlation given $Z$ is $0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62H20"
    ],
    "name": "Partial correlation",
    "same_as": {
      "wikidata": "Q2998010",
      "wikipedia": "Partial correlation"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Partial_correlation"
      }
    ],
    "specializes": [
      "0DNN9B6Q2F"
    ],
    "tag": "TT3BXBR4DB"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/TT3BXBR4DB/",
  "links": [
    {
      "field": "specializes",
      "target": "0DNN9B6Q2F"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/TT3BXBR4DB.md",
  "msc": [
    "62H20"
  ],
  "name": "Partial correlation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TT3/TT3BXBR4DB.md",
  "status": null,
  "tag": "TT3BXBR4DB",
  "uri": "m2://TT3BXBR4DB",
  "url": "https://tamnd.github.io/math2/wiki/partial-correlation/",
  "writing": {
    "tag": "TT3BXBR4DB",
    "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
      }
    ]
  }
}
