Skip Menu |

This queue is for tickets about the PDL-Stats CPAN distribution.

Report information
The Basics
Id: 82725
Status: resolved
Priority: 0/
Queue: PDL-Stats

People
Owner: MAGGIEXYZ [...] cpan.org
Requestors: sjcarmona [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: 0.6.3



Subject: binomial_test bug?
Date: Tue, 15 Jan 2013 15:18:09 -0300
To: bug-PDL-Stats [...] rt.cpan.org
From: Santiago Carmona <sjcarmona [...] gmail.com>
Hi, i'm seeing this problem: use PDL::Stats; print binomial_test(1, 1, 0.5 ) result is 0 and should be close to 1 i'm using Perl (v5.14.2) built for x86_64-linux-gnu-thread-multi, M/MA/MAGGIEXYZ/PDL-Stats-0.6.2.tar.gz Ubuntu 3.2.0-35-generic Best, Santiago
Thanks for the report! Looks like an "off by one" error. Just pushed a fix to https://github.com/maggiexyz/PDL-Stats