conc.test: A test for testing the equality of the concentration...

View source: R/conc.test.R

Test of equality of the concentration parameters for circular dataR Documentation

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)

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.

Details

This test works for circular data.

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.

Author(s)

Michail Tsagris.

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

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

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

Directional documentation built on Oct. 30, 2024, 9:15 a.m.