Description Usage Arguments Details References Examples
Density, distribution function, quantile function and random generation for the generalized Pareto distribution.
1 2 3 4 5 6 7 |
x, q |
vector of quantiles. |
mu, sigma, xi |
location, scale, and shape parameters. Scale must be positive. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE (default), probabilities are P[X ≤ x] otherwise, P[X > x]. |
p |
vector of probabilities. |
n |
number of observations. If |
Probability density function
f(x) = [if ξ != 0:] (1+ξ*(x-μ)/σ)^{-(ξ+1)/ξ}/σ [else:] exp(-(x-μ)/σ)/σ
Cumulative distribution function
F(x) = [if ξ != 0:] 1-(1+ξ*(x-μ)/σ)^{-1/ξ} [else:] 1-exp(-(x-μ)/σ)
Quantile function
F^-1(x) = [if ξ != 0:] μ + σ * ((1-p)^{-ξ}-1)/ξ [else:] μ - σ * log(1-p)
Coles, S. (2001). An Introduction to Statistical Modeling of Extreme Values. Springer.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.