Plot GPD fit {POT}R Documentation

Graphical Functions to compare the GP Fitted Model to Empirical One

Description

Produces QQ-plot, Probability Plot and a Denstiy Plot of the fitted model versus the empirical one. Another function computes the Return Level Plot of the fitted model.

Usage

plotgpd(fitted, mu, main, which = 1:4, ask = nb.fig < length(which) && 
                     dev.interactive(),ci = TRUE, ...)

Arguments

fitted A fitted object of class 'gpd'. Generally, an object return by fitgpd
mu The mean number that occur in a block -generally a block consits of a year.
main optional. A string vector corresponding to the title of each plot.
which a numeric vector which specifies which plot must be drawn : '1' for Probability Plot, '2' for QQ-Plot,'3' for Density Plot and '4' for a Return Level Plot.
ask Logical. If TRUE, user is asked before each plot.
ci Logical. If TRUE, the simulated 95% confidence interval is plotted.
... Other parameters to pass to the plot function.

Examples

data(ardieres)
fitted <- fitgpd(ardieres[,"flows"], 6, 'mle')
mu <- fitted$nhigh / 33.4
plotgpd(fitted, mu = mu)

[Package POT version 0.0-3 Index]