How to Decipher a Biplots Observation

5 次查看(过去 30 天)
Hi all, I made a biplot based on my data set (10000x9). Each of the 9 category is labeled as such on the biplots. I used the data cursor to point to a point (red dots) on the biplot and it shows me:
==============
Scores
Component 1: 0.2323
Component 2: -0,3763
Observation: 508
==============
I m trying to understand what is the observation number correspond to? How do I find out the data that corresponds to these PC score?
Thank you for your time.
Best, James

采纳的回答

Eric Lin
Eric Lin 2015-6-18
The "Observation" number simply corresponds to the row number of the original data point. That is, you will have 10,000 observations given your data set. Note that the component scores shown in the data tip may not match the scores returned by "pca" according to the "biplot" documentation:
biplot scales the scores so that they fit on the plot: It divides each score by the maximum absolute value of all scores, and multiplies by the maximum coefficient length of coefs. Then biplot changes the sign of score coordinates according to the sign convention for the coefs.
In R2015a, the exact transformation steps can be seen in lines 198 and 199 of "biplot.m":
maxCoefLen = sqrt(max(sum(coefs.^2,2)));
scores = bsxfun(@times, maxCoefLen.*(scores ./ max(abs(scores(:)))), colsign);

更多回答(1 个)

James Ooi
James Ooi 2015-6-19
Thank you Eric. Your explanation is very detailed and I appreciate it!

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by