MathFin
Map / Risk · Aggregation and diversification / MathFin.Risk.GaussianRiskMarkowitz

For Gaussian risk factors, VaR and ES rank portfolios as Markowitz does

MathFin.Risk.GaussianRiskMarkowitzMSC 91G70MSC 91G10JEL G32 source

Value-at-risk and expected shortfall are translation invariant, positively homogeneous and law invariant (Risk/ValueAtRisk.lean). Those three properties alone already give the location–scale principle: a loss whose law is that of m + s Z (s ≥ 0) has

VaR_α = m + s · VaR_α(Z) and ES_α = m + s · ES_α(Z)

(valueAtRisk_of_map_eq_affine, expectedShortfall_of_map_eq_affine). So within a location–scale family the risk measures order losses of equal mean by their scale, as soon as the standardized risk is positive (valueAtRisk_le_iff_of_map_eq_affine, expectedShortfall_le_iff_of_map_eq_affine).

A Gaussian vector of risk-factor changes X = (X₁, …, X_d) makes every linear portfolio loss ⟨w, X⟩ = ∑ wᵢ Xᵢ a member of one such family. The loss is Gaussian (HasGaussianLaw.map_fun), its mean is ∑ wᵢ E Xᵢ, and its variance is the Markowitz double sum wᵀ Σ w of the covariance kernel (hasLaw_portfolio_gaussianReal). The variance identification is the self-dot identity of Choice/Portfolio/CovariancePSD.lean. Hence

VaR_α(⟨w, X⟩) = ∑ wᵢ E Xᵢ + √(wᵀ Σ w) · Φ⁻¹(α) (valueAtRisk_portfolio_gaussian).

The bridge (McNeil–Frey–Embrechts (2015), Chapter 8; QRM Exercise 8.6). Among portfolios with the same expected loss, VaR at any level α > 1/2 and ES at any such level order portfolios exactly as the portfolio variance does (valueAtRisk_portfolio_le_iff, expectedShortfall_portfolio_le_iff). Consequently a portfolio minimizes VaR, or ES, over any admissible set of weights with a common expected loss exactly when it is a Markowitz minimum-variance portfolio there (isMinOn_valueAtRisk_iff_isMinOn_portfolioVarN, isMinOn_expectedShortfall_iff_isMinOn_portfolioVarN). This is a certified unification of two known textbook facts, not new finance.

On the linear space of portfolio losses VaR is also subadditive at every level α ≥ 1/2 (valueAtRisk_portfolio_add_le, QRM Exercise 8.4). Two portfolio losses of a Gaussian vector are a jointly Gaussian pair (hasGaussianLaw_portfolio_pair), so this is the pair theorem valueAtRisk_add_le_of_hasGaussianLaw, which rests on the subadditivity of the standard deviation (sqrt_variance_add_le). Outside the Gaussian world subadditivity fails (Risk/ superadditivity examples).

The general elliptical case of Exercise 8.6 is covered by the location–scale theorems once the family hypothesis (every portfolio loss is m + s Z in law for one standardized Z) is supplied. Elliptical distributions themselves are not formalized here; the Gaussian family is the instance proved.

Main results

  • valueAtRisk_of_map_eq_affine, expectedShortfall_of_map_eq_affine: the location–scale principle.
  • valueAtRisk_le_iff_of_map_eq_affine, expectedShortfall_le_iff_of_map_eq_affine: within a location–scale family and at equal means, the risk measures order losses by scale.
  • hasGaussianLaw_portfolio_pair: two portfolio losses of a Gaussian vector are jointly Gaussian.
  • hasLaw_portfolio_gaussianReal: ⟨w, X⟩ ~ N(∑ wᵢ E Xᵢ, wᵀ Σ w) for a Gaussian vector X.
  • valueAtRisk_portfolio_gaussian, expectedShortfall_portfolio_gaussian: the closed forms.
  • valueAtRisk_portfolio_le_iff, expectedShortfall_portfolio_le_iff: VaR, ES and variance order equal-mean portfolios identically (α > 1/2).
  • isMinOn_valueAtRisk_iff_isMinOn_portfolioVarN, isMinOn_expectedShortfall_iff_isMinOn_portfolioVarN: VaR- and ES-optimal portfolios are the Markowitz portfolios (QRM Ex. 8.6).
  • valueAtRisk_portfolio_add_le: VaR is subadditive on Gaussian portfolio losses for α ≥ 1/2 (QRM Ex. 8.4).
  • valueAtRisk_equal_weight_equicorrelated: the VaR of an equally weighted equicorrelated Gaussian portfolio, m + σ √(ρ + (1 − ρ)/d) Φ⁻¹(α) (QRM Ex. 6.16).

References

Tags

value-at-risk, expected shortfall, location–scale family, Markowitz, subadditivity, elliptical distributions, MSC 91G70, MSC 91G10, JEL G32

Import neighbourhood

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

Corpus entries

qrm-var-optimal-is-markowitz · quantitative_risk_management.json · full statement
VaR-Optimal Gaussian Portfolios Are Markowitz Portfolios

For a Gaussian random vector X, α ∈ (1/2, 1) and a set S of weights with a common expected portfolio loss, w₀ minimizes VaR_α(∑ wᵢXᵢ) over S if and only if it minimizes the portfolio variance wᵀΣw over S.

qrm-es-optimal-is-markowitz · quantitative_risk_management.json · full statement
ES-Optimal Gaussian Portfolios Are Markowitz Portfolios

For a Gaussian random vector X, α ∈ (1/2, 1) and a set S of weights with a common expected portfolio loss, w₀ minimizes ES_α(∑ wᵢXᵢ) over S if and only if it minimizes the portfolio variance over S.

qrm-var-subadditive-gaussian-portfolios · quantitative_risk_management.json · full statement
VaR Is Subadditive on Gaussian Portfolio Losses

For a Gaussian random vector X, α ∈ [1/2, 1) and weight vectors w, w': VaR_α(⟨w, X⟩ + ⟨w', X⟩) ≤ VaR_α(⟨w, X⟩) + VaR_α(⟨w', X⟩).

Declarations 20

theoremMathFin.valueAtRisk_congr_mapsource
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : Measure Ω} {Q : Measure Ω'} {L : Ω → ℝ} {Z : Ω' → ℝ}, Measure.map L P = Measure.map Z Q → ∀ (α : ℝ), valueAtRisk L P α = valueAtRisk Z Q α

VaR depends on a loss only through its law, across probability spaces.

theoremMathFin.expectedShortfall_congr_mapsource
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : Measure Ω} {Q : Measure Ω'} {L : Ω → ℝ} {Z : Ω' → ℝ}, Measure.map L P = Measure.map Z Q → ∀ (α : ℝ), expectedShortfall L P α = expectedShortfall Z Q α

ES depends on a loss only through its law, across probability spaces.

theoremMathFin.valueAtRisk_of_map_eq_affinesource
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : Measure Ω} {Q : Measure Ω'} {L : Ω → ℝ} {Z : Ω' → ℝ} {α m s : ℝ} [IsProbabilityMeasure Q], AEMeasurable Z Q → 0 ≤ s → Measure.map L P = Measure.map (fun ω => m + s * Z ω) Q → α ∈ Set.Ioo 0 1 → valueAtRisk L P α = m + s * valueAtRisk Z Q α

Location–scale principle for VaR: a loss with the law of m + s Z (s ≥ 0) has VaR_α = m + s VaR_α(Z).

theoremMathFin.expectedShortfall_of_map_eq_affinesource
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : Measure Ω} {Q : Measure Ω'} {L : Ω → ℝ} {Z : Ω' → ℝ} {α m s : ℝ} [IsProbabilityMeasure Q], Integrable Z Q → 0 ≤ s → Measure.map L P = Measure.map (fun ω => m + s * Z ω) Q → α ∈ Set.Ioo 0 1 → expectedShortfall L P α = m + s * expectedShortfall Z Q α

Location–scale principle for ES: a loss with the law of m + s Z (s ≥ 0, Z integrable) has ES_α = m + s ES_α(Z). Translation invariance and positive homogeneity of ES, transported along the law.

theoremMathFin.valueAtRisk_le_iff_of_map_eq_affinesource
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : Measure Ω} {Q : Measure Ω'} {L L' : Ω → ℝ} {Z : Ω' → ℝ} {α m s s' : ℝ} [IsProbabilityMeasure Q], AEMeasurable Z Q → 0 ≤ s → 0 ≤ s' → Measure.map L P = Measure.map (fun ω => m + s * Z ω) Q → Measure.map L' P = Measure.map (fun ω => m + s' * Z ω) Q → α ∈ Set.Ioo 0 1 → 0 < valueAtRisk Z Q α → (valueAtRisk L P α ≤ valueAtRisk L' P α ↔ s ≤ s')

At equal means, VaR orders a location–scale family by scale: if L, L' have the laws of m + s Z and m + s' Z and VaR_α(Z) > 0, then VaR_α(L) ≤ VaR_α(L') ↔ s ≤ s'.

theoremMathFin.expectedShortfall_le_iff_of_map_eq_affinesource
∀ {Ω : Type u_1} {Ω' : Type u_2} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {P : Measure Ω} {Q : Measure Ω'} {L L' : Ω → ℝ} {Z : Ω' → ℝ} {α m s s' : ℝ} [IsProbabilityMeasure Q], Integrable Z Q → 0 ≤ s → 0 ≤ s' → Measure.map L P = Measure.map (fun ω => m + s * Z ω) Q → Measure.map L' P = Measure.map (fun ω => m + s' * Z ω) Q → α ∈ Set.Ioo 0 1 → 0 < expectedShortfall Z Q α → (expectedShortfall L P α ≤ expectedShortfall L' P α ↔ s ≤ s')

At equal means, ES orders a location–scale family by scale: if L, L' have the laws of m + s Z and m + s' Z and ES_α(Z) > 0, then ES_α(L) ≤ ES_α(L') ↔ s ≤ s'.

theoremMathFin.hasGaussianLaw_portfolio_pairsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ}, HasGaussianLaw (fun ω x => X x ω) P → ∀ (w w' : ι → ℝ), HasGaussianLaw (fun ω => (∑ i, w i * X i ω, ∑ i, w' i * X i ω)) P

Two portfolio losses of a Gaussian vector are jointly Gaussian: (∑ wᵢ Xᵢ, ∑ w'ᵢ Xᵢ) is the image of the Gaussian vector X under a linear map.

theoremMathFin.hasLaw_portfolio_gaussianRealsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ}, HasGaussianLaw (fun ω x => X x ω) P → ∀ (w : ι → ℝ), HasLaw (fun ω => ∑ i, w i * X i ω) (gaussianReal (∑ i, w i * ∫ (x : Ω), X i x ∂P) (portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P).toNNReal) P

A Gaussian portfolio loss: if the risk-factor vector X is Gaussian, the portfolio loss ∑ wᵢ Xᵢ has law N(∑ wᵢ E Xᵢ, wᵀ Σ w), with Σ the covariance kernel of X.

theoremMathFin.portfolioVarN_gaussian_nonnegsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ}, HasGaussianLaw (fun ω x => X x ω) P → ∀ (w : ι → ℝ), 0 ≤ portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P

The Markowitz variance of a Gaussian portfolio is nonnegative.

theoremMathFin.map_portfolio_eq_affinesource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ}, HasGaussianLaw (fun ω x => X x ω) P → ∀ (w : ι → ℝ), Measure.map (fun ω => ∑ i, w i * X i ω) P = Measure.map (fun z => ∑ i, w i * ∫ (x : Ω), X i x ∂P + √(portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) * z) (gaussianReal 0 1)

A Gaussian portfolio loss is mean + (standard deviation) · Z in law, Z ~ N(0, 1).

theoremMathFin.valueAtRisk_portfolio_gaussiansource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → ∀ (w : ι → ℝ), α ∈ Set.Ioo 0 1 → valueAtRisk (fun ω => ∑ i, w i * X i ω) P α = ∑ i, w i * ∫ (x : Ω), X i x ∂P + √(portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) * PhiInv α

VaR of a Gaussian portfolio: VaR_α(∑ wᵢ Xᵢ) = ∑ wᵢ E Xᵢ + √(wᵀ Σ w) · Φ⁻¹(α).

theoremMathFin.valueAtRisk_id_gaussianRealsource
∀ (α : ℝ), valueAtRisk id (gaussianReal 0 1) α = PhiInv α

The VaR of the standard normal law is Φ⁻¹(α).

theoremMathFin.expectedShortfall_portfolio_gaussiansource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → ∀ (w : ι → ℝ), α ∈ Set.Ioo 0 1 → expectedShortfall (fun ω => ∑ i, w i * X i ω) P α = ∑ i, w i * ∫ (x : Ω), X i x ∂P + √(portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) * expectedShortfall id (gaussianReal 0 1) α

ES of a Gaussian portfolio: ES_α(∑ wᵢ Xᵢ) = ∑ wᵢ E Xᵢ + √(wᵀ Σ w) · ES_α(N(0, 1)).

theoremMathFin.zero_lt_valueAtRisk_id_gaussianRealsource
∀ {α : ℝ}, α ∈ Set.Ioo (1 / 2) 1 → 0 < valueAtRisk id (gaussianReal 0 1) α

Above the median the standard normal VaR is positive.

theoremMathFin.valueAtRisk_portfolio_le_iffsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → α ∈ Set.Ioo (1 / 2) 1 → ∀ {w w' : ι → ℝ}, ∑ i, w i * ∫ (x : Ω), X i x ∂P = ∑ i, w' i * ∫ (x : Ω), X i x ∂P → (valueAtRisk (fun ω => ∑ i, w i * X i ω) P α ≤ valueAtRisk (fun ω => ∑ i, w' i * X i ω) P α ↔ (portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) ≤ portfolioVarN Finset.univ w' fun i j => covariance (X i) (X j) P)

The bridge for VaR (QRM Exercise 8.6): among Gaussian portfolios with the same expected loss, VaR at a level α > 1/2 orders portfolios exactly as the Markowitz variance does.

theoremMathFin.expectedShortfall_portfolio_le_iffsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → α ∈ Set.Ioo (1 / 2) 1 → ∀ {w w' : ι → ℝ}, ∑ i, w i * ∫ (x : Ω), X i x ∂P = ∑ i, w' i * ∫ (x : Ω), X i x ∂P → (expectedShortfall (fun ω => ∑ i, w i * X i ω) P α ≤ expectedShortfall (fun ω => ∑ i, w' i * X i ω) P α ↔ (portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) ≤ portfolioVarN Finset.univ w' fun i j => covariance (X i) (X j) P)

The bridge for ES (QRM Exercise 8.6): among Gaussian portfolios with the same expected loss, ES at a level α > 1/2 orders portfolios exactly as the Markowitz variance does.

theoremMathFin.isMinOn_valueAtRisk_iff_isMinOn_portfolioVarNsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → α ∈ Set.Ioo (1 / 2) 1 → ∀ {S : Set (ι → ℝ)} {c : ℝ}, (∀ w ∈ S, ∑ i, w i * ∫ (x : Ω), X i x ∂P = c) → ∀ {w₀ : ι → ℝ}, w₀ ∈ S → (IsMinOn (fun w => valueAtRisk (fun ω => ∑ i, w i * X i ω) P α) S w₀ ↔ IsMinOn (fun w => portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) S w₀)

VaR-optimal portfolios are Markowitz portfolios (QRM Exercise 8.6): on any set of admissible weights sharing a common expected loss, a portfolio minimizes VaR at a level α > 1/2 exactly when it minimizes the Markowitz variance.

theoremMathFin.isMinOn_expectedShortfall_iff_isMinOn_portfolioVarNsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → α ∈ Set.Ioo (1 / 2) 1 → ∀ {S : Set (ι → ℝ)} {c : ℝ}, (∀ w ∈ S, ∑ i, w i * ∫ (x : Ω), X i x ∂P = c) → ∀ {w₀ : ι → ℝ}, w₀ ∈ S → (IsMinOn (fun w => expectedShortfall (fun ω => ∑ i, w i * X i ω) P α) S w₀ ↔ IsMinOn (fun w => portfolioVarN Finset.univ w fun i j => covariance (X i) (X j) P) S w₀)

ES-optimal portfolios are Markowitz portfolios (QRM Exercise 8.6): on any set of admissible weights sharing a common expected loss, a portfolio minimizes ES at a level α > 1/2 exactly when it minimizes the Markowitz variance.

theoremMathFin.valueAtRisk_portfolio_add_lesource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ}, HasGaussianLaw (fun ω x => X x ω) P → α ∈ Set.Ico (1 / 2) 1 → ∀ (w w' : ι → ℝ), valueAtRisk (fun ω => ∑ i, w i * X i ω + ∑ i, w' i * X i ω) P α ≤ valueAtRisk (fun ω => ∑ i, w i * X i ω) P α + valueAtRisk (fun ω => ∑ i, w' i * X i ω) P α

VaR is subadditive on Gaussian portfolio losses (QRM Exercise 8.4): on the linear space {∑ wᵢ Xᵢ} of a Gaussian vector, VaR_α(L + L') ≤ VaR_α(L) + VaR_α(L') at every level α ∈ [1/2, 1).

theoremMathFin.valueAtRisk_equal_weight_equicorrelatedsource
∀ {ι : Type u_1} [Fintype ι] {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : ι → Ω → ℝ} {α : ℝ} [Nonempty ι], HasGaussianLaw (fun ω x => X x ω) P → ∀ {m σ ρ : ℝ}, 0 ≤ σ → (∀ (i : ι), ∫ (x : Ω), X i x ∂P = m) → (∀ (i : ι), variance (X i) P = σ ^ 2) → (∀ (i j : ι), i ≠ j → covariance (X i) (X j) P = ρ * σ ^ 2) → α ∈ Set.Ioo 0 1 → valueAtRisk (fun ω => ∑ i, (↑(Fintype.card ι))⁻¹ * X i ω) P α = m + σ * √(ρ + (1 - ρ) / ↑(Fintype.card ι)) * PhiInv α

The diversification floor for VaR (QRM Exercise 6.16): if d jointly Gaussian losses have a common mean m, a common standard deviation σ and a common correlation ρ, their average has VaR_α = m + σ √(ρ + (1 − ρ)/d) Φ⁻¹(α). As d grows the idiosyncratic term (1 − ρ)/d vanishes, but the common term ρ does not.