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

BinomialTest P-value > 1

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Labels:
      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

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              wangqiang8511 Wang Qiang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment