# [R] Discriminant Analysis Using Anova in R

Rishabh Gupta rg117 at ohm.york.ac.uk
Sun Mar 17 18:32:58 CET 2002

```Hi All,
I am currently trying to use R to perform some statistical discriminant
analysis on a data set using ANOVA. I'm new to anova and R as well. As I
understand it, ANOVA can be used to perform discriminant analysis by
measuring the value of the f-test when given a data set with a grouping
variable and the dependent variable. What I would like to do in R is perform
ANOVA and extract the f-test value as a measurement of the importance of
that particular dependent variable. My question is how can I extract the
value of the f-test from the aov object so that I can use the result in a
further equation, e.g. can I extract it using fit[f_value].
Also, my understanding of ANOVA was that the F Value should always be
greater then 1 (by swapping around the numerator, denominator). Value closer
to 1 suggest that there is not much variation and hence the variable is not
discriminant. The values that I actually get in R are sometimes less then 1.
Should it be like that, have I just understood it wrongly?
Any Help Here Would Be Greatly Appreciated!

Many Thanks

Rishabh

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

```