Thanks for consideration. So can I suppose that this value is 1 or can I
trust on other result?

I was wondering to open JIRA ticket for this.

Thanks


On Thu, Aug 11, 2011 at 6:39 PM, Phil Steitz <phil.ste...@gmail.com> wrote:

> 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
>
>


-- 

Regards,
Marzieh Ayati

Reply via email to