Learn R Programming

Directional (version 7.0)

Test for equality of concentration parameters for spherical data: Test for equality of concentration parameters for spherical data

Description

This tests the equality of concentration parameters for spherical data only.

Usage

spherconc.test(x, ina)

Value

A list including:

mess

A message stating the value of the mean resultant and which test statistic was used, U1, U2 or U3.

res

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

Arguments

x

A matrix with the data in Euclidean coordinates, i.e. unit vectors

ina

A variable indicating the groupings of the observations.

Author

Michail Tsagris.

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

Details

The test is designed for spherical data only.

References

Kanti V. Mardia and Peter E. Jupp. Directional statistics, pg. 226--227.

See Also

het.aov, lr.aov, embed.aov, hcf.aov, conc.test, sphereplot

Examples

Run this code
x <- rvmf(100, rnorm(3), 15)
ina <- rep(1:4, each = 25)
spherconc.test(x, ina)

Run the code above in your browser using DataLab