powered by
ks.test
Uses ks.test to test that a data vector is uniform on the unit interval. ks.unif.test(x) is merely convenient shorthand for ks.test(x, punif).
ks.unif.test(x)
ks.test(x, punif)
A list with class "htest" containing the following components:
the value of the test statistic.
the p-value of the test.
a character string indicating what type of test was performed.
a character string giving the name of the data.
a numeric vector or univariate time series.
Andrew Hart and Servet Martínez
chisq.unif.test, markov.test, diid.test
chisq.unif.test
markov.test
diid.test
#Generate an IID uniform(0,1) sequence u <- runif(1000) ks.unif.test(u)
Run the code above in your browser using DataLab