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

kolmogorovSmirnovTest poor performance in monteCarloP method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.X
    • None
    • None

    Description

      I'm using the kolmogovSmirnovTest method to calculate pvalues.

      However, when i try running the test on two double[] of sizes 5 and 45 the results take over 10 seconds to calculate.
      This seems very long, whereas in R it takes a few miliseconds for the same calculation.
      I'd be very happy to hear any comment you may have on the subject.

      Gilad

      Attachments

        1. KSTest-JavaAndR.txt
          1 kB
          Gilad
        2. KSTestSnippet.txt
          0.4 kB
          Gilad

        Issue Links

          Activity

            People

              Unassigned Unassigned
              giladwa1 Gilad
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: