LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 10 Oct 2007 17:32:07 -0700
Reply-To:     sounpra@YAHOO.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Song <sounpra@YAHOO.COM>
Organization: http://groups.google.com
Subject:      Re: PCA using SAS and R
Comments: To: sas-l@uga.edu
In-Reply-To:  <18342042.1192051433551.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net>
Content-Type: text/plain; charset="us-ascii"

On Oct 10, 4:23 pm, peterflomconsult...@mindspring.com (Peter Flom) wrote: > Song <soun...@YAHOO.COM> wrote > > > > >Can anyone please explain to me how running a simple PCA in SAS and R > >can produce conflicting results? You will notice that signs of the > >component score are different only in the 4th component. What is > >troubling to me is that this is not consistent. On a different > >dataset, the signs become different starting with the 2nd component. > > The signs of the principal components are arbitrary. It's like saying "John is taller than Mary" or "Mary is shorter than John". > > If the magnitudes were noticeably different, that would be troubling, but changes in the signs are no big deal > > Peter

Hi Peter --

I understand what you are saying...however this does matter if I'm trying to construct biplots using say the first two PCs. This wouldn't be a problem if I knew a priori that the sign will differ only after the second component...but it changes for different dataset. So the biplots that I get from SAS and R may or may not be the same.

Song


Back to: Top of message | Previous page | Main SAS-L page