Is there a way to plot original set of data onto biplot?

4 ビュー (過去 30 日間)
Michelle
Michelle 2014 年 8 月 7 日
コメント済み: dpb 2014 年 8 月 11 日
I want to plot all of my original data as a scatter plot onto the biplot created by PCA.

採用された回答

Peter Perkins
Peter Perkins 2014 年 8 月 11 日
Michelle, the whole point of PCA is to create a new coordinate system. Plotting the original data in that coordinate system doesn't make sense. If you've done PCA, you must have the scores for your original data -- the scores are the original data transformed into the new coordinate system. Use BIPLOT to plot those - there's an optional parameter to do that.
Hope this helps.
  2 件のコメント
Michelle
Michelle 2014 年 8 月 11 日
Thank you!
dpb
dpb 2014 年 8 月 11 日
...the whole point of PCA is to create a new coordinate system. ...
Good point, Peter... :)

サインインしてコメントする。

その他の回答 (1 件)

dpb
dpb 2014 年 8 月 7 日
編集済み: dpb 2014 年 8 月 8 日
biplot(...
hold on
scatter(gca,x,y);
should get you started.
  2 件のコメント
Michelle
Michelle 2014 年 8 月 11 日
Thank you!
dpb
dpb 2014 年 8 月 11 日
Other than Peter's obvious, of course... :)

サインインしてコメントする。

カテゴリ

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