ks.unif.test | R Documentation |
ks.test
to test for Uniformity on the Unit Interval
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)
x |
a numeric vector or univariate time series. |
A list with class "htest" containing the following components:
statistic |
the value of the test statistic. |
p.value |
the p-value of the test. |
method |
a character string indicating what type of test was performed. |
data.name |
a character string giving the name of the data. |
Andrew Hart and Servet MartÃnez
chisq.unif.test
, markov.test
, diid.test
#Generate an IID uniform(0,1) sequence
u <- runif(1000)
ks.unif.test(u)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.