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

Component and marginal Value-at-Risk (the Euler allocation)

MathFin.Risk.ComponentVaRMSC 91G70JEL G32 source

For a zero-mean Gaussian portfolio loss with positions x : ι → ℝ and covariance kernel σ, the parametric VaR is VaR = α · √(x'Σx) for a quantile multiplier α (e.g. α = Φ⁻¹(level), as in Risk/Gaussian.lean). Here portfolioVaRN is defined as that expression. The Gaussian quantile identity behind it is valueAtRisk_portfolio_gaussian_eq_portfolioVaRN: for a Gaussian vector X of risk-factor changes, VaR_α(∑ wᵢXᵢ) is the mean ∑ wᵢ E Xᵢ plus portfolioVaRN at the multiplier Φ⁻¹(α) and the covariance kernel of X (valueAtRisk_portfolio_gaussian, Risk/GaussianRiskMarkowitz.lean). Since x ↦ √(x'Σx) is positively homogeneous of degree 1, Euler's theorem predicts ∑ᵢ xᵢ · ∂VaR/∂xᵢ = VaR. Here the marginal VaR is defined by the textbook closed form α(Σx)ᵢ/√(x'Σx). For symmetric σ and positive portfolio variance these are the partial derivatives of portfolioVaRN: its derivative along any direction d is ∑ᵢ dᵢ · marginalVaRᵢ (hasDerivAt_portfolioVaRN). With this definition the component VaR xᵢ · marginalVaRᵢ is α/√(x'Σx) times the risk contribution xᵢ(Σx)ᵢ of Choice/Portfolio/RiskParityFOC.lean, and the Euler identity reduces to sum_riskContribution_eq_variance.

Main definitions

  • portfolioVaRN: the parametric portfolio VaR α · √(x'Σx), with x'Σx the portfolioVarN of positions x against the kernel σ.
  • marginalVaR: the marginal VaR α (Σx)ᵢ / √(x'Σx), defined as this closed form.
  • componentVaR: the component VaR xᵢ · marginalVaR i.

Main results

  • sum_componentVaR_eq_portfolioVaRN: the Euler allocation ∑ᵢ CVaRᵢ = VaR, stated for 0 < x'Σx (strictly positive portfolio variance).
  • hasDerivAt_portfolioVaRN: for symmetric σ and 0 < x'Σx, the derivative of portfolioVaRN along any direction d is ∑ᵢ dᵢ · marginalVaRᵢ.
  • valueAtRisk_portfolio_gaussian_eq_portfolioVaRN: the VaR of a Gaussian portfolio loss is its mean plus portfolioVaRN at Φ⁻¹(α).
  • sum_componentVaR_eq_valueAtRisk_sub: the component VaRs at Φ⁻¹(α) allocate the VaR of a Gaussian portfolio loss in excess of its mean.

References

  • A. J. McNeil, R. Frey and P. Embrechts, Quantitative Risk Management: Concepts, Techniques and Tools [McNeilFreyEmbrechts], Corollary 8.43
  • D. Tasche, Capital allocation to business units and sub-portfolios: the Euler principle [Tasche2008]

Tags

component VaR, marginal VaR, Euler allocation, parametric VaR, risk contribution, delta-normal VaR, MSC 91G70, JEL G32

Import neighbourhood

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

Corpus entries

mf-component-var-gaussian-euler · risk_measures.json · full statement
Euler Allocation of Gaussian Portfolio VaR

For a Gaussian vector X of risk-factor changes, weights w with positive portfolio variance wᵀΣw (Σ the covariance kernel of X) and α ∈ (0, 1): the value-at-risk of the portfolio loss Σ wᵢXᵢ is its mean Σ wᵢ E Xᵢ plus the parametric VaR Φ⁻¹(α)√(wᵀΣw), and the component VaRs wᵢ Φ⁻¹(α)(Σw)ᵢ/√(wᵀΣw) sum to VaR_α(Σ wᵢXᵢ) − Σ wᵢ E Xᵢ. For any symmetric kernel with positive portfolio variance, the marginal VaRs α(Σx)ᵢ/√(xᵀΣx) are the partial derivatives of x ↦ α√(xᵀΣx): its derivative along any direction d is Σ dᵢ · marginalVaRᵢ.

Declarations 9

defMathFin.portfolioVaRNsource
{ι : Type u_1} → Finset ι → (ι → ℝ) → (ι → ι → ℝ) → ℝ → ℝ

Parametric portfolio VaR α · √(x'Σx), with x'Σx the N-asset portfolio variance of Choice/Portfolio/MarkowitzNAsset.lean.

defMathFin.marginalVaRsource
{ι : Type u_1} → Finset ι → (ι → ℝ) → (ι → ι → ℝ) → ℝ → ι → ℝ

Marginal VaR: defined as the textbook closed form α·(Σx)ᵢ/√(x'Σx), with (Σx)ᵢ = marginalVariance s σ x i. For symmetric σ and positive portfolio variance it is the partial derivative of portfolioVaRN in xᵢ (hasDerivAt_portfolioVaRN).

defMathFin.componentVaRsource
{ι : Type u_1} → Finset ι → (ι → ℝ) → (ι → ι → ℝ) → ℝ → ι → ℝ

Component VaR: CVaRᵢ = xᵢ · marginalVaRᵢ, i.e. α/√(x'Σx) times the risk contribution riskContribution s σ x i = xᵢ(Σx)ᵢ.

theoremMathFin.sum_componentVaR_eq_portfolioVaRNsource
∀ {ι : Type u_1} (s : Finset ι) (x : ι → ℝ) (σ : ι → ι → ℝ) (α : ℝ), 0 < portfolioVarN s x σ → ∑ i ∈ s, componentVaR s x σ α i = portfolioVaRN s x σ α

Euler allocation of VaR: the component VaRs sum to the portfolio VaR, ∑ᵢ CVaRᵢ = VaR, whenever the portfolio variance is (strictly) positive. This is the identity Euler's theorem predicts for the degree-1-homogeneous map x ↦ α√(x'Σx); since marginalVaR is defined by its closed form, the proof is the algebra ∑ᵢ xᵢ(Σx)ᵢ = x'Σx (sum_riskContribution_eq_variance).

theoremMathFin.portfolioVarN_add_mulsource
∀ {ι : Type u_1} (s : Finset ι) (x : ι → ℝ) (σ : ι → ι → ℝ) (d : ι → ℝ) (t : ℝ), portfolioVarN s (fun k => x k + t * d k) σ = portfolioVarN s x σ + t * ∑ i ∈ s, ∑ j ∈ s, (d i * x j + x i * d j) * σ i j + t ^ 2 * portfolioVarN s d σ

The portfolio variance along a line x + t d is the quadratic Var(x) + t · ∑ᵢⱼ (dᵢxⱼ + xᵢdⱼ)σᵢⱼ + t² Var(d).

theoremMathFin.sum_sum_add_mul_eq_two_mulsource
∀ {ι : Type u_1} (s : Finset ι) (x : ι → ℝ) (σ : ι → ι → ℝ), (∀ i ∈ s, ∀ j ∈ s, σ i j = σ j i) → ∀ (d : ι → ℝ), ∑ i ∈ s, ∑ j ∈ s, (d i * x j + x i * d j) * σ i j = 2 * ∑ i ∈ s, d i * marginalVariance s σ x i

For a symmetric kernel the linear coefficient of portfolioVarN_add_mul is twice ∑ᵢ dᵢ (Σx)ᵢ.

theoremMathFin.hasDerivAt_portfolioVaRNsource
∀ {ι : Type u_1} (s : Finset ι) (x : ι → ℝ) (σ : ι → ι → ℝ) (α : ℝ), (∀ i ∈ s, ∀ j ∈ s, σ i j = σ j i) → 0 < portfolioVarN s x σ → ∀ (d : ι → ℝ), HasDerivAt (fun t => portfolioVaRN s (fun k => x k + t * d k) σ α) (∑ i ∈ s, d i * marginalVaR s x σ α i) 0

The marginal VaRs are the partial derivatives of the parametric VaR: for a symmetric kernel and a positive portfolio variance, the derivative of portfolioVaRN at x along any direction d is ∑ᵢ dᵢ · marginalVaRᵢ.

theoremMathFin.valueAtRisk_portfolio_gaussian_eq_portfolioVaRNsource
∀ {ι : 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 α)

The parametric VaR is the VaR of a Gaussian portfolio loss above its mean: for a Gaussian vector X of risk-factor changes and α ∈ (0, 1), VaR_α(∑ wᵢXᵢ) = ∑ wᵢ E Xᵢ + portfolioVaRN at the multiplier Φ⁻¹(α) and the covariance kernel of X.

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

Euler allocation of a Gaussian VaR: for a Gaussian vector X, weights w with positive portfolio variance and α ∈ (0, 1), the component VaRs at the multiplier Φ⁻¹(α) sum to the VaR of the portfolio loss in excess of its mean: ∑ᵢ CVaRᵢ = VaR_α(∑ wᵢXᵢ) − ∑ wᵢ E Xᵢ.