Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-12 Thread Marzieh Ayati
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 wrote: > On 8/11/11 3:21 PM, Marzieh Ayati wrote: > > HypergeometricDistributionImpl u = new > > Hy

Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Phil Steitz
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 pr

Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Marzieh Ayati
Thanks for your reply. here is the code and sample of number that the result is greater than 1: import org.apache.commons.math.distribution.HypergeometricDistributionImpl; public class Main { public static void main(String[] args) { HypergeometricDistributionImpl u = new Hypergeome

Re: [MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Gilles Sadowski
Hello. > I am using the commons-Math library. I have used the > HypergeometricDistributionImpl. I used upperCumulativeProbability method. I > have got some probability greater that 1 which is impossible. > I would appreciate if you can help me to know why it happens. > > Thanks, in advance, for y

[MATH]: question about HypergeometricDistributionImpl class

2011-08-11 Thread Marzieh Ayati
Hi, I am using the commons-Math library. I have used the HypergeometricDistributionImpl. I used upperCumulativeProbability method. I have got some probability greater that 1 which is impossible. I would appreciate if you can help me to know why it happens. Thanks, in advance, for your kind help.