Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > x = c(0.5)
- > ks.test(x, "punif")
- One-sample Kolmogorov-Smirnov test
- data: x
- D = 0.5, p-value = 1
- alternative hypothesis: two-sided
- > x = c(0.25, 0.75)
- > ks.test(x, "punif")
- One-sample Kolmogorov-Smirnov test
- data: x
- D = 0.25, p-value = 1
- alternative hypothesis: two-sided
- > x = c(1/6, 0.5, 5/6)
- > ks.test(x, "punif")
- One-sample Kolmogorov-Smirnov test
- data: x
- D = 0.16667, p-value = 1
- alternative hypothesis: two-sided
Add Comment
Please, Sign In to add comment