[R] ANOVA f-test

Brian Kurotsuchi bkurotsu at toocool.itslab.calpoly.edu
Sun Mar 7 19:25:33 CET 1999


I have a rather basic question.  How can I get R to generate a ANOVA table
and a f-value for a hypothesis test such as:

Data: group1 values: 5.2 4.5 6.0 6.1 6.7 5.8
      group2 values: 6.5 8.0 6.1 7.5 5.9 5.6
      ...

H0: mean1 = mean2 = mean3 = mean4
HA: at least two means different

where I want to evaluate using a f test statistic?
F = MSTr/MSE

I'd like a table similar to one that Minitab would produce:

        Df	 Sum Sq   Mean Sq   F value
mean1
mean2
mean3
Error

Secondly, how can do a second evaluation using a multiple ANOVA compare using
Tukey's procedure?

Thanks

BK

----------------------------------------------------------------------------
 Brian T. Kurotsuchi                 E-Mail: bkurotsu at hornet.csc.calpoly.edu
 Cal Poly - San Luis Obispo
 Computer Science
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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