commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Closed: (MATH-311) Replaced the BinomialDistribution existing PDF with Catherine Loader's algorithm (as per wishlist on the wiki page)
Date Sat, 03 Apr 2010 20:53:27 GMT

     [ https://issues.apache.org/jira/browse/MATH-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz closed MATH-311.
----------------------------


> Replaced the BinomialDistribution existing PDF with Catherine Loader's algorithm (as
per wishlist on the wiki page)
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: MATH-311
>                 URL: https://issues.apache.org/jira/browse/MATH-311
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Nipun Jawalkar
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: BinomialDistributionPatch.txt
>
>
> The existing PDF for Binomial distributions cannot handle n>1029. This implementation
of Catherine Loader's algorithm can handle n upto and larger than 1000000. The Commons-Math
wiki page has a wishlist entry asking for this, with a link to the paper describing the new
algorithm:  http://projects.scipy.org/scipy/raw-attachment/ticket/620/loader2000Fast.pdf
> I've updated the probability() function in BInomialDistributionImpl.java, as well as
the unit test for this method. The updated unit test has higher precision expected values,
which were calculated with Mathematica 6.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message