in reply to Fastest way to calculate hypergeometric distribution probabilities (i.e. BIG factorials)?
In this node I posted some code to compute a onetailed 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 Pvalue obtained from the onetailed Fisher's Exact test computed with the code referred to above. (The odds are (1– p)/p.)
the lowliest monk


Replies are listed 'Best First'.  

What are "the odds"?
by hv (Parson) on Jun 14, 2005 at 09:54 UTC  
by tlm (Prior) on Jun 14, 2005 at 12:07 UTC  
by chas (Priest) on Jun 14, 2005 at 12:28 UTC  
by chas (Priest) on Jun 14, 2005 at 11:54 UTC  
by tlm (Prior) on Jun 14, 2005 at 13:46 UTC 
In Section
Seekers of Perl Wisdom