Find GEV Parameters from Given Quantiles
quant2GEV.Rd
Find the vector of the three GEV parameters corresponding to a vector of three quantiles for three given distinct probabilities.
Arguments
- q
A numeric vector with length \(3\) containing distinct values for the GEV quantiles.
- p
A numeric vector with length \(3\) containing distinct values for the probabilities.
- lower.tail
Logical. If
TRUE
the values inp
are for the probability of exceedance, else they are for the probability of non-exceedance.- plot
Logical. If
TRUE
a simple plot will illustrate the zero-finding used to find the GEV shape \(\xi\).- eps
A small numeric number used to decide when the shape \(xi\) is close enough to zero.
- trace
Integer level of verbosity.
Details
Given three distinct probabilities, there is a one-to-one correspondance between the vector of the three corresponding quantiles and the vector of the three GEV parameters so the vector of quantiles can be used to re-parameterise the GEV distribution. The quantile parameterisation can be preferred to define informative priors based on expert knowledge, see Coles and Tawn.