fish.kent: Hypothesis test for von Mises-Fisher distribution over Kent...

View source: R/fish.kent.R

Hypothesis test for von Mises-Fisher distribution over Kent distributionR Documentation

Hypothesis test for von Mises-Fisher distribution over Kent distribution

Description

The null hypothesis is whether a von Mises-Fisher distribution fits the data well, and the altenrative is that the Kent distribution is more suitable.

Usage

fish.kent(x, logged = FALSE)

Arguments

x

A numeric matrix containing the data as unit vectors in Euclidean coordinates.

logged

If you want the logarithm of the p-value ot be returned set this to TRUE.

Details

Essentially it is a test of rotational symmetry, whether Kent's ovalness parameter (beta) is equal to zero. This works for spherical data only.

Value

A vector with two elements, the value of the test statistic and its associated p-value.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>

References

Rivest, L. P. (1986). Modified Kent's statistics for testing goodness of fit for the Fisher distribution in small concentrated samples. Statistics & probability letters, 4(1): 1-4.

See Also

vmf.mle, iag.mle

Examples

x <- rvmf(100, rnorm(3), 15)
res<-fish.kent(x)
x <- NULL

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.