kuiper: Uniformity tests for circular data

View source: R/kuiper.R

Uniformity test for circular dataR Documentation

Uniformity tests for circular data

Description

Hypothesis tests of uniformity for circular data.

Usage

kuiper(u)

watson(u)

Arguments

u

A numeric vector containing the circular data which are expressed in radians.

Details

These tests are used to test the hypothesis that the data come from a circular uniform distribution.

Value

A vector with two elements, the value of the test statistic and its associated p-value.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, pg. 153-55 (Kuiper's test) & 156-157 (Watson's test).

See Also

vmf.mle, rvonmises

Examples

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)

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.