mrlPlot: Mean Residual Life Plot for the Generalized Pareto...

Description Usage Arguments Examples

Description

Plots the empirical mean residual life, with confidence intervals. The mean residual life plot provides a visual diagnostic tool to choose a threshold for exceedances.

Usage

1
mrlPlot(data, thresholds = NULL, conf = 0.95, npoints = 100)

Arguments

data

Vector of data.

thresholds

A numeric vector of threshold(s) to plot vertically. Defaults to NULL.

conf

The level of the confidence bounds to use. Defaults to 0.95.

npoints

The number of points to interpolate with. Defaults to 100.

Examples

1
2
3
## Not run
## x <- rgpd(500, loc = 0, scale = 1, shape = 0.1)
## mrlPlot(x, thresholds = c(2))


Search within the eva package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.