colwatsons: Column-wise uniformity tests for circular data

View source: R/colwatsons.R

Column-wise uniformity Watson test for circular dataR Documentation

Column-wise uniformity tests for circular data

Description

Column-wise uniformity tests for circular data.

Usage

colwatsons(u)

Arguments

u

A numeric matrix containing the circular data which are expressed in radians. Each column is a different sample.

Details

These tests are used to test the hypothesis that the data come from a circular uniform distribution. The Kuiper test is much more time consuming and this is why it not implemented yet. Once we figure out a way to make it fast, we will incldue it.

Value

A matrix with two columns, 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

watson, vmf.mle, rvonmises

Examples

x <- matrix( rvonmises(n = 50 * 10, m = 2, k = 0), ncol = 10 )
res<-colwatsons(x)
x <- NULL

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