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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 problem with PCA dataset
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

drenuka

USA
7 Posts

Posted - 08/27/2012 :  2:08:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

I am having a problem with running PCA on my data set. My values in the A(X) column is also being included in the calculations along with B(Y), C(Y),.... when I select the worksheet and select PCA option in Origin.

How do I make sure that the A(X) column data is not considered as a variable when running the analysis?

I would greatly appreciate some input on this.
Thanks
Renuka

easwar

USA
1964 Posts

Posted - 08/27/2012 :  5:46:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Renuka,

Instead of selecting entire sheet, you can click on Col B header and hold the mouse down and drag to the right to include the desired number of columns to the right side.

If you want all columns except col A, you could select the entire worksheet by clicking on top left corner, then hold down the CTRL key and click on Col A header to leave out col A.

Once you made the desired selection, you can then bring up the dialog. Note that you can also open the dialog without making any selection, and then click the button on the right side of the "Variables" edit box to "go out to the sheet and select columns".

Easwar
OriginLab
Go to Top of Page

drenuka

USA
7 Posts

Posted - 08/27/2012 :  6:26:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

According to the PCA tutorial from Origin we are supposed to select the complete worksheet and run PCA on it. In the tutorial A(X) column was not present in the correlation matrix. But in my case the A(X) column data was present in the correlation matrix.

We cannot leave column A for running PCA analysis.
The dialog box does not give you options of selecting the y variables and x variables separately.

Thanks
Renuka

DR
Go to Top of Page

Kathy_Wang

China
159 Posts

Posted - 08/27/2012 :  9:55:25 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I believe you're going to use the data in X column as Label, if you follow Easwar's instruction to do the PCA analysis, normally the X columns will be automatically detected as the Label, and there shall be a Label column in your "Score Data" result sheet.

Please note that sometimes if you have numeric data in X column and it was not automatically detected as the score label, you may set the X column as categorical (Right click:Set as categorical), and it shall then be detected as the score label.

Kathy
Originlab
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000