{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $k \\ge 1$ and let $X = (X_1, \\dots, X_k)^{\\mathsf{T}}$ be a random vector in $\\mathbb{R}^k$.\nThen $X$ is multivariate normal if there exist $\\mu \\in \\mathbb{R}^k$, an integer $\\ell \\ge 1$ and a real $k \\times \\ell$ matrix $A$ with this property.\nThere is a vector $Z = (Z_1, \\dots, Z_\\ell)^{\\mathsf{T}}$ of independent $\\mathcal{N}(0, 1)$ random variables with\n$$X = AZ + \\mu.$$\nThen the law of $X$ depends only on $\\mu$ and on $\\Sigma = AA^{\\mathsf{T}}$. It is written $\\mathcal{N}_k(\\mu, \\Sigma)$.\n\n## Remarks\n\nHere $\\mu$ is the mean vector, with $\\mu_i = E[X_i]$, and $\\Sigma$ is the covariance matrix, with $\\Sigma_{ij} = \\operatorname{Cov}(X_i, X_j)$.\nAn equivalent condition: $X$ is multivariate normal if and only if $a^{\\mathsf{T}} X$ has a [[normal distribution|07RXBVTVZB]] for each $a \\in \\mathbb{R}^k$. Here a constant counts as normal with variance $0$.\nIf $\\Sigma$ is positive definite, $X$ has the density\n$$f(x) = \\frac{1}{\\sqrt{(2\\pi)^k \\det \\Sigma}} \\exp\\left(-\\tfrac{1}{2} (x - \\mu)^{\\mathsf{T}} \\Sigma^{-1} (x - \\mu)\\right), \\quad x \\in \\mathbb{R}^k.$$\nThe components of a multivariate normal vector are independent if and only if they are uncorrelated, that is, if $\\Sigma$ is diagonal.\n\n## Explanations\n\n### L1 human\n\nA multivariate normal vector is a list of normal random variables that may be linked to each other.\nThe covariance matrix says how strongly each pair of components moves together. In two dimensions, the density looks like a hill with elliptical contour lines.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0XN3K7RSZY",
    "kind": "definition",
    "msc": [
      "62H05"
    ],
    "name": "Multivariate normal distribution",
    "sources": [
      {
        "locator": "Normal random vector",
        "url": "https://en.wikipedia.org/wiki/Multivariate_normal_distribution"
      },
      {
        "locator": "Non-degenerate case",
        "url": "https://en.wikipedia.org/wiki/Multivariate_normal_distribution"
      }
    ],
    "tag": "0G558GJQMW",
    "uses": [
      "07RXBVTVZB",
      "0DKRR22AEQ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0G558GJQMW/",
  "links": [
    {
      "field": "defines",
      "target": "0XN3K7RSZY"
    },
    {
      "field": "uses",
      "target": "07RXBVTVZB"
    },
    {
      "field": "uses",
      "target": "0DKRR22AEQ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0G558GJQMW.md",
  "msc": [
    "62H05"
  ],
  "name": "Multivariate normal distribution",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0G5/0G558GJQMW.md",
  "status": null,
  "tag": "0G558GJQMW",
  "uri": "m2://0G558GJQMW",
  "url": "https://math2.tamnd.com/wiki/multivariate-normal-distribution-definition/",
  "writing": {
    "tag": "0G558GJQMW",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
