I'm using the R function ks.test()
to test the Uniform distribution of the R random number generator. I'm using the following code:
replicate(100000, ks.test(runif(n),y="punif")
.
When n
is less than or equal to 100 it works, but when n
is greater than 100 I get the following Warning Message:
In ks.test(runif(100000), y = "punif") :
ties should not be present for the Kolmogorov-Smirnov test.
What are those "ties"?