plot.potd {evir}R Documentation

Plot Fitted POT Model

Description

The plot method plot.potd provides seven different plots for assessing fitted POT model. The user selects the plot type from a menu. See the examples below.

Usage

## S3 method for class 'potd'
plot(x, ...)

Arguments

x

an object returned by the function pot

...

other graphics parameters

Details

Plot 1 displays the exceedance process of the chosen threshold. Plots 2-4 assess the Poisson nature of the exceedance process by looking at the scaled gaps between exceedances, which should be iid unit exponentially distributed. Plots 5-6 assess the GPD nature of the excesses by looking at suitably defined residuals, which should again be iid unit exponentially distributed. Option 8 allows the user to call GPD plotting functions.

Value

If plot 1 or 2 from the GPD plots is selected as the final plot (i.e. option 8 is selected, followed by option 1 or 2), 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, pot, plot.gpd

Examples

data(danish)
out <- pot(danish,10) 
## Not run: plot(out) 
  
## Not run: Make a plot selection (or 0 to exit): 
## Not run: 1: plot: Point Process of Exceedances 
## Not run: 2: plot: Scatterplot of Gaps 
## Not run: 3: plot: Qplot of Gaps 
## Not run: 4: plot: ACF of Gaps 
## Not run: 5: plot: Scatterplot of Residuals 
## Not run: 6: plot: Qplot of Residuals 
## Not run: 7: plot: ACF of Residuals 
## Not run: 8: plot: Go to GPD Plots   

[Package evir version 1.7-4 Index]