You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ethan Mahintorabi (Jira)" <ji...@apache.org> on 2019/10/29 17:22:00 UTC
[jira] [Created] (MATH-1502) KolmogorovSmirnovTest#exactP value is
incorrect in 3.6.1 potential bug
Ethan Mahintorabi created MATH-1502:
---------------------------------------
Summary: KolmogorovSmirnovTest#exactP value is incorrect in 3.6.1 potential bug
Key: MATH-1502
URL: https://issues.apache.org/jira/browse/MATH-1502
Project: Commons Math
Issue Type: Bug
Affects Versions: 3.6.1
Reporter: Ethan Mahintorabi
I believe that I have found a bug in the calculation of the exactP value in KolmogorovSmirnovTest.java in version 3.6.1.
In version 3.4.1 KolmogorovSmirnovTest#exactP(0.5633587786259542, 3, 3, true) = 0.6
Where as
In version 3.6.1 KolmogorovSmirnovTest#exactP(0.5633587786259542, 3, 3, true) = 0.09999999999999998
The approximateP value has stayed the same at ~=0.72. This seems to correspond with the change in methods of calculation in e38bbb9f4191d0d21dea0ba31fdc131b97a5597b
[https://github.com/apache/commons-math/commit/e38bbb9f4191d0d21dea0ba31fdc131b97a5597b#diff-34100572fcc8e6537bc7445a0e82b900]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)