dGEV | R Documentation |
Density, distribution and quantile function for the Generalized Extreme Value (GEV) distribution.
dGEV(x, loc, scale, shape, log=FALSE) pGEV(q, loc, scale, shape, lower.tail=TRUE) qGEV(p, loc, scale, shape)
x, q |
vector of quantiles. |
p |
vector of probabilities. |
loc |
vector of locations. |
scale |
vector of scales. |
shape |
vector of shapes. |
log |
A logical value; if |
lower.tail |
A logical value; if |
The GEV distribution has density
f(x; μ,σ,ξ) = exp { -[1 + ξ ( (x-μ)/σ )]_+^(-1/ξ) }
density (dGEV
), distribution function (pGEV
) and quantile function (qGEV
) from the Generalized Extreme Value distirbution with given
location
, scale
and shape
.
Simone Padoan, simone.padoan@unibocconi.it, https://faculty.unibocconi.it/simonepadoan/; Boris Beranger, borisberanger@gmail.com https://www.borisberanger.com;
fGEV
# Densities dGEV(x=1, loc=1, scale=1, shape=1) dGEV(x=c(0.2, 0.5), loc=1, scale=1, shape=c(0,0.3)) # Probabilities pGEV(q=1, loc=1, scale=1, shape=1, lower.tail=FALSE) pGEV(q=c(0.2, 0.5), loc=1, scale=1, shape=c(0,0.3)) # Quantiles qGEV(p=0.5, loc=1, scale=1, shape=1) qGEV(p=c(0.2, 0.5), loc=1, scale=1, shape=c(0,0.3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.