powered by
Density, distribution function, quantile function, and random generation for generalized Pareto distribution.
dgpd(x, loc, scale, shape) pgpd(q, loc, scale, shape) qgpd(p, loc, scale, shape) rgpd(n, loc, scale, shape)
vector of quantiles.
vector of probabilities.
number of observations.
location parameter.
scale parameter.
shape parameter.
dgpd gives the density, pgpd gives the distribution function, qgpd gives the quantile function, and rgpd generates random deviates.
Generalized Pareto Distribution with density
$$f(x)=1/scale * (1 + shape * (x - loc)/scale)^(-1/shape - 1)$$
# NOT RUN { dgpd(110,100,2,4) # 0.01112233 # }
Run the code above in your browser using DataLab