Estimator of small exceedance probabilities using truncated Hill
Estimator of small exceedance probabilities using truncated Hill
Computes estimates of a small exceedance probability P(X>q) using the estimates for the EVI obtained from the Hill estimator adapted for upper truncation.
trProb(data, r =1, gamma, q, warnings =TRUE, plot =FALSE, add =FALSE, main ="Estimates of small exceedance probability",...)
Arguments
data: Vector of n observations.
r: Trimming parameter, default is 1 (no trimming).
gamma: Vector of n−1 estimates for the EVI obtained from trHill.
q: The used large quantile (we estimate P(X>q) for q large).
warnings: Logical indicating if warnings are shown, default is TRUE.
plot: Logical indicating if the estimates should be plotted as a function of k, default is FALSE.
add: Logical indicating if the estimates should be added to an existing plot, default is FALSE.
main: Title for the plot, default is "Estimates of small exceedance probability".
...: Additional arguments for the plot function, see plot for more details.