Hypothesis test for von Mises-Fisher distribution over Kent distribution | R Documentation |
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.
fish.kent(x, logged = FALSE)
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. |
Essentially it is a test of rotational symmetry, whether Kent's ovalness parameter (beta) is equal to zero. This works for spherical data only.
A vector with two elements, the value of the test statistic and its associated p-value.
Michail Tsagris
R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>
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.
vmf.mle, iag.mle
x <- rvmf(100, rnorm(3), 15)
res<-fish.kent(x)
x <- NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.