
Last chance! 50% off unlimited learning
Sale ends in
exi(data, u, r = 1, ulow = -Inf)
u
should be a vector of
thresholds, typically with the same length as data
(or else
the usual recycling rules are applied).ulow
should
be a vector of lower thresholds, typically with the same length as
data
(or else the usual recycling r
is a positive integer the extremal index is estimated
using the inverse of the average cluster size, using the clusters
of exceedences derived from clusters
. If r
is
zero, an estimate based on inter-exceedance times is used (Ferro
and Segers, 2003).
If there are no exceedances of the threshold, the estimate is
NaN
. If there is only one exceedance, the estimate is
one.clusters
, exiplot
data(portpirie)
exi(portpirie, 4.2, r = 3, ulow = 3.8)
tvu <- c(rep(4.2, 20), rep(4.1, 25), rep(4.2, 20))
exi(portpirie, tvu, r = 1)
exi(portpirie, tvu, r = 0)
Run the code above in your browser using DataLab