[R] lda()

marzban marzban at caps.ou.edu
Mon Jul 12 17:45:11 CEST 2004


Hello,

For a simple problem with 1 predictor (x) and 2 classes (0 and 1), the
linear discriminant function should be something like
                                                                            
 2(mu_0 - mu_1)/var  x    +    x-independent-terms
                                                                            
where var is the common variance.
                                                                            
Question 1: Why does lda() report only a single "Coefficients of linear 
discriminants" when there are in fact two coefficients (the x-dependent
and the x-independent terms)?
                                                                            
Question 2: And how is that single coefficient computed? It is certainly
not equal to 2(mu_0 -mu_1)/var .
                                                                            
Regards,
Caren
-- 
http://www.nhn.ou.edu/~marzban




More information about the R-help mailing list