dmcd {mcauchyd} | R Documentation |
Density of a Multivariate Cauchy Distribution
Description
Density of the multivariate ( variables) Cauchy distribution (MCD)
with location parameter
mu
and scatter matrix Sigma
.
Usage
dmcd(x, mu, Sigma, tol = 1e-6)
Arguments
x |
length |
mu |
length |
Sigma |
symmetric, positive-definite square matrix of order |
tol |
tolerance (relative to largest eigenvalue) for numerical lack of positive-definiteness in Sigma. |
Details
The density function of a multivariate Cauchy distribution is given by:
Value
The value of the density.
Author(s)
Pierre Santagostini, Nizar Bouhlel
See Also
rmcd
: random generation from a MCD.
plotmcd
, contourmcd
: plot of a bivariate Cauchy density.
Examples
mu <- c(0, 1, 4)
sigma <- matrix(c(1, 0.6, 0.2, 0.6, 1, 0.3, 0.2, 0.3, 1), nrow = 3)
dmcd(c(0, 1, 4), mu, sigma)
dmcd(c(1, 2, 3), mu, sigma)
[Package mcauchyd version 1.3.2 Index]