Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1086

Incorrect results from BinomialConfidenceInterval#getWilsonScoreInterval

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.3
    • 3.3
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            khamenka Siarhei Khamenka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: