How to Decipher a Biplots Observation

7 ビュー (過去 30 日間)
James Ooi
James Ooi 2015 年 6 月 17 日
回答済み: James Ooi 2015 年 6 月 19 日
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 Center および File ExchangeDimensionality 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