BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ilikesas
Barite | Level 11

Hi,

 

I am doing a Principal Component Analysis on a data and compare the results with results that were obtained previously with SPSS.

 

I am using Proc Factor to perform a Varimax Rotation to obtain 7 Principal Components. I noticed that the results that I get with SAS are slightly different from the SPSS results:

 

1) In the Factor Loadings (called Rotated Factor Pattern) I noticed that the loadings for the 4th and 6th factor that I obtained in SAS have the opposite sign of the loadings that are obtained with SPSS (although the absolute value is the same).

 

2) The Principal Components of the 4th and 6th factor from SAS have the opposite sign of those from SPSS, and the Absolute value is slightly different for all Principal Components for all 7 factors.

 

So I guess that the algorithm that SAS uses is different from SPSS. If this is the case I will use the results obtained by SAS, but I just want to make sure that such thing can happen.

 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

 Yes, if u is an eigenvector of a matrix A, then -u is also an eigenvector. Many times I  have seen different software come up with solutions like you describe. Neither answer is wrong; they are both correct and the results are equivalent.

View solution in original post

3 REPLIES 3
Rick_SAS
SAS Super FREQ

 Yes, if u is an eigenvector of a matrix A, then -u is also an eigenvector. Many times I  have seen different software come up with solutions like you describe. Neither answer is wrong; they are both correct and the results are equivalent.

ilikesas
Barite | Level 11

Hi Rick,

 

I ran a regression in SAS and found out that all the coefficients are the same as those of the SPSS regression, except that the signs for Factors 4 and 6 are opposite. So since I have 2 opposites (first in the loadings and than in the coefficients) the interpretation of the end result is the same!

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1536 views
  • 1 like
  • 3 in conversation