Measure of financial risk
Expected shortfall (ES) is a risk measure—a concept used in the field of financial risk measurement to evaluate the market risk or credit risk of a portfolio. The "expected shortfall at q% level" is the expected return on the portfolio in the worst
of cases. ES is an alternative to value at risk that is more sensitive to the shape of the tail of the loss distribution.
Expected shortfall is also called conditional value at risk (CVaR), average value at risk (AVaR), expected tail loss (ETL), and superquantile.
ES estimates the risk of an investment in a conservative way, focusing on the less profitable outcomes. For high values of
it ignores the most profitable but unlikely possibilities, while for small values of
it focuses on the worst losses. On the other hand, unlike the discounted maximum loss, even for lower values of
the expected shortfall does not consider only the single most catastrophic outcome. A value of
often used in practice is 5%.
Expected shortfall is considered a more useful risk measure than VaR because it is a coherent spectral measure of financial portfolio risk. It is calculated for a given quantile-level
and is defined to be the mean loss of portfolio value given that a loss is occurring at or below the
-quantile.
If
(an Lp) is the payoff of a portfolio at some future time and
then we define the expected shortfall as

where
is the value at risk. This can be equivalently written as
![{\displaystyle \operatorname {ES} _{\alpha }(X)=-{\frac {1}{\alpha }}\left(\operatorname {E} [X\ 1_{\{X\leq x_{\alpha }\}}]+x_{\alpha }(\alpha -P[X\leq x_{\alpha }])\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4b3aaa61637c82ae386cdac3fbccc3a96432eb94)
where
is the lower
-quantile and
is the indicator function. Note, that the second term vanishes for random variables with continuous distribution functions.
The dual representation is
![{\displaystyle \operatorname {ES} _{\alpha }(X)=\inf _{Q\in {\mathcal {Q}}_{\alpha }}E^{Q}[X]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/10ae29b404213dc3ca11c18bd04acd98c6db1558)
where
is the set of probability measures which are absolutely continuous to the physical measure
such that
almost surely. Note that
is the Radon–Nikodym derivative of
with respect to
.
Expected shortfall can be generalized to a general class of coherent risk measures on
spaces (Lp space) with a corresponding dual characterization in the corresponding
dual space. The domain can be extended for more general Orlicz Hearts.
If the underlying distribution for
is a continuous distribution then the expected shortfall is equivalent to the tail conditional expectation defined by
.
Informally, and non-rigorously, this equation amounts to saying "in case of losses so severe that they occur only alpha percent of the time, what is our average loss".
Expected shortfall can also be written as a distortion risk measure given by the distortion function

Examples
Example 1. If we believe our average loss on the worst 5% of the possible outcomes for our portfolio is EUR 1000, then we could say our expected shortfall is EUR 1000 for the 5% tail.
Example 2. Consider a portfolio that will have the following possible values at the end of the period:
Now assume that we paid 100 at the beginning of the period for this portfolio. Then the profit in each case is (ending value−100) or:
From this table let us calculate the expected shortfall
for a few values of
:
To see how these values were calculated, consider the calculation of
, the expectation in the worst 5% of cases. These cases belong to (are a subset of) row 1 in the profit table, which have a profit of −100 (total loss of the 100 invested). The expected profit for these cases is −100.
Now consider the calculation of
, the expectation in the worst 20 out of 100 cases. These cases are as follows: 10 cases from row one, and 10 cases from row two (note that 10+10 equals the desired 20 cases). For row 1 there is a profit of −100, while for row 2 a profit of −20. Using the expected value formula we get

Similarly for any value of
. We select as many rows starting from the top as are necessary to give a cumulative probability of
and then calculate an expectation over those cases. In general, the last row selected may not be fully used (for example in calculating
we used only 10 of the 30 cases per 100 provided by row 2).
As a final example, calculate
. This is the expectation over all cases, or

The value at risk (VaR) is given below for comparison.
Properties
The expected shortfall
increases as
decreases.
The 100%-quantile expected shortfall
equals negative of the expected value of the portfolio.
For a given portfolio, the expected shortfall
is greater than or equal to the Value at Risk
at the same
level.
Optimization of expected shortfall
Expected shortfall, in its standard form, is known to lead to a generally non-convex optimization problem. However, it is possible to transform the problem into a linear program and find the global solution. This property makes expected shortfall a cornerstone of alternatives to mean-variance portfolio optimization, which account for the higher moments (e.g., skewness and kurtosis) of a return distribution.
Suppose that we want to minimize the expected shortfall of a portfolio. The key contribution of Rockafellar and Uryasev in their 2000 paper is to introduce the auxiliary function
for the expected shortfall:
Where
and
is a loss function for a set of portfolio weights
to be applied to the returns. Rockafellar/Uryasev proved that
is convex with respect to
and is equivalent to the expected shortfall at the minimum point. To numerically compute the expected shortfall for a set of portfolio returns, it is necessary to generate
simulations of the portfolio constituents; this is often done using copulas. With these simulations in hand, the auxiliary function may be approximated by:
This is equivalent to the formulation:
Finally, choosing a linear loss function
turns the optimization problem into a linear program. Using standard methods, it is then easy to find the portfolio that minimizes expected shortfall.
Closed-form formulas exist for calculating the expected shortfall when the payoff of a portfolio
or a corresponding loss
follows a specific continuous distribution. In the former case, the expected shortfall corresponds to the opposite number of the left-tail conditional expectation below
:
![{\displaystyle \operatorname {ES} _{\alpha }(X)=E[-X\mid X\leq -\operatorname {VaR} _{\alpha }(X)]=-{\frac {1}{\alpha }}\int _{0}^{\alpha }\operatorname {VaR} _{\gamma }(X)\,d\gamma =-{\frac {1}{\alpha }}\int _{-\infty }^{-\operatorname {VaR} _{\alpha }(X)}xf(x)\,dx.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b27d5a69ce9afd5b0b7ddc51ec4c19aa7b3daea8)
Typical values of
in this case are 5% and 1%.
For engineering or actuarial applications it is more common to consider the distribution of losses
, the expected shortfall in this case corresponds to the right-tail conditional expectation above
and the typical values of
are 95% and 99%:
![{\displaystyle \operatorname {ES} _{\alpha }(L)=\operatorname {E} [L\mid L\geq \operatorname {VaR} _{\alpha }(L)]={\frac {1}{1-\alpha }}\int _{\alpha }^{1}\operatorname {VaR} _{\gamma }(L)\,d\gamma ={\frac {1}{1-\alpha }}\int _{\operatorname {VaR} _{\alpha }(L)}^{+\infty }yf(y)\,dy.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/fbc45340ee7d389f415b65a94d1c0358b677a40f)
Since some formulas below were derived for the left-tail case and some for the right-tail case, the following reconciliations can be useful:
![{\displaystyle \operatorname {ES} _{\alpha }(X)=-{\frac {1}{\alpha }}\operatorname {E} [X]+{\frac {1-\alpha }{\alpha }}\operatorname {ES} _{\alpha }(L){\text{ and }}\operatorname {ES} _{\alpha }(L)={\frac {1}{1-\alpha }}\operatorname {E} [L]+{\frac {\alpha }{1-\alpha }}\operatorname {ES} _{\alpha }(X).}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c592f4db6c9c77e3b74e4c34ea60597b565e9edb)
Normal distribution
If the payoff of a portfolio
follows the normal (Gaussian) distribution with p.d.f.
then the expected shortfall is equal to
, where
is the standard normal p.d.f.,
is the standard normal c.d.f., so
is the standard normal quantile.
If the loss of a portfolio
follows the normal distribution, the expected shortfall is equal to
.
Generalized Student's t-distribution
If the payoff of a portfolio
follows the generalized Student's t-distribution with p.d.f.
then the expected shortfall is equal to
, where
is the standard t-distribution p.d.f.,
is the standard t-distribution c.d.f., so
is the standard t-distribution quantile.
If the loss of a portfolio
follows generalized Student's t-distribution, the expected shortfall is equal to
.
Laplace distribution
If the payoff of a portfolio
follows the Laplace distribution with the p.d.f.

and the c.d.f.
![{\displaystyle F(x)={\begin{cases}1-{\frac {1}{2}}e^{-(x-\mu )/b}&{\text{if }}x\geq \mu ,\\[4pt]{\frac {1}{2}}e^{(x-\mu )/b}&{\text{if }}x<\mu .\end{cases}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5bc74653846f1e6243ac2db148976eee1393f69e)
then the expected shortfall is equal to
for
.
If the loss of a portfolio
follows the Laplace distribution, the expected shortfall is equal to
![{\displaystyle \operatorname {ES} _{\alpha }(L)={\begin{cases}\mu +b{\frac {\alpha }{1-\alpha }}(1-\ln 2\alpha )&{\text{if }}\alpha <0.5,\\[4pt]\mu +b[1-\ln(2(1-\alpha ))]&{\text{if }}\alpha \geq 0.5.\end{cases}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d84aa79aa5d69bffbaf45a3a9bbaa69ef8869cfa)
Logistic distribution
If the payoff of a portfolio
follows the logistic distribution with p.d.f.
and the c.d.f.
then the expected shortfall is equal to
.
If the loss of a portfolio
follows the logistic distribution, the expected shortfall is equal to
.
Exponential distribution
If the loss of a portfolio
follows the exponential distribution with p.d.f.
and the c.d.f.
then the expected shortfall is equal to
.
Pareto distribution
If the loss of a portfolio
follows the Pareto distribution with p.d.f.
and the c.d.f.
then the expected shortfall is equal to
.
Generalized Pareto distribution (GPD)
If the loss of a portfolio
follows the GPD with p.d.f.

and the c.d.f.

then the expected shortfall is equal to
![{\displaystyle \operatorname {ES} _{\alpha }(L)={\begin{cases}\mu +s\left[{\frac {(1-\alpha )^{-\xi }}{1-\xi }}+{\frac {(1-\alpha )^{-\xi }-1}{\xi }}\right]&{\text{if }}\xi \neq 0,\\\mu +s\left[1-\ln(1-\alpha )\right]&{\text{if }}\xi =0,\end{cases}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0828a7a99120dab1446bec19bb757238104c3aca)
and the VaR is equal to

Weibull distribution
If the loss of a portfolio
follows the Weibull distribution with p.d.f.
and the c.d.f.
then the expected shortfall is equal to
, where
is the upper incomplete gamma function.
Generalized extreme value distribution (GEV)
If the payoff of a portfolio
follows the GEV with p.d.f.
and c.d.f.
then the expected shortfall is equal to
and the VaR is equal to
, where
is the upper incomplete gamma function,
is the logarithmic integral function.
If the loss of a portfolio
follows the GEV, then the expected shortfall is equal to
, where
is the lower incomplete gamma function,
is the Euler-Mascheroni constant.
Generalized hyperbolic secant (GHS) distribution
If the payoff of a portfolio
follows the GHS distribution with p.d.f.
and the c.d.f.
then the expected shortfall is equal to
, where
is the dilogarithm and
is the imaginary unit.
Johnson's SU-distribution
If the payoff of a portfolio
follows Johnson's SU-distribution with the c.d.f.
then the expected shortfall is equal to
, where
is the c.d.f. of the standard normal distribution.
Burr type XII distribution
If the payoff of a portfolio
follows the Burr type XII distribution the p.d.f.
and the c.d.f.
, the expected shortfall is equal to
, where
is the hypergeometric function. Alternatively,
.
Dagum distribution
If the payoff of a portfolio
follows the Dagum distribution with p.d.f.
and the c.d.f.
, the expected shortfall is equal to
, where
is the hypergeometric function.
Lognormal distribution
If the payoff of a portfolio
follows lognormal distribution, i.e. the random variable
follows the normal distribution with p.d.f.
, then the expected shortfall is equal to
, where
is the standard normal c.d.f., so
is the standard normal quantile.
Log-logistic distribution
If the payoff of a portfolio
follows log-logistic distribution, i.e. the random variable
follows the logistic distribution with p.d.f.
, then the expected shortfall is equal to
, where
is the regularized incomplete beta function,
.
As the incomplete beta function is defined only for positive arguments, for a more generic case the expected shortfall can be expressed with the hypergeometric function:
.
If the loss of a portfolio
follows log-logistic distribution with p.d.f.
and c.d.f.
, then the expected shortfall is equal to
, where
is the incomplete beta function.
Log-Laplace distribution
If the payoff of a portfolio
follows log-Laplace distribution, i.e. the random variable
follows the Laplace distribution the p.d.f.
, then the expected shortfall is equal to
![{\displaystyle \operatorname {ES} _{\alpha }(X)={\begin{cases}1-{\frac {e^{\mu }(2\alpha )^{b}}{b+1}}&{\text{if }}\alpha \leq 0.5,\\1-{\frac {e^{\mu }2^{-b}}{\alpha (b-1)}}\left[(1-\alpha )^{(1-b)}-1\right]&{\text{if }}\alpha >0.5.\end{cases}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b7b484d9d7dc9a5719e04ed634fd9d49f934c819)
Log-generalized hyperbolic secant (log-GHS) distribution
If the payoff of a portfolio
follows log-GHS distribution, i.e. the random variable
follows the GHS distribution with p.d.f.
, then the expected shortfall is equal to

where
is the hypergeometric function.
Dynamic expected shortfall
The conditional version of the expected shortfall at the time t is defined by
![{\displaystyle \operatorname {ES} _{\alpha }^{t}(X)=\operatorname {ess\sup } _{Q\in {\mathcal {Q}}_{\alpha }^{t}}E^{Q}[-X\mid {\mathcal {F}}_{t}]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0987e7687617fddd3dd4319ba647d4edab3306d5)
where
.
This is not a time-consistent risk measure. The time-consistent version is given by
![{\displaystyle \rho _{\alpha }^{t}(X)=\operatorname {ess\sup } _{Q\in {\tilde {\mathcal {Q}}}_{\alpha }^{t}}E^{Q}[-X\mid {\mathcal {F}}_{t}]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/eb5535550562e8131fb6f5a5a429e81b01c67b8c)
such that
![{\displaystyle {\tilde {\mathcal {Q}}}_{\alpha }^{t}=\left\{Q\ll P:\operatorname {E} \left[{\frac {dQ}{dP}}\mid {\mathcal {F}}_{\tau +1}\right]\leq \alpha _{t}^{-1}\operatorname {E} \left[{\frac {dQ}{dP}}\mid {\mathcal {F}}_{\tau }\right]\;\forall \tau \geq t{\text{ a.s.}}\right\}.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1e138fe00e7a6f9a28f21275aa95b520cb312e7c)
See also
Methods of statistical estimation of VaR and ES can be found in Embrechts et al. and Novak. When forecasting VaR and ES, or optimizing portfolios to minimize tail risk, it is important to account for asymmetric dependence and non-normalities in the distribution of stock returns such as auto-regression, asymmetric volatility, skewness, and kurtosis.
References
External links
- Rockafellar, Uryasev: Optimization of conditional Value-at-Risk, 2000.
- C. Acerbi and D. Tasche: On the Coherence of Expected Shortfall, 2002.
- Rockafellar, Uryasev: Conditional Value-at-Risk for general loss distributions, 2002.
- Acerbi: Spectral measures of risk, 2005
- Phi-Alpha optimal portfolios and extreme risk management, Best of Wilmott, 2003
- "Coherent measures of Risk", Philippe Artzner, Freddy Delbaen, Jean-Marc Eber, and David Heath