This function provides the log-likelihood and quantiles for the different extended generalized Pareto distributions. All families share the same tail index as the generalized Pareto, and reduce to the latter when kappa=1.
egp.ll(
xdat,
thresh,
par,
model = c("pt-beta", "pt-gamma", "pt-power", "gj-tnorm", "gj-beta", "exptilt",
"logist")
)egp.retlev(
xdat,
thresh,
par,
model = c("pt-beta", "pt-gamma", "pt-power", "gj-tnorm", "gj-beta", "exptilt",
"logist"),
p,
confint = FALSE,
plot = TRUE
)
vector of observations, greater than the threshold
threshold value
parameter vector (\(\kappa\), \(\sigma\), \(\xi\)).
a string indicating which extended family to fit
extreme event probability; p must be greater than the rate of exceedance for the calculation to make sense. See Details.
logical; if TRUE, a plot of the return levels