Density of some circular distributions | R Documentation |
Density of some circular distributions.
dvm(x, m, k, rads = FALSE, logden = FALSE)
dspml(x, mu, rads = FALSE, logden = FALSE)
dwrapcauchy(x, m, rho, rads = FALSE, logden = FALSE)
dcircpurka(x, m, a, rads = FALSE, logden = FALSE)
dggvm(x, param, rads = FALSE, logden = FALSE)
dcircbeta(x, m, a, b, rads = FALSE, logden = FALSE)
dcardio(x, m, rho, rads = FALSE, logden = FALSE)
dcircexp(x, lambda, rads = FALSE, logden = FALSE)
dcipc(x, omega, g, rads = FALSE, logden = FALSE)
dgcpc(x, omega, g, rho, rads = FALSE, logden = FALSE)
x |
A vector with circular data. |
m |
The mean value of the von Mises distribution and of the cardioid, a scalar. This is the median for the circular Purkayastha distribution. |
mu |
The mean vector, a vector with two values for the "spml". |
omega |
The location parameter of the CIPC and GCPC distributions. |
g |
The norm of the mean vector for the CIPC and GCPC. |
k |
The concentration parameter. |
rho |
For the wrapped Cauchy distribution, this is the |
a |
The |
b |
The |
lambda |
The |
param |
The vector of parameters of the GGVM distribution as returned by the function |
rads |
If the data are in rads, then this should be TRUE, otherwise FALSE. |
logden |
If you the logarithm of the density values set this to TRUE. |
The density of the von Mises, bivariate projected normal, cardio, circular exponential, wrapped Cauchy, circular Purkayastha, CIPC or GCPC distributions is computed.
A vector with the (log) density values of x.
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.
Tsagris M. and Alzeley O. (2023). Circular and spherical projected Cauchy distributions: A Novel Framework for Circular and Directional Data Modeling. https://arxiv.org/pdf/2302.02468.pdf
Presnell Brett, Morrison Scott P. and Littell Ramon C. (1998). Projected multivariate linear models for directional data. Journal of the American Statistical Association, 93(443): 1068–1077.
Jammalamadaka S. R. and Kozubowski T. J. (2003). A new family of circular models: The wrapped Laplace distributions. Advances and Applications in Statistics, 3(1): 77–103.
dkent, rvonmises, desag
x <- rvonmises(500, m = 2.5, k = 10, rads = TRUE)
mod <- circ.summary(x, rads = TRUE, plot = FALSE)
den <- dvm(x, mod$mesos, mod$kappa, rads = TRUE, logden = TRUE )
mod$loglik
sum(den)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.