Simulation of random values from the SESPC distribution | R Documentation |
Simulation of random values from the SESPC distribution
rsespc(n, mu, theta)
n |
A number; how many vectors you want to generate. |
mu |
The mean vector the SESPC distribution, a vector in |
theta |
The two |
A random sample from the SESPC distribution is generated. In case the \theta_s
are zero, the sample is drawn
from the SIPC (spherical independent projected Cauchy) distribution.
An n \times 3
matrix with the simulated unit vectors.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.
sespc.mle, dsespc
m <- colMeans( as.matrix( iris[,1:3] ) )
y <- rsespc(1000, m, c(1, 0.5) )
sespc.mle(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.