Interpret loadings and scores within the evidence
Loadings describe how variables contribute to a component. Scores locate observations in the new coordinate system. The three interpretation cases separate what the loadings show from claims they do not support.
- Signs. A component score adds up the standardized variables, each weighted by its loading. A positive loading raises the score as that variable rises; a negative loading moves the score the opposite way, holding the other centered and scaled inputs fixed. A high aggregate score does not determine each individual input; their contributions can offset one another. Example: if PC1 has reading 0.70, writing 0.68 and lateness −0.22, this describes a weighted direction toward reading and writing and away from lateness, rather than proving all three properties for an individual.
- Contrasts and small loadings. Two large loadings with opposite signs make the component a contrast. If PC2 has speed 0.70 and accuracy −0.71, a high score means relatively faster than accurate, and roughly equal standardized values partly cancel. Being high on both does not itself imply a near-zero score. A loading near zero barely moves the score: that variable contributes little to this component.
- What a component is not. A component is a weighted summary of the measured variables, not a cause and not a validated construct (Fabrigar et al., 1999). Naming PC1 “motivation” or “intelligence” claims something the loadings never measured; that needs separate evidence.
- Explained variance and the scree plot. The explained-variance ratio of component \( k \) is \( \lambda_k / \sum_j \lambda_j \). With standardized variables the eigenvalues sum to the number of variables. For four variables with eigenvalues 2.4, 0.9, 0.5 and 0.2, PC1 explains \( 2.4/4 = 60\% \), and PC1 and PC2 together explain \( 3.3/4 = 82.5\% \). A scree plot draws these ratios against the component number, so a reader can see where the eigenvalues level off (Cattell, 1966).
- What a reduced view leaves out. A two-component plot keeps only the retained share. In the example, 17.5% of the variance is omitted, so distances between the retained scores only approximate distances in the full space and never exceed them. The retained variance share is an aggregate summary, not an error bound for every pair of observations. A caption must state the retained share and that the omitted components may hide patterns; dropping later components silently hides that loss.
- Reconstruction error makes the loss concrete. Multiplying the retained scores by the transposed retained loadings, \( \hat{\mathbf{Z}}_k = \mathbf{U}_k\mathbf{D}_k\mathbf{V}_k^{\mathsf T} \), rebuilds an approximation of the standardized data matrix \( \mathbf{Z} \) with \( n \) rows. The total squared residual is \( \lVert \mathbf{Z}-\hat{\mathbf{Z}}_k \rVert_F^2 = (n-1)\sum_{j>k}\lambda_j \), the smallest attainable at rank \( k \) (Eckart & Young, 1936). In the example, the rank-two residual is \( (n-1)(0.5+0.2) \), which is again 17.5% of the total \( 4(n-1) \). The squared residual of one row identifies an observation that the plane represents poorly. A point near the center of the plot may still lie far from the plane, so a small residual, not a central position, is what supports reading that observation from the plot.
- Biplot scaling conventions. A biplot factors the rank-two approximation as \( \mathbf{G}\mathbf{H}^{\mathsf T} \), with points \( \mathbf{G} = \mathbf{U}_2\mathbf{D}_2^{\alpha} \) and arrows \( \mathbf{H} = \mathbf{V}_2\mathbf{D}_2^{1-\alpha} \) (Gabriel, 1971). With \( \alpha = 1 \), which R draws for
biplot(pca, scale = 0), the points are the scores and the arrows are the loadings, so distances between points approximate distances between observations. With \( \alpha = 0 \), the defaultscale = 1, each arrow is proportional to its loadings multiplied by the component standard deviations. For standardized variables these products are variable–component correlations: a squared arrow length is the share of the variance of that variable shown in the plane, and the inner product of two arrows approximates the correlation of the two variables. The same analysis therefore draws different arrow lengths under the two conventions, and a caption names the convention it uses. The step 6 lab prints the arrow lengths under both.
In prcomp, rotation contains unit eigenvector coefficients and scores are centered (and, when requested, scaled) data multiplied by those coefficients. For standardized variables, variable–component correlations are coefficients multiplied by the component standard deviation, not generally the coefficients themselves. Reversing an entire coefficient column and its scores together preserves geometry and reconstruction. These rounded examples are synthetic illustrations, separate from the R fixture.
Extend this (optional): choosing the number of components and alternatives to classical PCA
A scree plot is one heuristic for the number of components, and its elbow is a judgment. Parallel analysis retains a component only when its eigenvalue exceeds the corresponding eigenvalue obtained from random data of the same dimensions (Horn, 1965). Classical PCA is sensitive to outliers, because one extreme observation can rotate a component toward itself; robust PCA replaces the sample covariance with an outlier-resistant estimate and identifies the observations it down-weights (Hubert et al., 2005). Sparse PCA constrains many loadings to be exactly zero, which can make a component easier to describe at the cost of some explained variance and of uncorrelated scores (Zou et al., 2006). This module uses classical PCA for visualization; a defense that relies on one of these alternatives names it and reports its settings.
Loading detective loading…