Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABAD8D220 for ; Sun, 25 Nov 2012 16:02:59 +0000 (UTC) Received: (qmail 67974 invoked by uid 500); 25 Nov 2012 16:02:58 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 67907 invoked by uid 500); 25 Nov 2012 16:02:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 67898 invoked by uid 99); 25 Nov 2012 16:02:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2012 16:02:58 +0000 Date: Sun, 25 Nov 2012 16:02:58 +0000 (UTC) From: =?utf-8?Q?S=C3=A9bastien_Brisard_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <69800666.21338.1353859378530.JavaMail.jiratomcat@arcas> In-Reply-To: <2135841673.10922.1328337233944.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-738) Incomplete beta function I(x, a, b) is inaccurate for large values of a and/or b MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-738?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D135035= 06#comment-13503506 ]=20 S=C3=A9bastien Brisard commented on MATH-738: ---------------------------------------- In {{r1413366}}, implemented Gamma.logGammaMinusLogGammaSum, which maps (a,= b) to log[=CE=93(b) / =CE=93(a + b)]. =20 > Incomplete beta function I(x, a, b) is inaccurate for large values of a a= nd/or b > -------------------------------------------------------------------------= ------- > > Key: MATH-738 > URL: https://issues.apache.org/jira/browse/MATH-738 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.0 > Reporter: S=C3=A9bastien Brisard > Assignee: S=C3=A9bastien Brisard > Labels: special-functions > Fix For: 3.1, 4.0 > > > This was first reported in MATH-718. The result of the current implementa= tion of the incomplete beta function I(x, a, b) is inaccurate when a and/or= b are large-ish.=20 > I've skimmed through [slatec|http://www.netlib.org/slatec/fnlib/betai.f],= GSL, [Boost|http://www.boost.org/doc/libs/1_38_0/libs/math/doc/sf_and_dist= /html/math_toolkit/special/sf_beta/ibeta_function.html] as well as NR. At f= irst sight, neither uses the same method to compute this function. I think = [TOMS-708|http://www.netlib.org/toms/708] is probably the best option. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira