From Kurt.Hornik@ci.tuwien.ac.at  Fri Apr 25 13:19:29 1997
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Fri, 25 Apr 1997 14:19:29 +0200
Subject: R-alpha: phyper() woes
Message-ID: <199704251219.OAA26048@aragorn.ci.tuwien.ac.at>

I can also confirm that rhyper(5,200,250,60) never returns (o.k., if
never is anything beyond 5 minutes).

More strikingly,

R> phyper(47, 76, 49, 68)
[1] 1

whereas

Splus> phyper(47, 76, 49, 68)
[1] 0.9883098


(Breaks my fisher.test() ...)

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: phyper() woes
Kurt Hornik