commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksei Dievskii (JIRA)" <>
Subject [jira] [Updated] (MATH-1039) Logarithmic probability and density calculations for the distributions
Date Fri, 27 Sep 2013 15:34:03 GMT


Aleksei Dievskii updated MATH-1039:

    Attachment: LOGDENSITY.patch

The patch introducing logDensity() and logProbability().
> Logarithmic probability and density calculations for the distributions
> ----------------------------------------------------------------------
>                 Key: MATH-1039
>                 URL:
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Aleksei Dievskii
>            Priority: Minor
>              Labels: features, patch
>         Attachments: LOGDENSITY.patch
> A person working with fairly small probabilities and densities often employs their logarithms
to increase precision and decrease the chance of an underflow. However, just taking a log
of the probability() or density() return value doesn't necessary solve the problem, as these
methods themselves could have lost precision or underflowed. This patch introduces new logProbability()
and logDensity() methods overriden for many relevant distribution. The patch also introduces
tests of these new methods.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message