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

BinomialTest P-value > 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              kinow Bruno P. Kinoshita
              wangqiang8511 Wang Qiang
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: