Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/getReturnLevels.R
Calculates the return levels and corresponding confidence intervals for a Generalized Extreme Value (GEV) distribution fitted by the ismev package.
1 | getReturnLevels(f, per = c(30,100,300), alpha = 0.05)
|
f |
object of class |
per |
integer vector. The return periods with respect to the chosen block size. For yearly block maxima this amounts to years. |
alpha |
real number. Defines the confidence level. |
Confidence bounds are calculated according to the delta method. Only stationary GEV distributions are supported.
Numeric matrix with columns 'period' (equals per
), 'level' (the
return levels), 'lower', and 'upper' (the lower and upper confidence
bounds with respect to alpha
).
Simon S
Coles, S. (2001). "An Introduction to Statistical Modeling of Extreme Values". Springer Series in Statistics.
package ismev
1 2 3 4 5 6 | ## Not run:
library(ismev)
f <- gev.fit(rnorm(100))
getReturnLevels(f)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.