Last chance! 50% off unlimited learning
Sale ends in
stable
dist_gumbel(alpha, scale)
location parameter.
parameter. Must be strictly positive.
The Gumbel distribution is a special case of the Generalized Extreme Value
distribution, obtained when the GEV shape parameter
We recommend reading this documentation on https://pkg.mitchelloharawild.com/distributional/, where the math will render nicely.
In the following, let mu
= sigma
=
Support:
Mean:
Median:
Variance:
Probability density function (p.d.f):
Cumulative distribution function (c.d.f):
In the
# NOT RUN {
dist <- dist_gumbel(alpha = c(0.5, 1, 1.5, 3), scale = c(2, 2, 3, 4))
dist
mean(dist)
variance(dist)
skewness(dist)
kurtosis(dist)
generate(dist, 10)
density(dist, 2)
density(dist, 2, log = TRUE)
cdf(dist, 4)
quantile(dist, 0.7)
# }
Run the code above in your browser using DataLab