Skip to content

princomp and eigen

3 messages · Ooi Wen Fong, Uwe Ligges, Rolf Turner

#
Have you ever read the help pages? It tells you:

   "Note

   The signs of the columns of the loadings and scores are arbitrary,
   and so may differ between different programs for PCA, and even
   between different builds of R."


Also the references given on ?princomp are really worth reading...

Best,
Uwe Ligges
On 16.05.2011 07:44, Ooi Wen Fong wrote:
#
On 16/05/11 17:44, Ooi Wen Fong wrote:
[Why is the sky blue?  Why are fire engines red?  Why don't they teach
linear algebra these days?]

Because if A%*%x = lambda*x then

A%*%(-x) = lambda*(-x).

     cheers,

         Rolf Turner

P. S.  Why is a duck?  Answer:  Because the higher you go, the
vest has no sleeves.