qnormp {normalp}R Documentation

Quantiles of an exponential power distribution

Description

Quantiles for the exponential power distribution with location parameter mu, scale parameter sigmap and shape parameter p.

Usage

qnormp(pr, mu=0, sigmap=1, p=2, lower.tail=TRUE, log.pr=FALSE)

Arguments

pr Vector of probabilities.
mu Vector of location parameters.
sigmap Vector of scale parameters.
p Shape parameter.
lower.tail Logical; if TRUE (default), probabilities are P[X <= x], otherwise, P[X>x].
log.pr Logical; if TRUE, probabilities pr are given as log(pr).

Details

If mu, sigmap or p are not specified they assume the default values 0, 1 and 2, respectively. The exponential power distribution has density function

f(x) = 1/(2 p^(1/p) Gamma(1+1/p) sigmap) exp{-|x - mu|^p/(p sigmap^p)}

where mu is the location parameter, sigmap the scale parameter and p the shape parameter. When p=2 the exponential power distribution becomes the Normal Distribution, when p=1 the exponential power distribution becomes the Laplace Distribution, when p->infinity the exponential power distribution becomes the Uniform Distribution.

Value

qnormp gives the quantiles of an exponential power distribution.

Author(s)

Angelo M. Mineo

See Also

Normal for the Normal distribution, Uniform for the Uniform distribution, and Special for the Gamma function.

Examples

## Compute the quantiles for a vector of probabilities x
## with mu=1, sigmap=2 and p=1.5
x <- 0.3
q <- qnormp(x, 1, 2, 1.5)
q

[Package normalp version 0.6.8 Index]