This function implements the automated proposal from Section 2.2 of Langousis et al. (2016) for mean residual life plots. It returns the threshold that minimize the weighted mean square error and moment estimators for the scale and shape parameter based on weighted least squares.
Arguments
- xdat
[numeric] vector of observations
- kmax
[integer] maximum number of order statistics
- thresh
[numeric] vector of thresholds; if missing, uses all order statistics from the 20th largest until
kmax
as candidates- plot
[logical] if
TRUE
(default), return a plot of the mean residual life plot with the fitted slope and the chosen threshold- ...
additional arguments, currently ignored