Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-644

for the class of hyper-geometric distribution, for some number the method "upperCumulativeProbability" return a probability greater than 1 which is impossible.

    Details

      Description

      In windows 7, I used common.Math library. I used class "HypergeometricDistributionImpl" and method "upperCumulativeProbability" of zero for distribution and the return value is larget than 1. the following code is working error.

      HypergeometricDistributionImpl u = new HypergeometricDistributionImpl(14761461, 1035 ,1841 );
      System.out.println(u.upperCumulativeProbability(0))

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              msayati marzieh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: