in reply to Fastest way to calculate hypergeometric distribution probabilities (i.e. BIG factorials)?

In this node I posted some code to compute a one-tailed Fisher's Exact test, which uses a hypergeometric distribution. The implementation uses Math::Pari.

BTW, do you really mean "the odds"? Or do you want the probability *p*? If the latter is the case, then this probability is equivalent to the P-value obtained from the one-tailed Fisher's Exact test computed with the code referred to above. (The odds are (1– *p*)/*p*.)

the lowliest monk

In Section
Seekers of Perl Wisdom