RayleighTest: Rayleigh test. Formal test of uniformity

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function performs the Rayleigh test of uniformity.

Usage

1
RayleighTest(azimuths)

Arguments

azimuths

Vector containing the values of the azimuths

Details

This test detects a single modal direction in a sample of azimuths when the mean azimuth is unspecified. The hypothesis of uniformity is rejected if the mean module is very large. This test assumes that a large mean module implies a high concentration around the mean and, therefore, less probability that the data are uniformly distributed.

One way to obtain a set of azimuths from X and Y coordinates of the vectors is to use the LoadData function.

Value

Returns the value of the probability of accepting the hypothesis of uniformity.

Author(s)

Ruiz-Cuetos, J.C., jcruizcue@gmail.com, Felicisimo, A.M., amfeli@unex.es, Cuartero, A., acuartero@unex.es, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es

References

Fisher N.I. (1995) Statistical analysis of circular data. Cambridge. Cambridge University Press.

Website http://gim.unex.es/VecStatGraphs2D/

See Also

DrawQQPlot, RaoTest.

Examples

1
2
3
4
   FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
   dat<-LoadData(FileName, Type=2)
   azimuths<-dat[,2]
   RayleighTest(azimuths)

VecStatGraphs2D documentation built on May 2, 2019, 12:36 p.m.