Description Usage Arguments Details Value Examples
Density, distribution function, quantile function, and random generation for generalized Pareto distribution.
1 2 3 4 |
x, q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. |
loc |
location parameter. |
scale |
scale parameter. |
shape |
shape parameter. |
log |
logical; logarithm of output |
Generalized Pareto Distribution with density
f(x)=1/scale * (1 + shape * (x - loc)/scale)^(-1/shape - 1)
dgpd gives the density, pgpd gives the distribution function, qgpd gives the quantile function, and rgpd generates random deviates.
1 | dgpd(110,100,2,4) # 0.01112233
|
[1] 0.01112233
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.