powered by
An empirical mean residual life plot, including confidence intervals, is produced. The mean residual life plot aids the selection of a threshold for the GPD or point process models.
mrl.plot(data, umin = min(data), umax = max(data) - 0.1, conf = 0.95, nint = 100)
A numeric vector of data to be fitted.
The minimum and maximum thresholds at which the mean residual life function is calculated.
The confidence coefficient for the confidence intervals depicted in the plot.
The number of points at which the mean residual life function is calculated.
gpd.fit, gpd.fitrange, pp.fit
gpd.fit
gpd.fitrange
pp.fit
data(rain) mrl.plot(rain)
Run the code above in your browser using DataLab