commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [MATH]: question about HypergeometricDistributionImpl class
Date Thu, 11 Aug 2011 22:39:41 GMT
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-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message