commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marzieh Ayati <msay...@gmail.com>
Subject Re: [MATH]: question about HypergeometricDistributionImpl class
Date Fri, 12 Aug 2011 14:58:47 GMT
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.steitz@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>


-- 

Regards,
Marzieh Ayati

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message