Description Usage Arguments Details Value See Also Examples
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.
1 2 |
x |
an object returned by the function |
... |
other graphics parameters |
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.
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.