Uploaded image for project: 'Commons Statistics'
  1. Commons Statistics
  2. STATISTICS-38

Optimise use of the Gamma function in the PoissonDistribution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.0
    • 1.0
    • distribution
    • None

    Description

      The Poisson distribution currently allows user configured tolerances for computing the Gamma functions for the CDF. These may not be necessary and it should be investigated. The version of the Gamma function used by the Poisson distribution may not be the same as
      those that required these tolerances in Commons Math 2 (use of the tolerances go as far back as the commit history in the git repo).

      Repeated calling of the RegularizedGamma.P and Q functions from numbers would benefit from allowing pre-computation of the the log( x ) component in the RegularizedGamma function. In this case x is the Poisson mean. See also NUMBERS-167 which discusses pre-computation of the LogGamma(a) component of the input arguments a and x.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aherbert Alex Herbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: