The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 PCA Loadings Issue

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Cnb Posted - 09/23/2015 : 08:29:19 AM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2015 (64-bit) Sr2
Operating System: Windows

Hoping someone can help clarify an issue I'm having with PCA in Origin.

I have standardised some data and undertaken PCA on it (covariance matrix). The PC Scores should be equal to the sum of the standardised data multiplied by the respective Eigenvectors (Coefficients of PC1, PC2 etc.). This is not the case in my example and I cannot see how Origin has arrived at the results.

In a simple test I have run with two columns of non-standardised data, I can arrive at the PC Scores output by Origin (covariance matrix) only if I subtract the mean from each observation (causing mean of adjusted observations to be 0) before multiplying it by the respective Eigenvector and summing. Alternatively, I can subtract the mean from the original data before undertaking PCA and get the correct result too. I think this makes sense because I am told the mean must be 0 for PCA to work correctly.

However, with my standardised data obviously the mean is also 0 yet I cannot get to the PC scores output by Origin using the coefficients and input standardised data. Has anyone else noticed this and know what's going on?
1   L A T E S T    R E P L I E S    (Newest First)
Sam Fang Posted - 09/24/2015 : 02:37:41 AM
I can't reproduce your problem. For covariance matrix, PC Scores are the multiplication of column mean-subtracted input data matrix and eigenvectors.

Note that you should uncheck Standardize Scores option.

If you still have the question, you can send your result to us. And we can check it.

To send files to us, click Send File to Tech support button on the top right of the forum.

Thanks.

Sam
OriginLab Technical Services

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000