powered by
Transforms marginal distributions from unit Frechet to the GEV scale.
trans2GEV(data, pars)
An object of the same format and dimensions as data.
data
A vector of length \(n\) or a \((n \times p)\) matrix representing the data on its original scale.
A \((1 \times 3)\) vector or a \((p \times 3)\) matrix of marginal GEV parameters.
Simone Padoan, simone.padoan@unibocconi.it, https://faculty.unibocconi.it/simonepadoan/; Boris Beranger, borisberanger@gmail.com, https://www.borisberanger.com;
The transformation is given by \( (x^\xi - 1)\frac{\sigma}{\xi} + \mu \) if \(\xi \neq 0\), and by \( \sigma / x + \mu \) if \(\xi = 0\).
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)
Run the code above in your browser using DataLab