trans2GEV | R Documentation |
Transformation of marginal distribution from unit Frechet to GEV
trans2GEV(data, pars)
data |
A vector of length |
pars |
A |
The transformation function is \left(x^{\xi} -1 \right) \frac{\sigma}{\xi}+\mu
if \xi\neq 0
, and x^{-1}\sigma+\mu
if \xi=0
.
An object of the same format and dimensions as data
.
Simone Padoan, simone.padoan@unibocconi.it, https://faculty.unibocconi.it/simonepadoan/; Boris Beranger, borisberanger@gmail.com https://www.borisberanger.com;
trans2UFrechet
data(pollution)
pars <- fGEV(Leeds.frechet[,1])$est
par_new <- c(2, 1.5, 0.5)
data_new <- trans2GEV(Leeds.frechet[,1], pars=par_new)
fGEV(data_new)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.