[R] Help: chisq.test
    Thanjavur Bragadeesh 
    bragadeesh02 at hotmail.com
       
    Sun Dec 11 02:37:57 CET 2005
    
    
  
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
Y<-c(237,198,245,212,233)
when I run
chisq.test(cbind(x,y))
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
thanks
bragadeesh
    
    
More information about the R-help
mailing list