Learn R Programming

Directional (version 7.0)

Density of the SESPC distribution: Density of the SESPC distribution

Description

Density of the SESPC distribution.

Usage

dsespc(y, mu, theta, logden = FALSE)

Value

A vector with the (log) density values of y.

Arguments

y

A matrix or a vector with the data expressed in Euclidean coordinates, i.e. unit vectors.

mu

The mean vector the SESPC distribution, a vector in \(R^3\).

theta

The two \(\theta\) parameters of the SESPC distribution.

logden

If you the logarithm of the density values set this to TRUE.

Author

Michail Tsagris.

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

Details

The density of the SESPC distribution is computed.

References

Tsagris M. and Alzeley O. (2024). Circular and spherical projected Cauchy distributions: A Novel Framework for Circular and Directional Data Modeling. Australian & New Zealand Journal of Statistics (accepted for publication). https://arxiv.org/pdf/2302.02468.pdf

Mardia K. V. and Jupp P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.

See Also

desag, sespc.mle

Examples

Run this code
m <- colMeans( as.matrix( iris[,1:3] ) )
y <- rsespc(1000, m, c(1, 1))
mod <- sespc.mle(y)
dsespc( y, mod$mu, mod$theta)

Run the code above in your browser using DataLab