Levy: Levy Distribution

Description Usage Arguments Author(s) See Also Examples

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(s/(2 pi (y-m)^3)) exp(-s/(2 (y-m)))

where m is the location parameter of the distribution and s is the dispersion, and y>m.

Usage

1
2
3
4
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

1
2
3
4
dlevy(5, 2, 1)
plevy(5, 2, 1)
qlevy(0.6, 2, 1)
rlevy(10, 2, 1)

rmutil documentation built on May 19, 2017, 4:44 p.m.

Search within the rmutil package
Search all R packages, documentation and source code