[R] f-test

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Dec 12 12:44:02 CET 2001

Mark Myatt <mark at myatt.demon.co.uk> writes:

> Rik Bradt <rik.bradt at cropdesign.com> writes:
> >Hello,
> >
> >I'm using R to do statistics on datasets, and now I need an f-test, 
> >which I can't find in R.
> >Is there such a thing as an f-test. T-test seems to work fine, but ..
> It all depends on what you mean by an 'F test' since there are numerous
> tests for all sorts of things that share that name. The function
> var.test() compares variances as an F test. The aov() function also does
> an F test on the significance of individual variables in an analysis of
> variance model. See help(var.test) and help(aov) for more details.

I think help(oneway.test) is likely to be more on target. Also
help(lm) for linear models and help(anova.lm) for F testing between

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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

More information about the R-help mailing list