Skip to content
Prev 86897 / 398502 Next

linear discriminant analysis in MASS

On Mon, 20 Feb 2006, Alain Paquette wrote:

            
CV=FALSE is the default and so not needed.
There is no such function in S, and I rather object as the S equivalent is 
lda() (and as the author of both I should know).  Credit where credit is 
due: discrim() is an S-PLUS function, indebted to lda().
Well, it seems not to.  That is part of the output of the summary() 
method, which itself calls the multicomp() method.
No `of course' applies. If you learnt of this output from S-PLUS, I urge 
you to credit it honestly and accurately.  (If you refer to lda, you 
should credit that, not just R.)
Mahalanobis distance between groups is easy, as this is just Euclidean 
distance between group centres in the scaled space.  The test statistics 
can be produced, but

- they are critically dependent on the unrealistic assumptions of 
multivariate normality and variance homogeneity and

- there needs to be an adjustment for multiple comparisons.