Dear R team,
I have a simple question.

I tried this command:
phyper(17,449,19551,181, FALSE)
[1] 1.47295e-07

and then I tried this command:
(fisher.test(matrix(c(17,449,181,19551),2,2),
alternative='greater'))$p.value
[1] 3.693347e-06


Shouldn't be identical the results of the two commands ?
What is the difference ?

Thx a lot
-- 
View this message in context: 
http://r.789695.n4.nabble.com/hypergeometric-vs-fisher-test-tp2324223p2324223.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to