Skip to content
Prev 5620 / 398506 Next

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

Hi,
I have a problem understanding what is going on with eigen() for
nonsymmetric matrices.
Example:
h<-rnorm(6)
[1] 1.56216542 0.07147773
[1] 2.85537780 0.03910517

And now:
# squared eigenvalues of Pi
[1] 8.153182389 0.001529214
[1] 8.153182389 0.001529214
Indeed:
diag(svd(Pi)$d) %*% diag(svd(Pi)$d)
         [,1]        [,2]
[1,] 8.153182 0.000000000
[2,] 0.000000 0.001529214

I conclude that eigen() works correctly for symmetric matrices only (or
makes sense ...).
Do I have misconceptions about the relationship between the results of
eigen()$values and
svd()$d and my conclusion is wrong ?
The VR-Book "Modern Applied Statistics" (1994) states explicitly that
eigen() is for
symmetric matrices.

Can anybody help me to clarify this point ?


Thank you

	Ralph