From Jerry.Lewis at biogenidec.com  Fri Feb 15 06:25:03 2008
From: Jerry.Lewis at biogenidec.com (Jerry.Lewis at biogenidec.com)
Date: Fri, 15 Feb 2008 06:25:03 +0100 (CET)
Subject: [Rd] Overly restrictive conditions to evaluate beta (PR#10763)
Message-ID: <20080215052503.E74FA2834170@mail.pubhealth.ku.dk>

Full_Name: Jerry W. Lewis
Version: 2.6.2
OS: Windows XP Professional
Submission from: (NULL) (96.233.108.117)


Currently, beta(a,b) returns NaN if either a or b is negative, but the current
calculation 
  beta(a,b) = gamma(a)*gamma(b)/gamma(a+b)
works equally well if either or both arguments are negative, provided that none
of a, b, a+b is a negative integer.

Also, if n>m>0 are integers, then 
  B(m,-n) = (-1)^m * B(m,n-m+1)



[Rd] Overly restrictive conditions to evaluate beta (PR#10763)
Jerry.Lewis at biogenidec.com