Skip to content

(PR#1007) [Rd] ks.test doesn't compute correct empirical

1 message · Brian Ripley

#
On Tue, 3 Jul 2001, A. G. McDowell wrote:

            
(Hopefully readers of those textbooks would understand that the results you
reported as a bug *are* the behaviour of KS test.  Nowhere does R
say it has implemented a modified KS test.  The one data point we have
suggests otherwise ....)
In your original examples, this reduces a sample of size 10000 to one of
size 101 or 2.  Conservative - yes.   Useful - very unlikely!
There are circumstances in which one would want the original KS definition
for all data sets, where one wnats the test value and not the p value.

I've added a warning, but I do not think we should be implementing a
different definition.