On 8/11/11 3:21 PM, Marzieh Ayati wrote: > HypergeometricDistributionImpl u = new > HypergeometricDistributionImpl(14761461, 1035 ,1841 ); > System.out.println(u.upperCumulativeProbability(0));
Thanks for reporting this. The value reported should obviously be exactly 1. Due to limited precision in the approximation used to compute the distribution, what is returned by the code now in trunk (looks unchanged since 2.1) is 1.0000000000666514. Would you mind opening a JIRA ticket for this? Thanks again for reporting the problem. Phil --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org