Generalized Extreme Value (GEV) Distribution
quantlib-risk
Generalized Extreme Value (GEV) Distribution
Fits a Generalized Extreme Value distribution to block maxima (e.g., maximum annual losses). GEV combines three types of extreme value distributions (Gumbel, Frechet, Weibull) and is used to model rare events like maximum flood levels, worst portfolio losses, or largest operational losses. Essential for return level estimation and long-term risk planning. [Tier: PRO, Credits: 5]
POST
Generalized Extreme Value (GEV) Distribution
Authorizations
API key for authentication. Get your key at https://api.fincept.in/auth/register
Body
application/json
Block maxima (e.g., annual maximum losses)
Minimum array length:
20Example:
[-0.08, -0.12, -0.05, -0.15]
Fitting method
Available options:
mle, pwm Example:
"mle"
Return periods (in years) for which to calculate return levels
Example:
[10, 50, 100, 250]
