shape function

Plot for GPD Shape Parameter

Plot for GPD Shape Parameter

Creates a plot showing how the estimate of shape varies with threshold or number of extremes.

shape(data, models = 30, start = 15, end = 500, reverse = TRUE, ci = 0.95, auto.scale = TRUE, labels = TRUE, ...)

Arguments

  • data: numeric vector of data
  • models: number of consecutive gpd models to be fitted
  • start: lowest number of exceedances to be considered
  • end: maximum number of exceedances to be considered
  • reverse: should plot be by increasing threshold (TRUE) or number of extremes (FALSE)
  • ci: probability for asymptotic confidence band; for no confidence band set to zero
  • auto.scale: whether or not plot should be automatically scaled; if not, xlim and ylim graphical parameters may be entered
  • labels: whether or not axes should be labelled
  • ...: other graphics parameters

Returns

A table of results is returned invisibly.

Details

For every model gpd is called. Evaluation may be slow.

See Also

gpd, plot.gpd, hill

Examples

## Not run: data(danish) ## Not run: shape(danish) # Shape plot of heavy-tailed Danish fire insurance data
  • Maintainer: Bernhard Pfaff
  • License: GPL (>= 2)
  • Last published: 2018-03-20

Useful links