Upper-tail CVaR from the positive-part expectation
DefinitionQuantileMDP_upperCVaRThe quantile plus the expected positive excess over that quantile, divided by one minus the quantile level. The definition is used for integrable laws at interior levels.
Definition code
import Mathlib.MeasureTheory.Integral.Bochner.Basic import Definitions.Def_QuantileMDP_quantile open MeasureTheory namespace QuantileMDP /-- The paper's upper-tail expected shortfall formula for an integrable law with finite quantile at a level strictly between zero and one. -/ noncomputable def upperCVaR (μ : Measure ℝ) (τ : ℝ) : ℝ := let x := (quantile μ τ).toReal x + (∫ y, max (y - x) 0 ∂μ) / (1 - τ) end QuantileMDP
Source
Li, Zhong and Brandeau, Quantile Markov Decision Processes, arXiv:1711.05788v5, §5.1, Theorem 4, p. 21. https://arxiv.org/abs/1711.05788v5