Intervals estimator of extremal index based on Ferro and Segers (2003)'s moment-based estimator.
If x
is supplied and y
is not, x
is assumed to identify consecutive threshold exceedances.
If x
is supplied as a list, each list element is assumed to comprise identifiers of consecutive exceedances.
If y
is supplied, x
must be a logical vector, and y
gives positions of x
in
its original with-missing-values vector: so y
identifies consecutive x
.