[
https://issues.apache.org/jira/browse/MATH-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Art updated MATH-1401:
----------------------
Description:
IntervalUtils.getClopperPearsonInterval throws an exception when number of
successes equals to zero or number of successes = number of trials.
IntervalUtils.getClopperPearsonInterval(1, 0, 0.95) or
IntervalUtils.getClopperPearsonInterval(1, 1, 0.95) throws
org.apache.commons.math3.exception.NotStrictlyPositiveException despite that
its input parameters are valid.
was:
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.
> 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 or number of successes = number of trials.
> IntervalUtils.getClopperPearsonInterval(1, 0, 0.95) or
> IntervalUtils.getClopperPearsonInterval(1, 1, 0.95) throws
> org.apache.commons.math3.exception.NotStrictlyPositiveException despite that
> its input parameters are valid.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)