xdat <- mev::rgp(
n = 100,
loc = 0,
scale = 1,
shape = 0.5)
fitted <- fit.egp(
xdat = xdat,
thresh = 1,
model = "egp2",
show = TRUE)
thresh <- mev::qgp(seq(0.1, 0.5, by = 0.05), 0, 1, 0.5)
tstab.egp(
xdat = xdat,
thresh = thresh,
model = "egp2",
plots = 1:3)
Run the code above in your browser using DataLab