A loss is 0 with probability 0.9, 10 with probability 0.08 and 30 with probability 0.02, so its 95 percent value at risk is 10. What is the average loss over the worst 5 percent of probability? All of the mass at 30 belongs to that tail, but only 0.03 of the 0.08 at 10 does, so the answer has to count part of an atom. Expected shortfall is that average. This lesson defines it as an integral of quantiles, derives its threshold and dual envelope representations, proves that it is a coherent risk measure, unlike VaR, and explains why an exact formula does not make a tail estimate certain.
Key terms
Expected shortfall
Definition Let be an integrable loss, so that , with larger positive values worse, and let . With the lower quantiles of Value at risk and quantile estimation, the expected shortfall at level is
It is a finite amount in currency units, as the next card shows. Because is nondecreasing, , and because , the average over the top part of the levels is at least the overall average, . When has no atom at , the tail has probability exactly and . With an atom at the quantile both conditional means can differ from ES, because ES always averages exactly of probability. Some texts call this quantity conditional value at risk or average value at risk.
In plain words Expected shortfall is the average loss over the worst of probability. It averages a share of probability, not a set of loss values, so when one loss value straddles the cutoff only the needed part of its probability is counted.
Example For the opening loss, for , for and for , so
The mean of the losses strictly above VaR is , and the mean of the losses at or above VaR is . Neither is , because the first leaves out the part of the atom at that lies in the tail and the second includes all of it.
Quantile integral
Definition The quantile integral can be evaluated through the quantile representation of . If is uniform on , then has the law of , because holds exactly when . Let and . For the quantile equals , and exactly when , so
The last term is finite because is integrable. The weight is the part of the atom at that the tail needs, and it lies between and because . Dividing by and using gives
In plain words The worst of probability consists of all the probability strictly above the quantile plus just enough of the atom at the quantile to fill the share. The last formula uses the quantile as a baseline for the whole tail and adds the expected excess of the losses beyond it, scaled to the size of the tail.
Example For the opening loss at , the quantile is , the tail takes all at and of the atom at , and the formula gives . At the quantile is , since , so no part of the atom at is needed and
Here ES equals the mean of the losses strictly above VaR, because .
Threshold representation
Definition For an integrable loss , a level and a real threshold , put
Then is finite and convex, its minimizers are exactly the with
a closed interval that contains , and
For the proof, the map is convex for each , so is convex. The one-sided difference quotients of in are bounded by in absolute value, so dominated convergence moves the one-sided derivatives inside the expectation,
A point minimizes a convex function exactly when , which is the displayed quantile condition. The lower quantile satisfies it, and the previous card gives . The minimizer need not be unique, since the condition holds on a whole interval when equals across a gap between loss values, but every minimizer gives the same value. For equally weighted scenarios whose losses are affine in the portfolio weights , the problem
subject to and for every scenario and to linear constraints on , is a linear program. At an optimum each equals , so its optimal value, when it exists, is the smallest scenario ES over the allowed portfolios, found without sorting the losses of every trial portfolio.
In plain words The threshold form treats the cutoff as a variable. Pay a trial threshold in full and add the expected excess above it, scaled by . This overstates the tail average unless the threshold is a quantile, where the two pieces add up to ES exactly.
Example For the opening loss at the objective takes the values , , , and . At the one-sided derivatives are and , so is the unique minimizer, at a kink of , and the minimum is . At the distribution function equals on , every in satisfies the condition, and .
Dual envelope representation
Definition Let be the set of random variables on the same probability space with almost surely and . For an integrable loss and ,
and the supremum is attained. Each is the density of a probability measure that multiplies probabilities by factors between and , so ES is the largest expected loss over these reweightings. For the upper bound, take any and any real . Because , and ,
and the choice gives . For attainment, let and set on , on and, when , on with
The quantile inequalities give . Then , and is the tail-mass formula of the quantile integral card divided by , which is ES. Without an atom at one has , and the upper tail alone carries the weight.
In plain words Think of as a stress reweighting of the states. It keeps total probability equal to one and may multiply the probability of any state by a factor between zero and . The most damaging reweighting puts the full factor on the losses above the quantile, a partial factor on the cutoff atom so that the probabilities still add to one, and zero elsewhere. Its expected loss is ES.
Example For the opening loss at the cap is . The construction gives weight to the loss , weight to the loss and weight to the loss . Then , and the reweighted probabilities are on and on , so . The feasible weight on both losses and gives only , the mean at or above VaR, and a grid search over all feasible weights on the three states finds no value above .
Coherent risk measure
Definition Let assign a real number to every integrable loss on a fixed probability space, with losses positive when adverse. It is a coherent risk measure if, for all integrable , and , every constant and every ,
where holds almost surely. These are monotonicity, translation equivariance, positive homogeneity and subadditivity. In the profit and loss convention , translation reads , since a sure gain lowers risk. Expected shortfall is coherent, and each property follows from the dual envelope with one set for every loss. Monotonicity holds because every is nonnegative, translation because , and positive homogeneity because with . For subadditivity, every gives
and the supremum over on the left is . No independence or distributional assumption enters, because one set of weights serves every loss. VaR has the first three properties but not the fourth, as the previous lesson shows.
In plain words A coherent measure ranks a loss that is larger in every state as riskier, adds a sure loss one for one, scales with position size and never charges a combined book more than the sum of its parts. Coherence is a property of the measure. It says nothing about whether the loss distribution fed into it is correct.
Example Take the independent exposures and of the previous lesson, each losing with probability . At percent their VaR is and , and the same holds for . The sum has VaR and
below , whereas the VaRs were , and . If , the sum is and , so the bound is attained for identical exposures.
Tail estimation
Definition For equally weighted losses with order statistics and , the ES of the empirical law satisfies
which is the quantile integral of the empirical distribution, with the fractional weight on the cutoff observation. When is an integer it is the mean of the largest losses. The formula is exact for the sample, but as an estimate of the ES of the loss distribution it is uncertain. About observations determine it, they set both the cutoff and the severity of the tail, and a single new large loss can move it far. Dependence and changing volatility change its sampling behavior further. If , the quantile integral diverges and at every level, although every VaR is finite. A heavy tail of gains alone does not make ES infinite, although the derivations above assumed . Extreme value models extend a tail beyond the data, but they add assumptions about severity that the sample cannot confirm. Statistical theory for ES estimators is beyond this lesson.
In plain words Computing the tail average of a sample is exact arithmetic, but the tail of a sample is thin. A few observations decide the answer, so the estimate can move a lot from one sample to the next, and losses larger than any in the sample do not enter it at all.
Example For the twenty constructed losses of the previous lesson, at percent, so the empirical ES is the single largest loss, , and at percent it is . Adding the loss gives , and , so
while the empirical VaR moved only from to . For constructed losses that are independent and normal with mean and standard deviation , the percent ES is , with . In a simulation of samples of size , with about observations per sample beyond the cutoff, the empirical ES averaged about with a standard deviation of about . With samples of size it averaged about with a standard deviation of about .
Check yourself
- For the opening loss, which is , or with probabilities , and , compute the percent VaR and ES from the tail masses, from the threshold formula and from the dual weights.
Show the answer
The distribution function is at and at , so the percent VaR is . The tail of probability takes all at and of the atom at , which contribute and , so
The threshold formula at gives . The cap of the dual weights is , the loss gets weight and the atom at gets . These weights satisfy , and the reweighted expectation is .
- For the independent exposures and that each lose with probability , a colleague measures tail risk by the mean of the losses at or above the percent VaR. Compute this measure for , for and for , and compare it with ES.
Show the answer
Each exposure has VaR , and every state has a loss at or above , so the colleague’s measure is the plain mean , and the same for . The sum has VaR , the states at or above it have probability , and they contribute and to the expectation, so
which exceeds , so this measure is not subadditive. It averages over probability for each exposure and for the sum instead of over in each case. ES gives , and , which satisfies subadditivity. The two measures agree whenever the event of losses at or above VaR has probability exactly , for example when the distribution function is continuous.
- A constructed loss has for . Find its percent VaR and ES, and do the same for . Which hypothesis of the lesson fails in the first case, and what would the empirical ES of a sample from it report?
Show the answer
In the first case , so and . The quantile integral
so ES is infinite. The hypothesis that fails is integrability, since . In the second case , so and
Every sample is finite, so the empirical ES of a sample from the first law is always a finite number, and it tends to grow without bound as the sample grows. A finite estimate is therefore no evidence that ES is finite. In the second case ES is finite, but , so the usual standard error formula for an average does not apply to the tail losses.