RaoTest: Rao test. Formal test of uniformity

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

Description

This function performs the Rao test of uniformity.

Usage

1
RaoTest(azimuths, Alpha = 0.01)

Arguments

azimuths

Vector containing the values of the azimuths

Alpha

Significance level. Value used to obtain the Rao Value of the Rao Table. The values can be 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, or 0.9. The default is 0.01.

Details

For a uniform distribution, the space between points should be approximately 360/n. If the space deviates much from this value, then the probability that the data belong to a uniform distribution is reduced.

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

Typical usages are

1
2
3
    RaoTest(azimuths, \dots)
    ......
   

Value

Returns the p-value and indicates whether the hypothesis of uniformity can be accepted.

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

Bachelet E. (1981) Circular statistics in biology. London. London Academic Press.

Jammalamadaka S.R., Sengupta A. (2001) Topic in circular statistics. Singapore. World Scientific Publishing.

Mardia K.V. , Jupp, P.E. (2000) Directional statistics. Chichester. Wiley.

Russell G.S. , Levitin D.J. (1995) An expanded table of probability values for Rao spacing test. Communications in Statistics: Simulation and Computation, 24(4), 879-888.

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

See Also

DrawQQPlot, RayleighTest.

Examples

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

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