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!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

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
  • 1196 views
  • 0 likes
  • 2 in conversation