Principal component analysis
Builds on Covariance matrixEigenvectorEigenvalueOrthonormal basisSpectral theoremVariance
Definition
Let be a random vector in with finite second moments, mean and covariance matrix . By the spectral theorem, has an orthonormal basis of eigenvectors with eigenvalues . The -th principal component of is the random variable The vector is the -th principal direction, or loading vector. Principal component analysis is the passage from to , usually followed by keeping only for some . For a data matrix, the same construction is applied to the sample covariance matrix.
Remarks
The components are uncorrelated and . Equivalently, maximises the variance over unit vectors , and maximises it over unit vectors orthogonal to . The principal directions are unique up to sign when the eigenvalues are distinct.
Example: let . Its eigenvalues are and , with unit eigenvectors and . Check: . Non-example: the direction gives , so is not the first principal component.
The fraction is the proportion of the total variance kept by the first components. For a centred data matrix, the principal directions are the right singular vectors of its singular value decomposition.
Reading path
To understand this page from the ground up, read these 25 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Covariance matrix concept
- Eigenvalue concept
- Eigenvector concept
- Orthonormal basis concept
- Variance concept
- Vector space definition
- Inner product definition
- Linear combination definition
- Linear map definition
- Linear subspace definition
- Inner product space definition
- Orthogonal vectors definition
- Linear independence definition
- Endomorphism definition
- Linear span definition
- Adjoint of a linear map definition
- Orthonormal family definition
- Eigenvalue definition
- Spanning set definition
- Self-adjoint operator definition
- Eigenvector definition
- Basis definition
- Orthonormal basis definition
- Spectral theorem statement
- Principal component analysis definition
Further reading
About this page
| Tag | R2EHQ06B98 |
|---|---|
| URI | m2://R2EHQ06B98 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 62H25, 15A18 |
| Defines | Principal component analysis |
| Uses | Covariance matrix, Eigenvector, Eigenvalue, Orthonormal basis, Spectral theorem, Variance |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.