Plot return levels for a fitted bivariate extreme value distribution.
# S3 method for bvpot
retlev(object, p = seq(0.75,0.95,0.05), main, n = 5000,
only.excess = FALSE, ...)
Plot return levels for a fitted bivariate extreme value distribution. Moreover, an invisible list is return which gives the points used to draw the current plot.
An object of class "bvpot"
. Most often, the
return object of the fitbvgpd
function.
A vector of probabilities for which return levels must be drawn.
The title of the graphic window. May be missing.
The number (default: 5000) of points needed to draw return levels lines.
Logical. If FALSE
(the default), all
observations are plotted, otherwise, only exceedances above at least
one of the two thresholds are plotted.
Other parameters to pass to the plot
function.
Mathieu Ribatet
Any bivariate extreme value distribution has the Pickands'
representation form i.e.:
Thus, for a fixed probability
At last, the
fitbvgpd
, plot
x <- rbvgpd(1000, alpha = 0.25, mar1 = c(0, 1, 0.25))
Mlog <- fitbvgpd(x, c(0, 0), "log")
retlev(Mlog)
Run the code above in your browser using DataLab