Levy {rmutil} | R Documentation |
Levy Distribution
Description
These functions provide information about the Levy distribution
with location parameter equal to m
and dispersion equal to
s
: density, cumulative distribution, quantiles, and
random generation.
The Levy distribution has density
f(y) = \sqrt{\frac{\sigma}{2 \pi (y-\mu)^3}} \exp(-\sigma/(2 (y-\mu)))
where \mu
is the location parameter of the distribution and
\sigma
is the dispersion, and y>\mu
.
Usage
dlevy(y, m=0, s=1, log=FALSE)
plevy(q, m=0, s=1)
qlevy(p, m=0, s=1)
rlevy(n, m=0, s=1)
Arguments
y |
vector of responses. |
q |
vector of quantiles. |
p |
vector of probabilities |
n |
number of values to generate |
m |
vector of location parameters. |
s |
vector of dispersion parameters. |
log |
if TRUE, log probabilities are supplied. |
Author(s)
J.K. Lindsey
See Also
dnorm
for the normal distribution and
dcauchy
for the Cauchy distribution, two other stable
distributions.
Examples
dlevy(5, 2, 1)
plevy(5, 2, 1)
qlevy(0.6, 2, 1)
rlevy(10, 2, 1)
[Package rmutil version 1.1.10 Index]