MathFin
Map / Risk · Value at risk and expected shortfall / MathFin.Risk.GaussianValueAtRisk

Value-at-risk of a Gaussian loss

MathFin.Risk.GaussianValueAtRiskMSC 91G70MSC 60E05JEL G32 source

Risk/Gaussian.lean records the closed form gaussianVaR μ σ z = μ + σ z in a quantile parameter z with Φ(z) = α, because the library had no Φ⁻¹. This file proves that the closed form is the value-at-risk of the law: for a loss X ~ N(m, σ²),

VaR_α(X) = m + σ Φ⁻¹(α) = gaussianVaR m σ (Φ⁻¹ α)

(valueAtRisk_of_hasLaw_gaussianReal). The parameter z of the closed-form lemmas is forced: Φ z = α holds exactly when z = Φ⁻¹(α) (Phi_eq_iff).

Main results

  • Phi_eq_iff: Φ z = α ↔ z = Φ⁻¹ α for α ∈ (0, 1).
  • valueAtRisk_of_hasLaw_gaussianReal: VaR_α(X) = gaussianVaR m σ (Φ⁻¹ α) for X ~ N(m, σ²).
  • valueAtRisk_of_hasGaussianLaw: the same for any Gaussian X, in terms of E X and Var X.

References

  • A. J. McNeil, R. Frey and P. Embrechts, Quantitative Risk Management: Concepts, Techniques and Tools [McNeilFreyEmbrechts], Example 2.11

Tags

Gaussian VaR, normal quantile, inverse normal CDF, value at risk closed form, normal loss, MSC 91G70, MSC 60E05, JEL G32

Import neighbourhood

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

Corpus entries

qrm-gaussian-var-is-var · quantitative_risk_management.json · full statement
Gaussian VaR Closed Form Is the VaR of the Law

For a loss X ~ N(m, v) and α ∈ (0, 1), VaR_α(X) = gaussianVaR m √v (Φ⁻¹(α)) = m + √v·Φ⁻¹(α): the library's quantile-parametrized Gaussian closed form is the value-at-risk of the law.

Declarations 3

theoremMathFin.Phi_eq_iffsource
∀ {α : ℝ}, α ∈ Set.Ioo 0 1 → ∀ {z : ℝ}, Phi z = α ↔ z = PhiInv α

The quantile parameter of the Gaussian closed forms is determined by the level: Φ z = α ↔ z = Φ⁻¹ α.

theoremMathFin.valueAtRisk_of_hasLaw_gaussianRealsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α m : ℝ} {v : NNReal}, HasLaw X (gaussianReal m v) P → α ∈ Set.Ioo 0 1 → valueAtRisk X P α = gaussianVaR m (√↑v) (PhiInv α)

The value-at-risk of a Gaussian loss is the closed form of Risk/Gaussian.lean at the normal quantile: VaR_α(X) = m + σ Φ⁻¹(α) for X ~ N(m, σ²).

theoremMathFin.valueAtRisk_of_hasGaussianLawsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ}, HasGaussianLaw X P → α ∈ Set.Ioo 0 1 → valueAtRisk X P α = ∫ (x : Ω), X x ∂P + √(variance X P) * PhiInv α

The value-at-risk of a Gaussian random variable in terms of its mean and variance: VaR_α(X) = E X + sd(X) Φ⁻¹(α).