Principal component loading (source code)

= Principal component loading
{title2=$r_j=\sqrt{\lambda_j}\ell_j$}

Two conventions occur for <principal component> loadings: the unit <eigenvector> $\ell_j$ defining the direction, and the scaled vector $r_j=\sqrt{\lambda_j}\ell_j$. For <principal component analysis on a correlation matrix> and a positive <eigenvalue> $\lambda_j>0$, entries of $r_j$ are the <correlation coefficients> between each standardized variable and the component scaled to <variance> one. Indeed, $\operatorname{Cov}(Z,\ell_j^TZ)=\lambda_j\ell_j$ and $\operatorname{Var}(\ell_j^TZ)=\lambda_j$.

Thus $\|r_j\|^2=\lambda_j$, whereas $\|\ell_j\|=1$. At a zero <eigenvalue>, the scaled vector is zero but the component has zero <variance>, so correlations with a unit-variance version are undefined. Reporting both the loading convention and the eigenvalue avoids conflating directions, correlations and degenerate components.