[R] Fisher's Exact Test
partha_bagchi@hgsi.com
partha_bagchi at hgsi.com
Fri Feb 12 21:01:04 CET 1999
Appology in advance if this has been asked and answered. I am getting different
answers using Fisher's exact test in the package ctest. For example:
x_cbind(c(8, 22), c(31, 29))
fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.04024
alternative hypothesis: two.sided
However, in SAS or other packages on the net the answer I get is p-value=
0.02664.
Is this a result of the Clarkson, Fan & Joe (1993) improvement or am I doing
something fundamentally wrong?
(the above is only an example - I get different (from R) answers when I use
different input matrices).
TIA.
Partha Bagchi.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list