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

 Réponse acceptée

Peter Perkins
Peter Perkins le 11 Août 2014

0 votes

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 commentaires

Thank you!
dpb
dpb le 11 Août 2014
...the whole point of PCA is to create a new coordinate system. ...
Good point, Peter... :)

Connectez-vous pour commenter.

Plus de réponses (1)

dpb
dpb le 7 Août 2014
Modifié(e) : dpb le 8 Août 2014
biplot(...
hold on
scatter(gca,x,y);
should get you started.

2 commentaires

Thank you!
dpb
dpb le 11 Août 2014
Other than Peter's obvious, of course... :)

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by