plot
method for objects of class "stability"
returned from
stability
Arguments
- x
an object of class
"stability"
, a result of a call tostability
.- y
Not used.
- ...
Additional arguments passed on to
matplot
,axis
and/orsegments
.- prob
A logical scalar. If
TRUE
then the levels of thresholds on the lower horizontal axis are represented by the proportion of observations that lie below a threshold. Ifprob = FALSE
then the values of the thresholds are used.- top_scale
A character scalar. If
top_scale = "none"
then no axis labels appear on the upper horizontal axis. Iftop_scale = "excesses"
then the number of threshold excesses at each threshold are indicated. Iftop_scale = "opposite"
then the type of threshold level not chosen usingprob
is indicated.- vertical
A logical scalar. Should the confidence intervals be depicted using a vertical line for each threshold (
TRUE
) or by joining up confidence limits across thresholds (FALSE
)?
Value
In addition to producing the plot a list of the arguments used
by matplot
, axis
is
returned (invisibly).
Details
Produces a simple threshold diagnostic plot based on the object
returned from stability
.
The MLEs of the GP shape parameter $\(\xi\)$ and
approximate conf
% confidence intervals
for \(\xi\) are plotted against the threshold used to fit the GP model.
This plot is used to choose a threshold above which the underlying GP
shape parameter may be approximately constant. See Chapter 4 of
Coles (2001). See also the vignette "Introducing threshr".
as described in .
See also the vignette "Introducing threshr".