Skip to content
Prev 273633 / 398506 Next

KS test and theoretical distribution

Two-sample Kolmogorov-Smirnov test

data:  x and y 
D = 0.11, p-value = 0.5806
alternative hypothesis: two-sided 

ok I expected that, but:
One-sample Kolmogorov-Smirnov test

data:  runif(100) 
D = 0.9106, p-value < 2.2e-16
alternative hypothesis: two-sided 

How come? 

--
View this message in context: http://r.789695.n4.nabble.com/KS-test-and-theoretical-distribution-tp3878640p3878640.html
Sent from the R help mailing list archive at Nabble.com.