Skip to content
Prev 267206 / 398502 Next

Problems with ks.test()

(I'm replying to your original post because your follow-up omits the
context.)

The K-S test is designed for continuous distributions. You have far
too many zeros in your data to get anything reasonable out of the
test. For your data, the K-S statistic is the difference in the
(e)cdfs at zero. Your results just show that this can be sensitive
to the degree of rounding used for the theoretical cdf.

Peter Ehlers
On 2011-07-29 02:07, Jochen1980 wrote: