Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Principal component analysis
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== First component === In order to maximize variance, the first weight vector '''w'''<sub>(1)</sub> thus has to satisfy :<math>\mathbf{w}_{(1)} = \arg\max_{\Vert \mathbf{w} \Vert = 1} \,\left\{ \sum_i (t_1)^2_{(i)} \right\} = \arg\max_{\Vert \mathbf{w} \Vert = 1} \,\left\{ \sum_i \left(\mathbf{x}_{(i)} \cdot \mathbf{w} \right)^2 \right\}</math> Equivalently, writing this in matrix form gives :<math>\mathbf{w}_{(1)} = \arg\max_{\left\| \mathbf{w} \right\| = 1} \left\{ \left\| \mathbf{Xw} \right\|^2 \right\} = \arg\max_{\left\| \mathbf{w} \right\| = 1} \left\{ \mathbf{w}^\mathsf{T} \mathbf{X}^\mathsf{T} \mathbf{X w} \right\}</math> Since '''w'''<sub>(1)</sub> has been defined to be a unit vector, it equivalently also satisfies :<math>\mathbf{w}_{(1)} = \arg\max \left\{ \frac{\mathbf{w}^\mathsf{T} \mathbf{X}^\mathsf{T} \mathbf{X w}}{\mathbf{w}^\mathsf{T} \mathbf{w}} \right\}</math> The quantity to be maximised can be recognised as a [[Rayleigh quotient]]. A standard result for a [[positive semidefinite matrix]] such as '''X'''<sup>T</sup>'''X''' is that the quotient's maximum possible value is the largest [[eigenvalue]] of the matrix, which occurs when '''''w''''' is the corresponding [[eigenvector]]. With '''w'''<sub>(1)</sub> found, the first principal component of a data vector '''x'''<sub>(''i'')</sub> can then be given as a score ''t''<sub>1(''i'')</sub> = '''x'''<sub>(''i'')</sub> β '''w'''<sub>(1)</sub> in the transformed co-ordinates, or as the corresponding vector in the original variables, {'''x'''<sub>(''i'')</sub> β '''w'''<sub>(1)</sub>} '''w'''<sub>(1)</sub>.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Principal component analysis
(section)
Add topic