powered by
Threshold stability plots for extended generalized Pareto models
tstab.egp( xdat, thresh, model = c("pt-beta", "pt-gamma", "pt-power", "gj-tnorm", "gj-beta", "exptilt", "logist"), param = c("shape", "kappa"), type = c("wald", "lrt"), transform = FALSE, level = 0.95, plot = TRUE, ... )
an invisible list object of class mev_egp_tstab with elements
mev_egp_tstab
kappa: matrix of parameter estimates and confidence intervals for \(\kappa\), if specified in param
kappa
param
shape: matrix of parameter estimates and confidence intervals for the shape parameter \(\xi\), if specified in param
shape
thresh: vector of threshold candidates
thresh
level: level of the confidence intervals
level
model: string giving the EGP model family
model
type: type of confidence interval
type
vector of observations, greater than the threshold
threshold value
a string indicating which extended family to fit
[string] parameter, either shape or additional parameter kappa
[string] confidence interval type, either wald or profile.
wald
profile
logical; if TRUE and type="wald", intervals for kappa are computed on the log-scale and back-transformed.
TRUE
type="wald"
[double] confidence interval level, default to 0.95.
[logical] if TRUE (default), return a threshold stability plot
additional arguments for the plot function, currently ignored.
xdat <- rgp(n = 1000) tstab.egp( xdat = xdat, thresh = c(0, quantile(xdat, 0.5)), model = "gj-tnorm", param = "kappa", transform = TRUE)
Run the code above in your browser using DataLab