View source: R/predict.Renouv.R
predict.Renouv | R Documentation |
Compute return levels and confidence limits for an object of class "Renouv".
## S3 method for class 'Renouv'
predict(object,
newdata = c(10, 20, 50, 100, 200, 500, 1000),
cov.rate = TRUE,
level = c(0.95, 0.7),
prob = FALSE,
trace = 1, eps = 1e-06,
...)
object |
An object of class |
newdata |
The return period at which return levels and confidence bounds are wanted. |
cov.rate |
If |
level |
Confidence levels as in other 'predict' methods (not percentages). |
prob |
If |
trace |
Some details are printed when |
eps |
Level of perturbation used to compute the numerical derivatives in the delta method. |
... |
Further arguments passed to or from other methods. |
Unless in some very special cases, the confidence limits are approximated ones computed by using the delta method with numerical derivatives.
A data frame with the expected return levels (col. named
"quant"
) at the given return periods, and confidence
limits. The returned object has an infer.method
attribute
describing the method used to compute the confidence limits.
Despite of its name, this method does not compute true predictions. A
return period is to be interpreted as an average interevent time
rather than the duration of a specific period of time. For instance,
the expected return level for a given return period with length 100
years is the level that would be on average exceeded once every 100
years (assuming that the model description in object
is
correct).
Yves Deville
Coles S. (2001) Introduction to Statistical Modelling of Extremes Values, Springer.
Renouv
to fit Renouv
model.
## Use Brest data
fit <- Renouv(Brest)
pred <- predict(fit, newdata = c(100, 125, 150, 175, 200),
level = c(0.99, 0.95))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.