from davis’ “statistics and data analysis in geology”, we take the following extremely simple example (p. 502). his data matrix is
where each column is a variable. he now centers the data, by subtracting each column mean from the values in the column.
let me do that. i compute the column means…
and subtract each one from the appropriate column, getting
now let’s just follow him. he introduces the SVD (the singular value decomposition), by way of explanation, and we will use it, but not quite yet. he performs what’s called an R-mode factor analysis as follows.
then he computes the eigendecomposition. i get that the eigenvector matrix is…
and that the diagonal matrix of eigenvalues is …
we run into our first notational quagmire. he has shown us the SVD , and what we have here is , the eigenvalues of (see “an SVD of X ~ eigenstructures of XTX and XXT”).
what he wants are the singular values w. no problem, you think: just take the square roots. sheesh, that’s what harman did, and maybe we’re beginning to see why.
unfortunately, davis is also using a 2×2 diagonal matrix instead of the 3×3 i get. to be more specific, i get w as a 4×3 and as a 3×3. to be completely specific, i get w is…
and therefore is…
which is, as it should be, the 3×3 matrix of eigenvalues.
well, having said that he wants the square roots, i’ll give them to him, but i will modify his notation. i take to be a 3×3 diagonal matrix of square roots of eigenvalues, one of which is zero…
and i will use for his 2×2 matrix of nonzero square roots (which he called ).
and, i will need the 2×2 submatrix of eigenvalues:
perhaps i should point out that i have no intention of throwing away any parts of these matrices in my own work. but i need to make sure that i am following davis correctly, so i am carrying out his computations in parallel with my own.
besides, you might be trying to read davis even as i speak, another reason for me to display his work, too.
at the end of all that, all we have gotten is 2 positive eigenvalues of (84 and 12), and we have their two positive square roots; we have these two pairs of numbers laid out in both 2×2 and 3×3 diagonal matrices. we have far more notation that mathematics.
so much for the eigenvalues.
next we’ll dig into the eigenvectors.