| pot {evir} | R Documentation |
Peaks Over Thresholds Model
Description
Fits a Poisson point process to the data, an approach
sometimes known as peaks over thresholds (POT), and
returns an object of class "potd".
Usage
pot(data, threshold = NA, nextremes = NA, run = NA, picture = TRUE,
...)
Arguments
data |
numeric vector of data, which may have a |
threshold |
a threshold value (either this or |
nextremes |
the number of upper extremes to be used (either
this or |
run |
if the data are to be declustered the run length
parameter for the runs method (see |
picture |
whether or not a picture should be drawn if declustering is performed |
... |
arguments passed to |
Details
Uses optim for point process likelihood maximization.
Value
An object of class "potd" describing the fit and including
parameter estimates and standard errors.
See Also
gpd, plot.potd,
plot.gpd, decluster,
optim, as.POSIXct
Examples
data(danish)
out <- pot(danish, 10)
# Fits POT model to Danish fire insurance losses