I have a binary outcome which were measured with two methods say A
and B
such a $2\times 2$ table like this:
> x<-matrix(c(349, 125, 474, 4, 7, 11, 353, 132, 485),3,3)
> dimnames(x)<-list(B=c("No", "Yes", "Total"),
+ A=c("No", "Yes", "Total"))
> x
A
B No Yes Total
No 349 4 353
Yes 125 7 132
Total 474 11 485
from which, you can see the event rate for method A is 11/485=0.023 and for method B is 132/485=0.27. Intuitively, these two methods seem out of consistency. I did chisq.test with p.value 0.11 and a fisher exact test (since the rare events) with a p.value 0.01.
So, my question is which method should I use here to test: $H_0:$ these two methods are at equality for measure the outcome vs $H_1:$ they are different.