{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "R2EHQ06B98"
    }
  ],
  "body": "\n## Summary\n\nPrincipal component analysis replaces correlated variables by new uncorrelated variables, the principal components, ordered by decreasing variance.\nThe components are the coordinates along the [[eigenvectors|0N6960W0BV]] of the [[covariance matrix|0V7G6WMFK0]].\nKeeping only the first few components gives the best low-dimensional linear summary of the data in the least squares sense.\nIt is the most common method of dimension reduction.\n\n## Explanations\n\n### L1 human\n\nPicture a cloud of data points in the plane shaped like a tilted cigar.\nThe first principal component is the direction along the cigar, where the points spread the most.\nThe second is the direction across it, at a right angle to the first.\nIf two test scores have variances $2$ and $2$ and covariance $1$, the first direction is $(1, 1)/\\sqrt{2}$, along which the variance is $3$.\nDescribing each point by its position along the cigar alone loses little information.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62H25",
      "15A18"
    ],
    "name": "Principal component analysis",
    "same_as": {
      "wikidata": "Q2873",
      "wikipedia": "Principal component analysis"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Principal_component_analysis"
      }
    ],
    "tag": "ABXD13M340"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/ABXD13M340/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/ABXD13M340.md",
  "msc": [
    "62H25",
    "15A18"
  ],
  "name": "Principal component analysis",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ABX/ABXD13M340.md",
  "status": null,
  "tag": "ABXD13M340",
  "uri": "m2://ABXD13M340",
  "url": "https://tamnd.github.io/math2/wiki/principal-component-analysis/",
  "writing": {
    "tag": "ABXD13M340",
    "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
      }
    ]
  }
}
