Ren2gev | R Documentation |
Translate a vector of coefficients from a Renewal-POT model with Pareto excesses into a vector of GEV parameters.
Ren2gev(object,
threshold = NULL,
w = 1,
distname.y = c("gpd", "GPD", "lomax", "maxlo"),
jacobian = (length(w) == 1L),
vcovRen = NULL)
object |
A named vector of parameters or an object of class |
threshold |
The threshold associated with the renewal-POT model. This must be provided and be a non NA finite numeric value. It is the location parameter of the GPD. |
w |
The duration of the blocks. |
distname.y |
The distribution of the excesses in the renewal-POT model. This
is normally a |
jacobian |
Logical. If |
vcovRen |
A covariance matrix for the "Ren" vector of parameters. If
|
Given Renewal-POT parameters, it is possible to compute the
distribution of block maxima. When the distribution is in the Pareto
family, the marginal distribution of maxima is GEV. The location and
the scale GEV parameters depend on the block duration w
, while
the GEV shape parameter is identical to that of the GPD input
distribution.
When w
has length 1
, a named vector of GEV parameters as
the one estimated by fgev
. This vector has an
elements named "loc"
, "scale"
and "shape"
.
When w
has length > 1
, a matrix with length(w)
rows, each representing a vector of GEV parameters as before.
The returned object has attributes named "threshold"
. and
"distname.y"
to recall how it was built.
Yves Deville
The gev2Ren
function provides a reciprocal
transformation.
fit1 <- Renouv(Garonne, distname.y = "maxlo")
Ren2gev(fit1)
fit2 <- Renouv(Garonne, distname.y = "gpd")
Ren2gev(fit2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.