[ 
https://issues.apache.org/jira/browse/MATH-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000664#comment-16000664
 ] 

Gilles commented on MATH-1381:
------------------------------

Please do! Thanks to both for your work on this.

Refactoring/modularizing the {{o.a.c.m.stat}} package would be a worthy goal 
IMHO.
A lot of work... ;)

Unless I'm mistaken, the bulk of the original CM code was comprised of the 
statistical utilities. It should have been named "Commons Stat" (to avoid 
open-ended extensions).

> BinomialTest P-value > 1
> ------------------------
>
>                 Key: MATH-1381
>                 URL: https://issues.apache.org/jira/browse/MATH-1381
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Wang Qiang
>             Fix For: 4.0
>
>
> When I use the Binomial Test, I got p-value > 1 for two sided check.
> Example:
> (new BinomialTest()).binomialTest(200, 200, 0.9950429, 
> AlternativeHypothesis.TWO_SIDED) == 1.3701357550780435
> In my case, if the expected p-value is 1 (calculated by package in other 
> language, scipy in this case), the p-value returned could be > 1



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to