[R] 2 LDA

From: Steve Adams <steve_adams_sd_at_yahoo.com>
Date: Thu 16 Jun 2005 - 06:53:43 EST


I am using Partek for LDA analysis. For a binary response variable, it generates 2 discriminant functions, one for each of the 2 levels of the response variable. And I can simply calculate 2 discriminant scores (say d1 and d2) for each sampples using the 2 discriminant functions, then I can use the following formula to compute the posterior probability for the sample:


In R, the lda function only generates 1 discriminant function, and exactly the same posterior probability as the LDA function in Partek does.

My question is what's the difference (or relationship) between the above 2 LDA functions, where I can find the reference for the partek LDA function?



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 16 07:02:07 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:43 EST