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

Owner: MAGGIEXYZ [...]
Requestors: sjcarmona [...]

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 [...]
From: Santiago Carmona <sjcarmona [...]>
Download (untitled) / with headers
text/plain 262b
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
Download (untitled) / with headers
text/plain 118b
Thanks for the report! Looks like an "off by one" error. Just pushed a fix to

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to