threshplot: Plot of Theta against Quantile Level of threshold

Description Usage Arguments Details Value References See Also Examples

Description

Calculates maximum likelihood estimates of the extremal index θ based on the K-gaps model for threshold inter-exceedances times of Suveges and Davison (2010).

Usage

1
threshplot(data, tmin, tmax, conf = 95, k = 1, ...)

Arguments

data

A numeric vector of raw data. No missing values are allowed.

tmin

A numeric scalar. Minimum quantile level of threshold applied to data.

tmax

A numeric scalar. Maximum quantile level of threshold applied to data.

conf

A numeric scalar in (0,100). Confidence level required for the confidence intervals.

k

A numeric scalar. Run parameter K, as defined in Suveges and Davison (2010). Threshold inter-exceedances times that are not larger than k units are assigned to the same cluster, resulting in a K-gap equal to zero. Specifically, the K-gap S corresponding to an inter-exceedance time of T is given by S = max(T - K, 0).

...

Arguments to be passed to methods, such as

Details

The maximum likelihood estimate of the extremal index θ under the K-gaps model of Suveges and Davison (2010) is calculated. The form of the log-likelihood is given in the Details section of kgaps_stats. The plot produced presents the movement of the extremal index θ along the quantile level of threshold indicated by the user. Confidence intervals are also presented on the graph. The confidence level can be chosen by the user, using the argument conf.

Value

A list containing

References

Coles, S.G. An Introduction to Statistical Modeling of Extreme Values (2001) http://dx.doi.org/10.1007/978-1-4471-3675-0

See Also

kgaps_mle for maximum likelihood estimation for the K-gaps model.

Examples

1
threshplot(newlyn, 50, 95)

ConstantinosChr/exdex documentation built on May 14, 2019, 4:16 p.m.