Learn R Programming

Directional (version 7.0)

Test of equality of the concentration parameters for circular data: A test for testing the equality of the concentration parameter among g samples, where g >= 2 for ciruclar data

Description

A test for testing the equality of the concentration parameter among g samples, where g >= 2 for ciruclar data.

Usage

conc.test(u, ina, rads = FALSE)

Value

A list including:

mess

A message informing the use of the test statistic used.

res

A numeric vector containing the value of the test statistic and its associated p-value.

Arguments

u

A numeric vector containing the values of all samples.

ina

A numerical variable or factor indicating the groups of each value.

rads

If the data are in radians this should be TRUE and FALSE otherwise.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Giorgos Athineou <gioathineou@gmail.com>.

Details

This test works for circular data.

References

Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.

See Also

embed.circaov, hcf.circaov, lr.circaov, het.circaov

Examples

Run this code
x <- rvonmises(100, 2.4, 15)
ina <- rep(1:4,each = 25)
conc.test(x, ina, rads = TRUE)

Run the code above in your browser using DataLab