Last chance! 50% off unlimited learning
Sale ends in
The GEV distribution arises from the Extremal Types Theorem, which is rather
like the Central Limit Theorem (see \link{Normal}
) but it relates to
the maximum of
GEV(mu = 0, sigma = 1, xi = 0)
A GEV
object.
The location parameter, written mu
can be any real number. Defaults to 0
.
The scale parameter, written sigma
can be any positive number. Defaults to 1
.
The shape parameter, written xi
can be any real number. Defaults to 0
, which corresponds to a
Gumbel distribution.
We recommend reading this documentation on https://alexpghayes.github.io/distributions3/, where the math will render with additional detail and much greater clarity.
In the following, let mu
= sigma
= xi
=
Support:
Mean:
Median:
Variance:
Probability density function (p.d.f):
If
In the
Cumulative distribution function (c.d.f):
If
In the
set.seed(27)
X <- GEV(1, 2, 0.1)
X
random(X, 10)
pdf(X, 0.7)
log_pdf(X, 0.7)
cdf(X, 0.7)
quantile(X, 0.7)
cdf(X, quantile(X, 0.7))
quantile(X, cdf(X, 0.7))
Run the code above in your browser using DataLab