The reciprocal basis for , using matrix multiplication.
i keep emphasizing that is the new data wrt the orthogonal eigenvector matrix; and i hope i’ve said that the R-mode scores are not the new data wrt the weighted eigenvector matrix . In a very real sense, the R-mode scores do not correspond to the R-mode loadings . This is important enough that i want to work out the linear algebra. In fact, i’ll work it out thrice. (And i’m going to do it differently from the original demonstration that is the new data wrt v.)
Of course, people will expect us compute the scores , and I’ll be perfectly happy to. I just won’t let anyone tell me they correspond to the .
First off, we have been viewing the original data as vectors wrt an orthonormal basis. Recall the design matrix:
Let’s take just the second observation:
Those are the components of a vector.
Second, we have an orthonormal basis defined by the orthogonal eigenvector matrix v. Recall :
for the second row, in particular, we have new components….
We’ve already seen that old and new components (x and y, resp) are related by
although we wrote the whole thing as . yes? we confirm it simply by computing…
which is .
The second row of represents the same vector as the second row of X, but the components are different because the basis vectors are different.
All that was review, albeit from a slightly different point of view. let’s move on to the weighted eigenvector matrix ; it is not an orthonormal basis because the basis vectors are not of length 1, although they are orthogonal to each other. Here’s my from the SVD:
i just want the first two columns. Here’s my cut down…
and my cut down:
I’ve been implying, if not saying, that the projections of X onto , namely (which are the R-mode scores ), are the components of the data wrt a basis other than . it’s what may best be called the reciprocal basis.
(if you haven’t looked at “the reciprocal basis” in https://rip94550.wordpress.com/2008/03/21/transpose-matrix-adjoint-operator-2/, you might want to.)
Briefly, a reciprocal basis is constructed to make the dot product of vectors work out right when we have a non-orthonormal basis. What we do is get the components of one vector wrt the basis, the other vector wrt the reciprocal basis, and then we can compute their dot product in the usual way, as the sum of products of corresponding entries; i.e. as a row vector times a column vector.
If we have a transition matrix A, then the transition matrix B for the reciprocal basis is B = . (because it gives us , which says that the dot product of a row of with a column of A is either 0 or 1. it’s equivalent to saying that the dot product of a column of B with a column of A is either 0 or 1. either way, the column vectors of B and of A are pairwise orthogonal.)
we have a problem, however: we have a matrix which is not invertible. Another damned dragon to cope with.
We could look for a matrix B such that . unfortunately, such matrices are not unique.
Let’s construct the reciprocal basis geometrically. As was constructed from v by multiplying columns by we will construct B by dividing v by , but we’ll just do it for the first two columns. The quickest way to accomplish that is to post-multiply by a diagonal matrix whose entries are , when possible and 1 otherwise… the diagonal eigenvalue matrix is…
so i form a new diagonal matrix
Note the 1 instead of 0 in the (3, 3) slot.
and compute the product of v and the new diagonal matrix
and since i only want the first two columns, i cut that down to
and call it B.
It is true that . (so the columns of B are mutually orthogonal to the columns of A.)
Now, B is the transition matrix for the reciprocal basis of . was defined as , the projections of the data onto the basis. i claim that is the components of the data wrt B, the reciprocal basis for .
i want to confirm this just for the second data vector, namely that
i.e. the old components are found by applying the transition matrix B to the new components. the RHS is
and, once again, we have found the old components of the second observation. More importantly, we have exhibited a basis wrt which the R-mode scores represent the new components of the data.