Learn R Programming

exdex (version 1.0.1)

plot.choose_b: Plot block length diagnostic for the semiparametric maxima estimator

Description

plot method for objects inheriting from class "choose_b", returned from choose_b

Usage

# S3 method for choose_b
plot(x, y, ..., estimator = c("N2015", "BB2018"),
  maxima = c("sliding", "disjoint"))

Arguments

x

an object of class c("choose_b", "exdex"), a result of a call to choose_b.

y

Not used.

...

Additional arguments passed on to matplot and/or axis.

estimator

Choice of estimator: "N2015" for Northrop (2015), "BB2018" for Berghaus and Bucher (2018). See spm for details.

maxima

Should the estimator be based on sliding or disjoint maxima?

Value

Nothing is returned.

Examples

See the examples in choose_b.

Details

Produces a simple diagnostic plot to aid the choice of block length \(b\) based on the object returned from choose_b. Estimates of \(b\) and approximate conf% confidence intervals are plotted against the value of \(b\) used to produce each estimate. The type of confidence interval is determined by the arguments interval_type, conf_scale and type provided in the call to choose_b.

References

Northrop, P. J. (2015) An efficient semiparametric maxima estimator of the extremal index. Extremes 18(4), 585-603. https://doi.org/10.1007/s10687-015-0221-5

Berghaus, B., Bucher, A. (2018) Weak convergence of a pseudo maximum likelihood estimator for the extremal index. Ann. Statist. 46(5), 2307-2335. https://doi.org/10.1214/17-AOS1621

See Also

choose_b.