Density function of the extended generalized Pareto distribution
Hazard function of the extended generalized Pareto distribution
Quantile function of the extended generalized Pareto distribution
dextgp(x, scale = 1, shape1 = 0, shape2 = 0, log = FALSE)hextgp(x, scale = 1, shape1 = 0, shape2 = 0, log = FALSE)
qextgp(p, scale = 1, shape1 = 0, shape2 = 0, lower.tail = TRUE)
a vector of (log)-density of the same length as x
a vector of (log)-hazard of the same length as x
a vector of quantiles
vector of quantiles.
scale parameter, strictly positive.
positive shape parameter \(\beta\); model defaults to generalized Pareto when it equals zero.
shape parameter \(\gamma\); model reduces to Gompertz when shape2=0
.
logical; if TRUE
, return the log hazard
vector of probabilities.
logical; if TRUE
(default), the lower tail probability \(\Pr(X \leq x)\) is returned.