Description Usage Arguments Value See Also Examples
Fits generalized extreme value distribution (GEV) to block maxima data.
1 |
data |
data vector. Interpretation depends on value of block: if no block size is specified then data are interpreted as block maxima; if block size is set, then data are interpreted as raw data and block maxima are calculated. |
block |
the block size. A numeric value is interpreted as the
number of data values in each successive block. All the data is
used, so the last block may not contain |
... |
arguments passed to |
An object of class gev
describing the fit and including
parameter estimates and standard errors.
Fitting is carried out using maximum likelihood.
plot.gev
, gumbel
,
optim
, as.POSIXct
1 2 3 4 5 6 7 8 9 | # Fit GEV to monthly maxima
data(bmw)
out <- gev(bmw, "month")
# Fit GEV to maxima of blocks of 100 observations
out <- gev(bmw, 100)
# Fit GEV to the data in nidd.annual, the annual maximum water
# levels of the River Nidd, using the "BFGS" optimization method
data(nidd.annual)
out <- gev(nidd.annual, method = "BFGS", control = list(maxit = 500))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.