On Saturday 10 December 2005 17:37, Thanjavur Bragadeesh wrote:
> 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
Thanjavur Bragadeesh wrote:
> 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))
>
This takes cbind(X,Y) as
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