|Subject:||Bug in PDL::GSL::CDF|
|Date:||Fri, 25 Sep 2015 08:50:49 -0400|
|To:||bug-PDL-Stats [...] rt.cpan.org|
|From:||Eric Damien <jafa82 [...] gmail.com>|
Dear maintainer(s), I would like to point what I consider a mistake to you: $ gsl_cdf_hypergeometric_P(0,2,8,6) # just a reference 0.133333333333333 $ gsl_cdf_hypergeometric_P(-1,2,8,6) # the error 1 $ gsl_cdf_hypergeometric_P(18,2,8,6) # another reference 1 As one can see gsl_cdf_hypergeometric_P reports a CDF value of 1 for a negative value (when 0 is expected). I did not investigate all the other functions (i.e. CDFs), but having been reviewing a program I am writing down to this brick, I think it may be useful to ensure about the rest. Nonetheless, thank you for a great piece of work, Eric Damien. P.S: PDL::Stats $VERSION = '0.72' ; Perl 5.20 .