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

Hello, all, I am currently transferring a analysis tools from SIMCA to SAS, and when I did PCA analysis comparison, I found the scores calculated by two software are same value but with different sign (same data and pretreatment), for example, the score for pc1 from SIMCA is 1.55133 but from SAS enterprise miner v14 is -1.55133 (same thing for loading results). I dont think they are wrong results, but need to identical as the results are used by other modelling tools that may impact the prediction results. 

 

any suggestions that could make the PCA calculation identical? 

 

Many thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

There is no unique answer to the sign of principal components scores. Both of the results are equivalent. As far as I know, you can't force SAS to match the sign of some other principal components algorithm.

 

If you have a model that used the SIMCA scores but now will be using the SAS scores, you could multiply the scores by -1, or change the way the model handles them.

--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

There is no unique answer to the sign of principal components scores. Both of the results are equivalent. As far as I know, you can't force SAS to match the sign of some other principal components algorithm.

 

If you have a model that used the SIMCA scores but now will be using the SAS scores, you could multiply the scores by -1, or change the way the model handles them.

--
Paige Miller
Jonison
Fluorite | Level 6

Thank you for your help!

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 554 views
  • 0 likes
  • 2 in conversation