Hpoints {Renext} | R Documentation |
Plotting positions for exponential return levels
Description
Plotting positions for exponential return level plots.
Usage
Hpoints(n)
Arguments
n |
Sample size. |
Details
The plotting positions are numeric values to use as the abscissae
corresponding to the order statistics in an exponential return level
plot. They range from 1 to about . They can be
related to the plotting positions given by
ppoints
.
The returned vector has elements
for . This is the expectation of the
-th order statistic
for a sample of the standard exponential distribution, see
e.g. chap. 4 of Embrechts et al.
Value
Numeric vector of plotting positions with length n
.
Note
For large enough, the largest value
is
approximately
where
is the Euler-Mascheroni constant, and
is about
. Thus if the Hpoints
are used as plotting positions on a return level plot, the largest
observation has a return period of about
years.
Author(s)
Yves Deville
References
Embrechts P., Klüppelberg C. and Mikosch T. (1997) Modelling Extremal Events for Insurance and Finance. Springer.
See Also
Examples
n <- 30
set.seed(1234)
x <- rGPD(n, shape = 0.2)
plot(exp(Hpoints(n)), sort(x), log = "x",
main = "Basic return level plot")