[R] Anova Test

From: CrazyJoe <keizer_61_at_hotmail.com>
Date: Tue, 15 May 2007 07:39:20 -0700 (PDT)


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.

R-help_at_stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 15 May 2007 - 14:56:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 May 2007 - 15:31:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.