Skip to content
Prev 5619 / 398506 Next

Q: Problems with eigen() vs. svd()

At 01:37 PM 5/10/00 +0200, ralle wrote:
"c" is not a great choice of identifier!
These could have been complex, of course, but as it happens they are real.
These must be real and they are not the eigenvalues of Pi.
should be the
Not quite.  It means Pi2 is symmetric all right, but it implies no simple
relationship between the eigenvalues of Pi and Pi2.

What you can say is the the *singular values* of Pi2 are the square of the
*singular values* of Pi.
Moral: for any real matrix X the singular values are the positive square
roots of the eigen values of t(X) %*% X.  (Consequence: if X is symmetric
and positive definite its eigenvalues are the same as its singular values,
but otherwise this is not necessarily so.)
Nope.
You do have some serious misconceptions.
Well the VR-book in 1994 was written for S-PLUS only, and in 1992-3 when
that edition was written it did only work for symmetric matrices, but
S-PLUS has changed and R has come of age.  Things change fast in this
territory.  There have been two more editions of the VR-book since then
this and only this reason.

V.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._