Description Usage Arguments Details Value Author(s) References Examples
Performs Kuiper test for the hypothesis of uniformity, see Kuiper (1960).
1 | kuiper.unif.test(x, nrepl=2000)
|
x |
a numeric vector of data values. |
nrepl |
the number of replications in Monte Carlo simulation. |
The Kuiper test for uniformity is based on the following statistic:
V = \max_i≤ft(\frac{i}{n}-X_{(i)}\right) + \max_i≤ft(X_{(i)}-\frac{i-1}{n}\right)
The p-value is computed by Monte Carlo simulation.
A list with class "htest" containing the following components:
statistic |
the value of the Kuiper statistic. |
p.value |
the p-value for the test. |
method |
the character string "Kuiper test for uniformity". |
data.name |
a character string giving the name(s) of the data. |
Maxim Melnik and Ruslan Pusev
Kuiper, N.H. (1960): Tests concerning random points on a circle. — Proc. Kon. Ned. Akad. Wetensch., Ser. A, vol. 63, pp. 38–47.
1 2 | kuiper.unif.test(runif(100,0,1))
kuiper.unif.test(rbeta(100,0.5,0.5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.