[R] Anova Test

CrazyJoe keizer_61 at hotmail.com
Tue May 15 16:39:20 CEST 2007


I am very new to R. I am trying to perform an Anova Test and see if it
differs or not.

Basically, i have 4 tests and 1 control.

Test1 Test2  Test3  Test4  Control
20       25      15        10       17

The inference is at alpha=0.05. they are all independent. I am trying to
find if they differ or the same.

> test1<-c(20)
> test2<-c(25)
> test3<-c(15)
> test4<-c(17)
> test4<-c(10)
> control<-c(17)
> tester<-data.frame(test1,test2,test3,test4,control)
> tester
  test1 test2 test3 test4 control
1    20    25    15    10      17
> anova(lm(tester))
Analysis of Variance Table

Response: test1
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals  0      0  

I think i did something wrong. I need to find the correct F statistic test.

any help.


View this message in context: http://www.nabble.com/Anova-Test-tf3758829.html#a10624007
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list