0
$\begingroup$

PCA (Principal Component Analysis) is often used to represent 2d or 3d plot of the data, where y=PC2 and x=PC1 (eventually z=PC3). Given that there is an 'order' between components, it makes sense to use the first two (three) to represent data (since the first one is the direction which maximizes the data variance, the second one is the second best-uncorrelated direction and so on).

LDA (Linear Discriminant Analysis) is also sometimes used to plot data. In cases in which more than 3 classes are involved (so that k>2 LDs are produced), should one assume that the first two (or three) linear discriminant are the ones which better represent data (as one does with PCA) or not? Why?

$\endgroup$
  • $\begingroup$ stats.stackexchange.com/a/315488/164061 in this question I showed a graph that provides some intuition about the difference between lda and pca. The point of discriminant analysis is to show the difference between groups, so the first components, with the largest difference make more sense (in pca on the other hand this difference between groups might still be in higher components). This comment could be seen as a short answer, I am not sure. It is difficult to say because your issue seems relatively trivial to me, but maybe you could explain a bit more your troubles with lda. $\endgroup$ – Martijn Weterings Aug 25 '18 at 18:41
  • $\begingroup$ Thank you both. Yes, the question was trivial: basically, I was not sure if the LDs were 'ordered' - the first explaining more 'separateness'. I found this tutorial on PCA super-intuitive (even in its mathematical derivation, even for someone who should definitely refresh his linear algebra background). Do you know if something similar exists for LDA? $\endgroup$ – ImAUser Aug 25 '18 at 22:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.