Next: Gumbel Random Variable, Previous: Laplace Random Variable, Up: Functions and Variables for continuous distributions [Contents][Index]
The Cauchy distribution (also known as the Lorentz distribution) is the distribution of of the ratio of two independent normally distributed random variables with mean zero.
Note that the mean, variance, standard deviation, skewness coefficient, and kurtosis coefficient are all undefined for the Cauchy distribution. The integrals do not converge in this case.
Returns the value at x of the density function of a
load("distrib")
.
The pdf is
Returns the value at x of the distribution function of a
load("distrib")
.
The cdf is
Returns the q-quantile of a
cdf_cauchy
. Argument q must be an element of load("distrib")
.
Returns a
random_cauchy
with a third argument n, a random sample of size n will be simulated.
The implemented algorithm is based on the general inverse method.
To make use of this function, write first load("distrib")
.
Next: Gumbel Random Variable, Previous: Laplace Random Variable, Up: Functions and Variables for continuous distributions [Contents][Index]