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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1522 views
  • 1 like
  • 3 in conversation