MathFin
Map / Probability · Laws / MathFin.Probability.Laws.GeneralizedPareto

The generalized Pareto distribution

MathFin.Probability.Laws.GeneralizedParetoMSC 62G30MSC 91G70JEL G32 source

The generalized Pareto distribution GPD(ξ, β) has tail function

Ḡ_{ξ,β}(x) = (1 + ξx/β)^{−1/ξ} (e^{−x/β} when ξ = 0),

on x ≥ 0 (and x ≤ −β/ξ when ξ < 0). It is the model of the peaks-over-threshold method (McNeil–Frey–Embrechts, Quantitative Risk Management (2015), §5.2). The Pickands–Balkema–de Haan theorem, which makes it the limit law of excesses over high thresholds, is not formalized here. This file proves the properties that make the GPD a consistent model for excesses.

  • Domain of attraction (MFE Exercise 5.16). G_{ξ,β} ∈ MDA(H_ξ) for every shape ξ, with the normalizing constants of GEV max-stability scaled by β (tendsto_gpdCDF_pow, gpdCDF_inMDA). The Pareto (Lomax) tail (κ/(κ + x))^α is the GPD tail with ξ = 1/α, β = κ/α (gpdTail_inv_shape), so the Pareto law lies in the Fréchet domain MDA(H_{1/α}).
  • Threshold stability. Excesses of a GPD over a threshold u in its support are again GPD, with the same shape and scale β + ξu: Ḡ_{ξ,β}(u + x) = Ḡ_{ξ,β}(u) · Ḡ_{ξ,β+ξu}(x) (gpdTail_add). As laws, (X − u | X > u) ∼ GPD(ξ, β + ξu) (map_cond_gpdMeasure).
  • The GPD law. gpdMeasure ξ β is the law of β (e^{ξE} − 1)/ξ (β E for ξ = 0) for a standard exponential E. Its distribution function is G_{ξ,β} (cdf_gpdMeasure), and its quantile function, the value-at-risk of a GPD loss, is β((1 − p)^{−ξ} − 1)/ξ (quantile_gpdMeasure_of_ne_zero), or −β log(1 − p) when ξ = 0.
  • Tail averages. For ξ < 1 the average of the quantile function over (α, 1) is (q(α) + β)/(1 − ξ) (setIntegral_quantile_gpdMeasure). This is the expected shortfall formula ES_α = (VaR_α + β)/(1 − ξ) of MFE eq. (5.19) at threshold 0. The mean is β/(1 − ξ) (integral_id_gpdMeasure). The mean excess function is linear, e(u) = E[X − u | X > u] = (β + ξu)/(1 − ξ) (integral_sub_cond_gpdMeasure, MFE Exercise 5.19(b)), which is what a sample mean-excess plot is inspected for.

Main definitions

  • gpdTail: the tail function Ḡ_{ξ,β}(x) = (1 + ξx/β)^{−1/ξ} (e^{−x/β} for ξ = 0), equal to 1 for x ≤ 0 and to 0 beyond the right endpoint −β/ξ when ξ < 0.
  • gpdCDF: the distribution function G_{ξ,β} = 1 − Ḡ_{ξ,β}.
  • gpdMeasure: the law GPD(ξ, β) of β(e^{ξE} − 1)/ξ (β E for ξ = 0) for a standard exponential variable E.

Main results

  • tendsto_gpdCDF_pow, gpdCDF_inMDA: G_{ξ,β} ∈ MDA(H_ξ).
  • gpdTail_add, gpdCDF_excess: threshold stability for distribution functions.
  • gpdMeasure, cdf_gpdMeasure, quantile_gpdMeasure: the GPD law and its quantiles.
  • setIntegral_quantile_gpdMeasure, integral_id_gpdMeasure: tail averages and the mean.
  • map_cond_gpdMeasure, integral_sub_cond_gpdMeasure: excesses of the GPD law and the mean excess function.

References

  • A. J. McNeil, R. Frey and P. Embrechts, Quantitative Risk Management: Concepts, Techniques and Tools [McNeilFreyEmbrechts], Section 5.2.1
  • QRM Exercise Book [QRMExerciseBook], Ex. 5.16; Ex. 5.19(b)

Tags

generalized Pareto distribution, peaks over threshold, mean excess function, expected shortfall, tail risk, MSC 62G30, MSC 91G70, JEL G32

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

qrm-gpd-mda · quantitative_risk_management.json · full statement
GPD Lies in the Domain of Attraction of H_ξ

For β > 0 and every ξ ∈ ℝ, the generalized Pareto distribution function G_{ξ,β} lies in MDA(H_ξ).

qrm-gpd-mean-excess · quantitative_risk_management.json · full statement
Mean Excess Function of the GPD

For the GPD law with ξ < 1, β > 0 and a threshold u ≥ 0 in the support: E[X − u | X > u] = (β + ξu)/(1 − ξ), linear in u.

Declarations 28

defMathFin.gpdTailsource
ℝ → ℝ → ℝ → ℝ

The generalized Pareto tail function Ḡ_{ξ,β}(x) = (1 + ξx/β)^{−1/ξ} on the support, and e^{−x/β} when ξ = 0. It equals 1 for x ≤ 0 and 0 beyond the right endpoint −β/ξ when ξ < 0.

defMathFin.gpdCDFsource
ℝ → ℝ → ℝ → ℝ

The generalized Pareto distribution function G_{ξ,β} = 1 − Ḡ_{ξ,β} (MFE Definition 5.14).

theoremMathFin.gpdTail_of_nonpossource
∀ {ξ β x : ℝ}, x ≤ 0 → gpdTail ξ β x = 1
theoremMathFin.gpdTail_zero_shapesource
∀ {β x : ℝ}, 0 ≤ x → gpdTail 0 β x = Real.exp (-(x / β))
theoremMathFin.gpdTail_of_nonnegsource
∀ {ξ β x : ℝ}, ξ ≠ 0 → 0 ≤ x → 0 ≤ 1 + ξ * (x / β) → gpdTail ξ β x = (1 + ξ * (x / β)) ^ (-1 / ξ)
theoremMathFin.gpdTail_of_endpoint_lesource
∀ {ξ β x : ℝ}, ξ ≠ 0 → 0 ≤ x → 1 + ξ * (x / β) ≤ 0 → gpdTail ξ β x = 0

Beyond the right endpoint −β/ξ (only possible for ξ < 0) the tail vanishes.

theoremMathFin.gpdTail_possource
∀ {ξ β x : ℝ}, 0 < 1 + ξ * (max x 0 / β) → 0 < gpdTail ξ β x

The tail is positive inside the support.

theoremMathFin.gpdTail_le_onesource
∀ {ξ β x : ℝ}, 0 < β → gpdTail ξ β x ≤ 1

The tail is at most 1.

theoremMathFin.gpdTail_inv_shapesource
∀ {x α κ : ℝ}, 0 < α → 0 < κ → 0 ≤ x → gpdTail α⁻¹ (κ / α) x = (κ / (κ + x)) ^ α

The Pareto (Lomax) tail (κ/(κ + x))^α is the GPD tail with shape 1/α and scale κ/α.

theoremMathFin.tendsto_gpdCDF_powsource
∀ {β : ℝ}, 0 < β → ∀ (ξ x : ℝ), Filter.Tendsto (fun n => gpdCDF ξ β (β * (gevNormScale ξ n * x + gevNormLoc ξ n)) ^ n) Filter.atTop (nhds (gevCDF ξ x))

MFE Exercise 5.16. The GPD lies in the domain of attraction of the GEV of the same shape: with cₙ = β nᶻ and dₙ = β (nᶻ − 1)/ξ (z = ξ; dₙ = β log n for ξ = 0), G_{ξ,β}(cₙ x + dₙ)ⁿ → H_ξ(x) for every x.

used by 1: gpdCDF_inMDA
theoremMathFin.gpdCDF_inMDAsource
∀ {β : ℝ}, 0 < β → ∀ (ξ : ℝ), InMDA (gpdCDF ξ β) (gevCDF ξ)

The GPD is in the maximum domain of attraction of the GEV of the same shape (MFE Exercise 5.16).

theoremMathFin.gpdTail_addsource
∀ {ξ β x : ℝ}, 0 < β → ∀ {u : ℝ}, 0 ≤ u → 0 < 1 + ξ * (u / β) → 0 ≤ x → gpdTail ξ β (u + x) = gpdTail ξ β u * gpdTail ξ (β + ξ * u) x

Threshold stability of the GPD: for a threshold u ≥ 0 inside the support and x ≥ 0, Ḡ_{ξ,β}(u + x) = Ḡ_{ξ,β}(u) · Ḡ_{ξ,β+ξu}(x).

theoremMathFin.gpdCDF_excesssource
∀ {ξ β x : ℝ}, 0 < β → ∀ {u : ℝ}, 0 ≤ u → 0 < 1 + ξ * (u / β) → 0 ≤ x → (gpdCDF ξ β (u + x) - gpdCDF ξ β u) / (1 - gpdCDF ξ β u) = gpdCDF ξ (β + ξ * u) x

The excess distribution of a GPD is a GPD: over a threshold u ≥ 0 inside the support, (G(u + x) − G(u))/(1 − G(u)) = G_{ξ,β+ξu}(x) for x ≥ 0.

defMathFin.gpdOfExpsource
ℝ → ℝ → ℝ → ℝ

The transform e ↦ β(e^{ξe} − 1)/ξ (β e for ξ = 0) that turns a standard exponential variable into a generalized Pareto one.

defMathFin.gpdMeasuresource
ℝ → ℝ → Measure ℝ

The generalized Pareto law GPD(ξ, β): the law of β(e^{ξE} − 1)/ξ for a standard exponential variable E (β E when ξ = 0).

theoremMathFin.continuous_gpdOfExpsource
∀ {ξ β : ℝ}, Continuous (gpdOfExp ξ β)
theoremMathFin.gpdOfExp_zerosource
∀ {ξ β : ℝ}, gpdOfExp ξ β 0 = 0
theoremMathFin.strictMono_gpdOfExpsource
∀ {ξ β : ℝ}, 0 < β → StrictMono (gpdOfExp ξ β)
theoremMathFin.isProbabilityMeasure_gpdMeasure @[instance]source
∀ {ξ β : ℝ}, IsProbabilityMeasure (gpdMeasure ξ β)
theoremMathFin.cdf_gpdMeasuresource
∀ {ξ β : ℝ}, 0 < β → ∀ (x : ℝ), ↑(cdf (gpdMeasure ξ β)) x = gpdCDF ξ β x

The distribution function of the GPD law is G_{ξ,β}.

theoremMathFin.quantile_gpdMeasuresource
∀ {ξ β : ℝ}, 0 < β → ∀ {p : ℝ}, p ∈ Set.Ioo 0 1 → quantile (gpdMeasure ξ β) p = gpdOfExp ξ β (-Real.log (1 - p))

The quantile function of the GPD law is the transform of the exponential quantile: q(p) = gpdOfExp ξ β (−log(1 − p)).

theoremMathFin.quantile_gpdMeasure_of_ne_zerosource
∀ {ξ β : ℝ}, 0 < β → ξ ≠ 0 → ∀ {p : ℝ}, p ∈ Set.Ioo 0 1 → quantile (gpdMeasure ξ β) p = β * ((1 - p) ^ (-ξ) - 1) / ξ

Value-at-risk of a GPD loss (ξ ≠ 0): q(p) = β((1 − p)^{−ξ} − 1)/ξ.

theoremMathFin.quantile_gpdMeasure_zerosource
∀ {β : ℝ}, 0 < β → ∀ {p : ℝ}, p ∈ Set.Ioo 0 1 → quantile (gpdMeasure 0 β) p = -(β * Real.log (1 - p))

Value-at-risk of an exponential GPD loss (ξ = 0): q(p) = −β log(1 − p).

theoremMathFin.setIntegral_gpdOfExp_Ioosource
∀ {ξ β : ℝ}, 0 < β → ξ < 1 → ∀ {α : ℝ}, α < 1 → ∫ (u : ℝ) in Set.Ioo α 1, gpdOfExp ξ β (-Real.log (1 - u)) = (1 - α) * (gpdOfExp ξ β (-Real.log (1 - α)) + β) / (1 - ξ)

Tail integral of the GPD quantile. For ξ < 1 and α < 1, ∫_α^1 q(u) du = (1 − α)(q(α) + β)/(1 − ξ), where q(u) = gpdOfExp ξ β (−log(1 − u)).

theoremMathFin.setIntegral_quantile_gpdMeasuresource
∀ {ξ β : ℝ}, 0 < β → ξ < 1 → ∀ {α : ℝ}, α ∈ Set.Ioo 0 1 → (1 - α)⁻¹ * ∫ (u : ℝ) in Set.Ioo α 1, quantile (gpdMeasure ξ β) u = (quantile (gpdMeasure ξ β) α + β) / (1 - ξ)

Expected shortfall of a GPD loss (MFE eq. (5.19) at threshold 0): for ξ < 1, the average of the quantile function over (α, 1) is (q(α) + β)/(1 − ξ), i.e. ES_α = (VaR_α + β)/(1 − ξ).

theoremMathFin.integral_id_gpdMeasuresource
∀ {ξ β : ℝ}, 0 < β → ξ < 1 → ∫ (x : ℝ), x ∂gpdMeasure ξ β = β / (1 - ξ)

The mean of the GPD is β/(1 − ξ) for ξ < 1.

theoremMathFin.map_cond_gpdMeasuresource
∀ {ξ β : ℝ}, 0 < β → ∀ {u : ℝ}, 0 ≤ u → 0 < 1 + ξ * (u / β) → Measure.map (fun x => x - u) (gpdMeasure ξ β)[|Set.Ioi u] = gpdMeasure ξ (β + ξ * u)

Excesses of the GPD law are GPD: for a threshold u ≥ 0 inside the support, the law of X − u given X > u is GPD(ξ, β + ξu).

theoremMathFin.integral_sub_cond_gpdMeasuresource
∀ {ξ β : ℝ}, 0 < β → ξ < 1 → ∀ {u : ℝ}, 0 ≤ u → 0 < 1 + ξ * (u / β) → ∫ (x : ℝ), x - u ∂(gpdMeasure ξ β)[|Set.Ioi u] = (β + ξ * u) / (1 - ξ)

The mean excess function of the GPD is linear (MFE Exercise 5.19(b)): for ξ < 1 and a threshold u ≥ 0 inside the support, e(u) = E[X − u | X > u] = (β + ξu)/(1 − ξ).