Statistics Toolbox    

The Principal Components (First Output)

The first output of the princomp function, pcs, contains the nine principal components. These are the linear combinations of the original variables that generate the new variables.

Let's look at the first three principal component vectors.

The largest weights in the first column (first principal component) are the third and seventh elements, corresponding to the variables health and arts. All the elements of the first principal component are the same sign, making it a weighted average of all the variables.

To show the orthogonality of the principal components, note that premultiplying them by their transpose yields the identity matrix.


  Example: Principal Components Analysis The Component Scores (Second Output)