Expected shortfall beyond VaR

The question
Choose a larger rare loss, then compare two summaries of the same model.
- 1 SeeMove a tail loss and predict.
- 2 TryFill a tail with boundary weight.
- 3 ProveBuild the formula from probability.
- 4 ApplyCalculate and interpret tail averages.
Before you start · 3 quick checks on loss signs, CDFs, and weighted averages
Two ideas before you start
2 ideasKeep the loss convention fixed
Profit and its opposite, loss, on a number line.
Loss is minus profit. The larger the loss, the worse the outcome for the portfolio.
Exact definition
Let \(\Pi\) be a fixed portfolio's one-day profit, including all cash flows in the chosen accounting convention. Write \(L=-\Pi\). A gain is a negative loss. Unless dollars are stated explicitly, the examples measure loss in thousands of dollars. The horizon, units, and sign convention stay the same within each comparison.
Weights determine an average
Two possible values and their probability-weighted mean.
Multiply each value by its probability, then add. These weights describe the full distribution on this card.
Exact definition
For finitely many loss values \(\ell_i\) with probabilities \(p_i\ge0\) summing to one, the expectation is \(E[L]=\sum_i p_i\ell_i\). A conditional mean restricts attention to an event of positive probability and divides its weighted sum by that event's probability. The denominator matters as much as the numerator.
Model scope and the quantile convention
These are specified probability models, not estimates of future market losses. No independence between days is needed to summarize one day's distribution. The value at risk lesson establishes the loss convention and explains why a quantile is not a worst-case limit. Here the focus is how to average a specified upper probability fraction correctly.
Use the inverse-CDF convention throughout: \(F(x)=P(L\le x)\), and \(Q(u)=\inf\{x:F(x)\ge u\}\) for \(0\lt u\lt1\). Then \(\operatorname{VaR}_{\alpha}(L)=Q(\alpha)\). We do not interpolate between observations. The empirical quantiles lesson develops this convention, including ties and jumps.
Move the rare loss
- Move the upper loss with the slider or number box. Probabilities stay fixed.
- Lock your move, then choose which summary increases. The page reveals the calculation for your chosen loss.
- Start over clears the answer, calculation, and explanation so you can try a different move.
A fixed probability fraction
Expected shortfall (ES) averages the worst probability fraction \(1-\alpha\). It uses loss amounts as well as their probabilities. Collect probability mass from the largest loss downward and stop as soon as that fraction is full. A large loss with a small probability may fill only part of it.
If the stopping point cuts through a group of equal losses, take only the required probability from that group. This does not create a new loss amount between observations. It splits the weight assigned to a value already in the model. Equal outcomes are interchangeable for this average.
For an integrable loss, meaning \(E[|L|]\lt\infty\), the exact definition is
\[\operatorname{ES}_{\alpha}(L)=\frac{1}{1-\alpha}\int_{\alpha}^{1}Q(u)\,du.\]The horizontal variable here is cumulative probability, not dollars. For a finite distribution, the integral adds rectangles: each loss value is a height, and the probability assigned to it in the tail is a width. Divide the resulting weighted sum by the tail width. Endpoint choices on this integral have no effect on its value.
Choose the boundary weight
Use the worst-fraction definition from See on a new distribution. The question concerns probability mass, not a fraction of a dollar loss.
The strict exceedance mean omits every outcome equal to the cutoff. The inclusive conditional mean takes all of them. Neither choice automatically produces the requested tail probability. ES instead takes precisely the part of the boundary group needed to complete that probability.
Use what you found above: fill each tail
- Each goal fixes a confidence level. Choose how much probability at its VaR belongs in the tail.
- Check the weight to see your selected mass and weighted average. Next goal resets the weight and hides the checked calculation.
When a sample tail contains part of an observation
For an equally weighted list of size \(n\), write \(h=n(1-\alpha)\), \(m=\lfloor h\rfloor\), and \(r=h-m\). Here \(m\) counts complete observations in the tail, and \(r\) is the remaining fraction of one observation. With sorted losses \(x_{(1)}\le\cdots\le x_{(n)}\),
\[\operatorname{ES}_{\alpha}=\frac{\sum_{j=0}^{m-1}x_{(n-j)}+r x_{(n-m)}}{h}.\]An empty sum is zero. If \(h\) is below one, the formula gives the maximum loss: the tail uses part of that observation's probability, and the normalization cancels its weight. If \(h\) is an integer, no fractional observation is needed. Ties do not change the answer because tied values have identical loss amounts.
Historical losses can supply an empirical distribution with equal weights. Interpreting that distribution as tomorrow's model adds a separate assumption that the selected history represents tomorrow. A small tail may depend on very few observations. Computing its mean exactly does not remove uncertainty about that modeling choice.
Account for the probability at the cutoff
Let \(L\) have finitely many finite real loss values with positive probabilities summing to one. Fix \(0\lt\alpha\lt1\), set \(q=Q(\alpha)\), and define
\[\begin{aligned}p_+&=P(L\gt q),\\p_0&=P(L=q),\\S&=E[L\mathbf{1}_{\{L\gt q\}}].\end{aligned}\]The indicator \(\mathbf{1}\) keeps only the stated outcomes. Thus \(S\) is their probability-weighted sum, before any conditional normalization. With \(b=F(q)-\alpha\), the boundary mass included in the tail,
\[\begin{aligned}0&\le b\le p_0,\\\operatorname{ES}_{\alpha}(L)&=\frac{S+qb}{1-\alpha}.\end{aligned}\]These statements cover constant losses, negative losses, and a confidence level exactly at the top of a CDF jump.
Build the argument from total probability and the quantile definition. Each option refers to the assumptions above. A boundary weight is an unconditional probability until the final division normalizes the tail.
Continuous losses and the normal formula
For an integrable continuous loss distribution, \(F(q)=\alpha\) and \(P(L=q)=0\). The strict upper tail has probability \(1-\alpha\), so ES equals \(E[L\mid L\gt q]\). Continuity is sufficient for this shortcut. For a finite distribution, the same shortcut also works when \(F(q)=\alpha\). At a constant loss the strict event is empty; the boundary formula still returns the constant.
If the one-day dollar loss is assumed exactly normal with mean \(\mu\) and standard deviation \(\sigma\gt0\), let \(z_{\alpha}\) satisfy \(\Phi(z_{\alpha})=\alpha\). The normal distribution lesson defines its CDF \(\Phi\) and density \(\varphi\). Then
\[\begin{aligned}\operatorname{VaR}_{\alpha}&=\mu+\sigma z_{\alpha},\\\operatorname{ES}_{\alpha}&=\mu+\sigma\frac{\varphi(z_{\alpha})}{1-\alpha}.\end{aligned}\]To obtain the second formula, write \(L=\mu+\sigma Z\) and integrate \(z\varphi(z)\) over the upper tail. Since \(\varphi'(z)=-z\varphi(z)\) and the density tends to zero at infinity, that integral is \(\varphi(z_{\alpha})\). Divide by the upper-tail probability and restore the units. A mean and standard deviation alone do not justify normality; this formula depends on the full shape assumption.
Compute the average and state its scope
Use the loss convention and horizon given in each problem. Enter a number without units. The finite-model answers accept exact decimals; the normal-model answer allows the stated dollar tolerance. Hints and worked solutions open on request.
Further reading
- C. Acerbi and D. Tasche, “On the coherence of expected shortfall,” Journal of Banking and Finance 26 (2002), on tail means for distributions with jumps.
- J. C. Hull, Options, Futures, and Other Derivatives, chapter “Value at Risk and Expected Shortfall.”