[
https://issues.apache.org/jira/browse/MATH-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868289#comment-13868289
]
Phil Steitz commented on MATH-1086:
-----------------------------------
Thomas - your comment about static methods applies to many methods in the stat
package. This class is just following the pattern of the others in
stat.inference. We decided some years back to favor non-static implementation
methods when we had more strategy patterns and focus on extensibility. We have
moved more in the direction of single implementations and less concern for
extensibility since, so it may make sense to revisit those decisions.
Personally, I still favor non-static implementation methods though (by
"implementation methods" I mean methods that actually implement mathematical
algorithms, as opposed to convenience methods like the ones in StatUtils), but
am open to change if others feel strongly about it.
> Incorrect results from BinomialConfidenceInterval#getWilsonScoreInterval
> ------------------------------------------------------------------------
>
> Key: MATH-1086
> URL: https://issues.apache.org/jira/browse/MATH-1086
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Siarhei Khamenka
> Fix For: 3.3
>
>
> It looks like BinomialConfidenceInterval#getWilsonScoreInterval produces not
> accurate results for interval lower bound.
> E.g. for input (10,9,0.95) it returns 0.818 instead of 0.596;
> for input (10,10,0.95) it returns 0.856 instead of 0.722.
> Used also
> http://epitools.ausvet.com.au/content.php?page=CIProportion&SampleSize=10&Positive=9&Conf=0.95&Digits=3
> and http://www.measuringusability.com/wald.htm to verify it.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)