plot.gpd: Plot Fitted GPD Model

Description Usage Arguments Value See Also Examples

Description

The plot method plot.gpd provides four different plots for assessing fitted GPD model. The user selects the plot type from a menu. See the examples below.

Usage

1
2
## S3 method for class 'gpd'
plot(x, optlog = NA, extend = 1.5, labels = TRUE, ...)

Arguments

x

a gpd object

optlog

optional argument for plots 1 and 2 giving a particular choice of logarithmic axes: "x" x-axis only; "y" y-axis only; "xy" both axes; "" neither axis.

extend

optional argument for plots 1 and 2 expressing how far x-axis should extend as a multiple of the largest data value. This argument must take values greater than 1 and is useful for showing estimated quantiles beyond data.

labels

optional argument for plots 1 and 2 specifying whether or not axes should be labelled

...

other graphics parameters

Value

If plot 1 or 2 is selected as the final plot, a list object containing details of the plot is returned invisibly. This object should be used as the first argument of gpd.q or gpd.sfall to add quantile estimates or expected shortfall estimates to the plot.

See Also

gpd, quant, shape

Examples

1
2
3
4
5
6
7
8
9
data(danish)
out <- gpd(danish, 10) 
## Not run: plot(out) 

## Not run: Make a plot selection (or 0 to exit):
## Not run: 1: plot: Excess Distribution 
## Not run: 2: plot: Tail of Underlying Distribution 
## Not run: 3: plot: Scatterplot of Residuals 
## Not run: 4: plot: QQplot of Residuals 

Example output



evir documentation built on May 2, 2019, 12:21 p.m.

Related to plot.gpd in evir...