Uniformity test for circular data | R Documentation |
Hypothesis tests of uniformity for circular data.
kuiper(u)
watson(u)
u |
A numeric vector containing the circular data which are expressed in radians. |
These tests are used to test the hypothesis that the data come from a circular uniform distribution.
A vector with two elements, the value of the test statistic and its associated p-value.
Michail Tsagris
R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, pg. 153-55 (Kuiper's test) & 156-157 (Watson's test).
vmf.mle, rvonmises
x <- rvonmises(n = 50, m = 2, k = 10)
res<-kuiper(x)
res<-watson(x)
x <- runif(50, 0, 2 * pi)
res<-kuiper(x)
res<-watson(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.