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