You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Art (JIRA)" <ji...@apache.org> on 2017/01/25 07:38:26 UTC

[jira] [Created] (MATH-1401) Exception at IntervalUtils.getClopperPearsonInterval

Art created MATH-1401:
-------------------------

             Summary: Exception at IntervalUtils.getClopperPearsonInterval
                 Key: MATH-1401
                 URL: https://issues.apache.org/jira/browse/MATH-1401
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.6.1
            Reporter: Art


IntervalUtils.getClopperPearsonInterval throws an exception when number of successes equals to zero.

IntervalUtils.getClopperPearsonInterval(1, 0, 0.95) throws org.apache.commons.math3.exception.NotStrictlyPositiveException despite that its input parameters are valid. Note, that number of success = 0 is a perfectly valid value.

 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)