kent.logcon: Logarithm of the Kent distribution normalizing constant

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/kent.logcon.R

Description

Logarithm of the Kent distribution normalizing constant.

Usage

1
kent.logcon(k, b, j = 100)

Arguments

k

The conencration parameter, κ.

b

The ovalness parameter, β.

j

The number of the terms in the sum to use. By default this is 100.

Details

It calculates logarithm of the normalising constant of the Kent distribution.

Value

The value of the logarithm of the normalising constant of the Kent distribution.

Author(s)

Michail Tsagris

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

References

Kent John (1982). The Fisher-Bingham distribution on the sphere. Journal of the Royal Statistical Society, Series B, 44(1): 71-80.

See Also

fb.saddle, kent.mle

Examples

1
2
kent.logcon(10, 2)
fb.saddle( c(0, 10, 0), c(0, -2, 2) )

Example output

sh: 1: wc: Permission denied
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
[1] 9.595418
 first order second order  third order 
    9.626705     9.596441     9.596894 

Directional documentation built on Nov. 8, 2021, 1:07 a.m.