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

View source: R/choose_b.R

plot.choose_bR Documentation

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 class '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?

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.

Value

Nothing is returned.

Examples

See the examples in choose_b.

References

Northrop, P. J. (2015) An efficient semiparametric maxima estimator of the extremal index. Extremes 18(4), 585-603. \Sexpr[results=rd]{tools:::Rd_expr_doi("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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1214/17-AOS1621")}

See Also

choose_b.


exdex documentation built on Sept. 10, 2023, 5:06 p.m.