[R] Help: chisq.test

From: Thanjavur Bragadeesh <bragadeesh02_at_hotmail.com>
Date: Sun 11 Dec 2005 - 12:37:57 EST

I have two groups of patients (improved or not improved) named x and y group respectively after being treated with 5 different drugs

X<-c(43,52,25,48,57) and


when I run


I get a p value of <0.0024

but if I run

chisq.test(x,y) I get a p value of 0.22 not significant at 5%

what is the difference between the two



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Dec 11 12:48:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:35 EST