# Expected shortfall

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 ${\displaystyle q\%}$ 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)[1], average value at risk (AVaR), expected tail loss (ETL), and superquantile[2].

ES estimates the risk of an investment in a conservative way, focusing on the less profitable outcomes. For high values of ${\displaystyle q}$ it ignores the most profitable but unlikely possibilities, while for small values of ${\displaystyle q}$ it focuses on the worst losses. On the other hand, unlike the discounted maximum loss, even for lower values of ${\displaystyle q}$ the expected shortfall does not consider only the single most catastrophic outcome. A value of ${\displaystyle q}$ often used in practice is 5%.[citation needed]

Expected shortfall is considered a more useful risk measure than VaR because it is a coherent, and moreover a spectral, measure of financial portfolio risk. It is calculated for a given quantile-level ${\displaystyle q}$, and is defined to be the mean loss of portfolio value given that a loss is occurring at or below the ${\displaystyle q}$-quantile.

## Formal definition

If ${\displaystyle X\in L^{p}({\mathcal {F}})}$ (an Lp space) is the payoff of a portfolio at some future time and ${\displaystyle 0<\alpha <1}$ then we define the expected shortfall as

${\displaystyle \operatorname {E} S_{\alpha }=-{\frac {1}{\alpha }}\int _{0}^{\alpha }\operatorname {VaR} _{\gamma }(X)\,d\gamma }$

where ${\displaystyle \operatorname {VaR} _{\gamma }}$ is the value at risk. This can be equivalently written as

${\displaystyle \operatorname {E} S_{\alpha }=-{\frac {1}{\alpha }}\left(\operatorname {E} [X\ 1_{\{X\leq x_{\alpha }\}}]+x_{\alpha }(\alpha -P[X\leq x_{\alpha }])\right)}$

where ${\displaystyle x_{\alpha }=\inf\{x\in \mathbb {R} :P(X\leq x)\geq \alpha \}}$ is the lower ${\displaystyle \alpha }$-quantile and ${\displaystyle 1_{A}(x)={\begin{cases}1&{\text{if }}x\in A\\0&{\text{else}}\end{cases}}}$ is the indicator function.[3] The dual representation is

${\displaystyle \operatorname {E} S_{\alpha }=\inf _{Q\in {\mathcal {Q}}_{\alpha }}E^{Q}[X]}$

where ${\displaystyle {\mathcal {Q}}_{\alpha }}$ is the set of probability measures which are absolutely continuous to the physical measure ${\displaystyle P}$ such that ${\displaystyle {\frac {dQ}{dP}}\leq \alpha ^{-1}}$ almost surely.[4] Note that ${\displaystyle {\frac {dQ}{dP}}}$ is the Radon–Nikodym derivative of ${\displaystyle Q}$ with respect to ${\displaystyle P}$.

Expected shortfall can be generalized to a general class of coherent risk measures on ${\displaystyle L^{p}}$ spaces (Lp space) with a corresponding dual characterization in the corresponding ${\displaystyle L^{q}}$ dual space. The domain can be extended for more general Orlicz Hearts.[5]

If the underlying distribution for ${\displaystyle X}$ is a continuous distribution then the expected shortfall is equivalent to the tail conditional expectation defined by ${\displaystyle TCE_{\alpha }(X)=E[-X\mid X\leq -\operatorname {VaR} _{\alpha }(X)]}$.[6]

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

${\displaystyle g(x)={\begin{cases}{\frac {x}{1-\alpha }}&{\text{if }}0\leq x<1-\alpha ,\\1&{\text{if }}1-\alpha \leq x\leq 1.\end{cases}}\quad }$[7][8]

## 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:

probability ending value
of event of the portfolio
10% 0
30% 80
40% 100
20% 150

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:

probability
of event profit
10% −100
30% −20
40% 0
20% 50

From this table let us calculate the expected shortfall ${\displaystyle \operatorname {E} S_{q}}$ for a few values of ${\displaystyle q}$:

${\displaystyle q}$ expected shortfall ${\displaystyle \operatorname {E} S_{q}}$
5% 100
10% 100
20% 60
30% 46.6
40% 40
50% 32
60% 26.6
80% 20
90% 12.2
100% 6

To see how these values were calculated, consider the calculation of ${\displaystyle \operatorname {E} S_{0.05}}$, 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 ${\displaystyle \operatorname {E} S_{0.20}}$, 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

${\displaystyle {\frac {{\frac {10}{100}}(-100)+{\frac {10}{100}}(-20)}{\frac {20}{100}}}=-60.}$

Similarly for any value of ${\displaystyle q}$. We select as many rows starting from the top as are necessary to give a cumulative probability of ${\displaystyle q}$ and then calculate an expectation over those cases. In general the last row selected may not be fully used (for example in calculating ${\displaystyle -\operatorname {E} S_{0.20}}$ we used only 10 of the 30 cases per 100 provided by row 2).

As a final example, calculate ${\displaystyle -\operatorname {E} S_{1}}$. This is the expectation over all cases, or

${\displaystyle 0.1(-100)+0.3(-20)+0.4\cdot 0+0.2\cdot 50=-6.\,}$

The value at risk (VaR) is given below for comparison.

${\displaystyle q}$ ${\displaystyle \operatorname {VaR} _{q}}$
${\displaystyle 0\%\leq q<10\%}$ −100
${\displaystyle 10\%\leq q<40\%}$ −20
${\displaystyle 40\%\leq q<80\%}$ 0
${\displaystyle 80\%\leq q\leq 100\%}$ 50

## Properties

The expected shortfall ${\displaystyle \operatorname {E} S_{q}}$ increases as ${\displaystyle q}$ decreases.

The 100%-quantile expected shortfall ${\displaystyle \operatorname {E} S_{1.0}}$ equals negative of the expected value of the portfolio.

For a given portfolio, the expected shortfall ${\displaystyle \operatorname {E} S_{q}}$ is greater than or equal to the Value at Risk ${\displaystyle \operatorname {VaR} _{q}}$ at the same ${\displaystyle q}$ 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.[9] 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 ${\displaystyle F_{\alpha }(w,\gamma )}$ for the expected shortfall:

${\displaystyle F_{\alpha }(w,\gamma )=\gamma +{1 \over {1-\alpha }}\int _{\ell (w,x)\geq \gamma }[\ell (w,x)-\gamma ]p(x)\,dx}$
Where ${\displaystyle \gamma =\operatorname {VaR} _{\alpha }(X)}$ and ${\displaystyle \ell (w,x)}$ is a loss function for a set of portfolio weights ${\displaystyle w\in \mathbb {R} ^{p}}$ to be applied to the returns. Rockafellar/Uryasev proved that ${\displaystyle F_{\alpha }(w,\gamma )}$ is convex with respect to ${\displaystyle \gamma }$ 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 ${\displaystyle J}$ simulations of the portfolio constituents; this is often done using copulas. With these simulations in hand, the auxiliary function may be approximated by:
${\displaystyle {\widetilde {F}}_{\alpha }(w,\gamma )=\gamma +{1 \over {(1-\alpha )J}}\sum _{j=1}^{J}[\ell (w,x_{j})-\gamma ]_{+}}$
This is equivalent to the formulation:
${\displaystyle \min _{\gamma ,z,w}\;\gamma +{1 \over {(1-\alpha )J}}\sum _{j=1}^{J}z_{j},\quad {\text{s.t. }}z_{j}\geq \ell (w,x_{j})-\gamma \geq 0}$
Finally, choosing a linear loss function ${\displaystyle \ell (w,x_{j})=-w^{T}x_{j}}$ turns the optimization problem into a linear program. Using standard methods, it is then easy to find the portfolio that minimizes expected shortfall.

## Formulas for continuous probability distributions

Closed-form formulas exist for calculating the expected shortfall when the payoff of a portfolio ${\displaystyle X}$ or a corresponding loss ${\displaystyle L=-X}$ 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 {VaR} _{\alpha }(X)}$:

${\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.}$

Typical values of ${\textstyle \alpha }$ in this case are 5% and 1%.

For engineering or actuarial applications it is more common to consider the distribution of losses ${\displaystyle L=-X}$, the expected shortfall in this case corresponds to the right-tail conditional expectation above ${\displaystyle \operatorname {VaR} _{\alpha }(L)}$ and the typical values of ${\displaystyle \alpha }$ 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.}$

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).}$

### Normal distribution

If the payoff of a portfolio ${\displaystyle X}$ follows normal (Gaussian) distribution with the p.d.f. ${\displaystyle f(x)={\frac {1}{{\sqrt {2\pi }}\sigma }}e^{-{\frac {(x-\mu )^{2}}{2\sigma ^{2}}}}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=\mu +\sigma {\frac {\varphi (\Phi ^{-1}(\alpha ))}{\alpha }}}$, where ${\displaystyle \varphi (x)={\frac {1}{\sqrt {2\pi }}}e^{-{\frac {x^{2}}{2}}}}$ is the standard normal p.d.f., ${\displaystyle \Phi (x)}$ is the standard normal c.d.f., so ${\displaystyle \Phi ^{-1}(\alpha )}$ is the standard normal quantile.[10]

If the loss of a portfolio ${\displaystyle L}$ follows normal distribution, the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)=\mu +\sigma {\frac {\varphi (\Phi ^{-1}(\alpha ))}{1-\alpha }}}$.[11]

### Generalized Student's t-distribution

If the payoff of a portfolio ${\displaystyle X}$ follows generalized Student's t-distribution with the p.d.f. ${\displaystyle f(x)={\frac {\Gamma {\bigl (}{\frac {\nu +1}{2}}{\bigr )}}{\Gamma {\bigl (}{\frac {\nu }{2}}{\bigr )}{\sqrt {\pi \nu }}\sigma }}\left(1+{\frac {1}{\nu }}\left({\frac {x-\mu }{\sigma }}\right)^{2}\right)^{-{\frac {\nu +1}{2}}}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=\mu +\sigma {\frac {\nu +(\mathrm {T} ^{-1}(\alpha ))^{2}}{\nu -1}}{\frac {\tau (\mathrm {T} ^{-1}(\alpha ))}{1-\alpha }}}$, where ${\displaystyle \tau (x)={\frac {\Gamma {\bigl (}{\frac {\nu +1}{2}}{\bigr )}}{\Gamma {\bigl (}{\frac {\nu }{2}}{\bigr )}{\sqrt {\pi \nu }}}}{\Bigl (}1+{\frac {x^{2}}{\nu }}{\Bigr )}^{-{\frac {\nu +1}{2}}}}$ is the standard t-distribution p.d.f., ${\displaystyle \mathrm {T} (x)}$ is the standard t-distribution c.d.f., so ${\displaystyle \mathrm {T} ^{-1}(\alpha )}$ is the standard t-distribution quantile.[10]

If the loss of a portfolio ${\displaystyle L}$ follows generalized Student's t-distribution, the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)=\mu +\sigma {\frac {\nu +(\mathrm {T} ^{-1}(\alpha ))^{2}}{\nu -1}}{\frac {\tau (\mathrm {T} ^{-1}(\alpha ))}{1-\alpha }}}$.[11]

### Laplace distribution

If the payoff of a portfolio ${\displaystyle X}$ follows Laplace distribution with the p.d.f.

${\displaystyle f(x)={\frac {1}{2b}}e^{-|x-\mu |/b}}$

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}}}$

then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\mu +b(1-\ln 2\alpha )}$ for ${\displaystyle \alpha \leq 0.5}$.[10]

If the loss of a portfolio ${\displaystyle L}$ follows Laplace distribution, the expected shortfall is equal to

${\displaystyle \operatorname {E} S_{\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}}\quad }$[11]

### Logistic distribution

If the payoff of a portfolio ${\displaystyle X}$ follows logistic distribution with the p.d.f. ${\displaystyle f(x)={\frac {1}{s}}e^{-{\frac {x-\mu }{s}}}{\Bigl (}1+e^{-{\frac {x-\mu }{s}}}{\Bigr )}^{-2}}$ and the c.d.f. ${\displaystyle F(x)={\Bigl (}1+e^{-{\frac {x-\mu }{s}}}{\Bigr )}^{-1}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\mu +s\ln {\frac {(1-\alpha )^{1-{\frac {1}{\alpha }}}}{\alpha }}}$.[10]

If the loss of a portfolio ${\displaystyle L}$ follows logistic distribution, the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)=\mu +s{\frac {-\alpha \ln \alpha -(1-\alpha )\ln(1-\alpha )}{1-\alpha }}}$.[11]

### Exponential distribution

If the loss of a portfolio ${\displaystyle L}$ follows exponential distribution with the p.d.f. ${\displaystyle f(x)={\begin{cases}\lambda e^{-\lambda x}&{\text{if }}x\geq 0,\\0&{\text{if }}x<0.\end{cases}}}$ and the c.d.f. ${\displaystyle F(x)={\begin{cases}1-e^{-\lambda x}&{\text{if }}x\geq 0,\\0&{\text{if }}x<0.\end{cases}}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)={\frac {-\ln(1-\alpha )+1}{\lambda }}}$.[11]

### Pareto distribution

If the loss of a portfolio ${\displaystyle L}$ follows Pareto distribution with the p.d.f. ${\displaystyle f(x)={\begin{cases}{\frac {ax_{m}^{a}}{x^{a+1}}}&{\text{if }}x\geq x_{m},\\0&{\text{if }}x and the c.d.f. ${\displaystyle F(x)={\begin{cases}1-(x_{m}/x)^{a}&{\text{if }}x\geq x_{m},\\0&{\text{if }}x then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)={\frac {x_{m}a}{(1-\alpha )^{1/a}(a-1)}}}$.[11]

### Generalized Pareto distribution (GPD)

If the loss of a portfolio ${\displaystyle L}$ follows GPD with the p.d.f.

${\displaystyle f(x)={\frac {1}{s}}{\Bigl (}1+{\frac {\xi (x-\mu )}{s}}{\Bigr )}^{{\bigl (}-{\frac {1}{\xi }}-1{\bigr )}}}$

and the c.d.f.

${\displaystyle F(x)={\begin{cases}1-{\Big (}1+{\frac {\xi (x-\mu )}{s}}{\Big )}^{-{\frac {1}{\xi }}}&{\text{if }}\xi \neq 0,\\1-\exp {\bigl (}-{\frac {x-\mu }{s}}{\bigr )}&{\text{if }}\xi =0.\end{cases}}}$

then the expected shortfall is equal to

${\displaystyle \operatorname {E} S_{\alpha }(L)={\begin{cases}\mu +s{\Bigl [}{\frac {(1-\alpha )^{-\xi }}{1-\xi }}+{\frac {(1-\alpha )^{-\xi }-1}{\xi }}{\Bigr ]}&{\text{if }}\xi \neq 0,\\\mu +s[1-\ln(1-\alpha )]&{\text{if }}\xi =0,\end{cases}}}$

and the VaR is equal to

${\displaystyle \operatorname {VaR} _{\alpha }(L)={\begin{cases}\mu +s{\frac {(1-\alpha )^{-\xi }-1}{\xi }}&{\text{if }}\xi \neq 0,\\\mu -s\ln(1-\alpha )&{\text{if }}\xi =0.\end{cases}}\quad }$[11]

### Weibull distribution

If the loss of a portfolio ${\displaystyle L}$ follows Weibull distribution with the p.d.f. ${\displaystyle f(x)={\begin{cases}{\frac {k}{\lambda }}{\Big (}{\frac {x}{\lambda }}{\Big )}^{k-1}e^{-(x/\lambda )^{k}}&{\text{if }}x\geq 0,\\0&{\text{if }}x<0.\end{cases}}}$ and the c.d.f. ${\displaystyle F(x)={\begin{cases}1-e^{-(x/\lambda )^{k}}&{\text{if }}x\geq 0,\\0&{\text{if }}x<0.\end{cases}}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)={\frac {\lambda }{1-\alpha }}\Gamma {\Big (}1+{\frac {1}{k}},-\ln(1-\alpha ){\Big )}}$, where ${\displaystyle \Gamma (s,x)}$ is the upper incomplete gamma function.[11]

### Generalized extreme value distribution (GEV)

If the payoff of a portfolio ${\displaystyle X}$ follows GEV with the p.d.f. ${\displaystyle f(x)={\begin{cases}{\frac {1}{\sigma }}{\Bigl (}1+\xi {\frac {x-\mu }{\sigma }}{\Bigr )}^{-{\frac {1}{\xi }}-1}\exp {\Bigl [}-{\Bigl (}1+\xi {\frac {x-\mu }{\sigma }}{\Bigr )}^{-{\frac {1}{\xi }}}{\Bigr ]}&{\text{if }}\xi \neq 0,\\{\frac {1}{\sigma }}e^{-{\frac {x-\mu }{\sigma }}}e^{-e^{-{\frac {x-\mu }{\sigma }}}}&{\text{if }}\xi =0.\end{cases}}}$ and the c.d.f. ${\displaystyle F(x)={\begin{cases}\exp {\Big (}-{\big (}1+\xi {\frac {x-\mu }{\sigma }}{\big )}^{-{\frac {1}{\xi }}}{\Big )}&{\text{if }}\xi \neq 0,\\\exp {\Big (}-e^{-{\frac {x-\mu }{\sigma }}}{\Big )}&{\text{if }}\xi =0.\end{cases}}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)={\begin{cases}-\mu -{\frac {\sigma }{\alpha \xi }}{\big [}\Gamma (1-\xi ,-\ln \alpha )-\alpha {\big ]}&{\text{if }}\xi \neq 0,\\-\mu -{\frac {\sigma }{\alpha }}{\big [}{\text{li}}(\alpha )-\alpha \ln(-\ln \alpha ){\big ]}&{\text{if }}\xi =0.\end{cases}}}$ and the VaR is equal to ${\displaystyle \operatorname {VaR} _{\alpha }(X)={\begin{cases}-\mu -{\frac {\sigma }{\xi }}{\big [}(-\ln \alpha )^{-\xi }-1{\big ]}&{\text{if }}\xi \neq 0,\\-\mu +\sigma \ln(-\ln \alpha )&{\text{if }}\xi =0.\end{cases}}}$, where ${\displaystyle \Gamma (s,x)}$ is the upper incomplete gamma function, ${\displaystyle {\text{li}}(x)=\int {\frac {dx}{\ln x}}}$ is the logarithmic integral function.[12]

If the loss of a portfolio ${\displaystyle L}$ follows GEV, then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)={\begin{cases}\mu +{\frac {\sigma }{(1-\alpha )\xi }}{\big [}\gamma (1-\xi ,-\ln \alpha )-(1-\alpha ){\big ]}&{\text{if }}\xi \neq 0,\\\mu +{\frac {\sigma }{1-\alpha }}{\big [}y-{\text{li}}(\alpha )+\alpha \ln(-\ln \alpha ){\big ]}&{\text{if }}\xi =0.\end{cases}}}$, where ${\displaystyle \gamma (s,x)}$ is the lower incomplete gamma function, ${\displaystyle y}$ is the Euler-Mascheroni constant.[11]

### Generalized hyperbolic secant (GHS) distribution

If the payoff of a portfolio ${\displaystyle X}$ follows GHS distribution with the p.d.f. ${\displaystyle f(x)={\frac {1}{2\sigma }}\operatorname {sech} ({\frac {\pi }{2}}{\frac {x-\mu }{\sigma }})}$and the c.d.f. ${\displaystyle F(x)={\frac {2}{\pi }}\arctan {\Big [}\exp {\Big (}{\frac {\pi }{2}}{\frac {x-\mu }{\sigma }}{\Big )}{\Big ]}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\mu -{\frac {2\sigma }{\pi }}\ln {\Big (}\tan {\frac {\pi \alpha }{2}}{\Big )}-{\frac {2\sigma }{\pi ^{2}\alpha }}i{\Big [}{\text{Li}}_{2}{\Big (}-i\tan {\frac {\pi \alpha }{2}}{\Big )}-\operatorname {Li} _{2}{\Big (}i\tan {\frac {\pi \alpha }{2}}{\Big )}{\Big ]}}$, where ${\displaystyle \operatorname {Li} _{2}}$ is the Spence's function, ${\displaystyle i={\sqrt {-1}}}$ is the imaginary unit.[12]

### Johnson's SU-distribution

If the payoff of a portfolio ${\displaystyle X}$ follows Johnson's SU-distribution with the c.d.f. ${\displaystyle F(x)=\Phi {\Big [}\gamma +\delta \sinh ^{-1}{\Big (}{\frac {x-\xi }{\lambda }}{\Big )}{\Big ]}}$ then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\xi -{\frac {\lambda }{2\alpha }}{\Big [}\exp {\Big (}{\frac {1-2\gamma \delta }{2\delta ^{2}}}{\Big )}\Phi {\Big (}\Phi ^{-1}(\alpha )-{\frac {1}{\delta }}{\Big )}-\exp {\Big (}{\frac {1+2\gamma \delta }{2\delta ^{2}}}{\Big )}\Phi {\Big (}\Phi ^{-1}(\alpha )+{\frac {1}{\delta }}{\Big )}{\Big ]}}$, where ${\displaystyle \Phi }$ is the c.d.f. of the standard normal distribution.[13]

### Burr type XII distribution

If the payoff of a portfolio ${\displaystyle X}$ follows the Burr type XII distribution with the p.d.f. ${\displaystyle f(x)={\frac {ck}{\beta }}{\Big (}{\frac {x-\gamma }{\beta }}{\Big )}^{c-1}{\Big [}1+{\Big (}{\frac {x-\gamma }{\beta }}{\Big )}^{c}{\Big ]}^{-k-1}}$ and the c.d.f. ${\displaystyle F(x)=1-{\Big [}1+{\Big (}{\frac {x-\gamma }{\beta }}{\Big )}^{c}{\Big ]}^{-k}}$, the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\gamma -{\frac {\beta }{\alpha }}{\Big (}(1-\alpha )^{-1/k}-1{\Big )}^{1/c}{\Big [}\alpha -1+{_{2}F_{1}}{\Big (}{\frac {1}{c}},k;1+{\frac {1}{c}};1-(1-\alpha )^{-1/k}{\Big )}{\Big ]}}$, where ${\displaystyle _{2}F_{1}}$ is the hypergeometric function. Alternatively, ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\gamma -{\frac {\beta }{\alpha }}{\frac {ck}{c+1}}{\Big (}(1-\alpha )^{-1/k}-1{\Big )}^{1+{\frac {1}{c}}}{_{2}F_{1}}{\Big (}1+{\frac {1}{c}},k+1;2+{\frac {1}{c}};1-(1-\alpha )^{-1/k}{\Big )}}$.[12]

### Dagum distribution

If the payoff of a portfolio ${\displaystyle X}$ follows the Dagum distribution with the p.d.f. ${\displaystyle f(x)={\frac {ck}{\beta }}{\Big (}{\frac {x-\gamma }{\beta }}{\Big )}^{ck-1}{\Big [}1+{\Big (}{\frac {x-\gamma }{\beta }}{\Big )}^{c}{\Big ]}^{-k-1}}$ and the c.d.f. ${\displaystyle F(x)={\Big [}1+{\Big (}{\frac {x-\gamma }{\beta }}{\Big )}^{-c}{\Big ]}^{-k}}$, the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=-\gamma -{\frac {\beta }{\alpha }}{\frac {ck}{ck+1}}{\Big (}\alpha ^{-1/k}-1{\Big )}^{-k-{\frac {1}{c}}}{_{2}F_{1}}{\Big (}k+1,k+{\frac {1}{c}};k+1+{\frac {1}{c}};-{\frac {1}{\alpha ^{-1/k}-1}}{\Big )}}$, where ${\displaystyle _{2}F_{1}}$ is the hypergeometric function.[12]

### Lognormal distribution

If the payoff of a portfolio ${\displaystyle X}$ follows lognormal distribution, i.e. the random variable ${\displaystyle \ln(1+X)}$ follows normal distribution with the p.d.f. ${\displaystyle f(x)={\frac {1}{{\sqrt {2\pi }}\sigma }}e^{-{\frac {(x-\mu )^{2}}{2\sigma ^{2}}}}}$, then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=1-\exp {\Bigl (}\mu +{\frac {\sigma ^{2}}{2}}{\Bigr )}{\frac {\Phi (\Phi ^{-1}(\alpha )-\sigma )}{\alpha }}}$, where ${\displaystyle \Phi (x)}$ is the standard normal c.d.f., so ${\displaystyle \Phi ^{-1}(\alpha )}$ is the standard normal quantile.[14]

### Log-logistic distribution

If the payoff of a portfolio ${\displaystyle X}$ follows log-logistic distribution, i.e. the random variable ${\displaystyle \ln(1+X)}$ follows logistic distribution with the p.d.f. ${\displaystyle f(x)={\frac {1}{s}}e^{-{\frac {x-\mu }{s}}}{\Bigl (}1+e^{-{\frac {x-\mu }{s}}}{\Bigr )}^{-2}}$, then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=1-{\frac {e^{\mu }}{\alpha }}I_{\alpha }(1+s,1-s){\frac {\pi s}{\sin \pi s}}}$, where ${\displaystyle I_{\alpha }}$ is the regularized incomplete beta function, ${\displaystyle I_{\alpha }(a,b)={\frac {\mathrm {B} _{\alpha }(a,b)}{\mathrm {B} (a,b)}}}$.

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: ${\displaystyle \operatorname {E} S_{\alpha }(X)=1-{\frac {e^{\mu }\alpha ^{s}}{s+1}}{_{2}F_{1}}(s,s+1;s+2;\alpha )}$.[14]

If the loss of a portfolio ${\displaystyle L}$ follows log-logistic distribution with p.d.f. ${\displaystyle f(x)={\frac {{\frac {b}{a}}(x/a)^{b-1}}{(1+(x/a)^{b})^{2}}}}$ and c.d.f. ${\displaystyle F(x)={\frac {1}{1+(x/a)^{-b}}}}$, then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(L)={\frac {a}{1-\alpha }}{\Bigl [}{\frac {\pi }{b}}\csc {\Bigl (}{\frac {\pi }{b}}{\Bigr )}-\mathrm {B} _{\alpha }{\Bigl (}{\frac {1}{b}}+1,1-{\frac {1}{b}}{\Bigr )}{\Bigr ]}}$, where ${\displaystyle B_{\alpha }}$ is the incomplete beta function.[11]

### Log-Laplace distribution

If the payoff of a portfolio ${\displaystyle X}$ follows log-Laplace distribution, i.e. the random variable ${\displaystyle \ln(1+X)}$ follows Laplace distribution the p.d.f. ${\displaystyle f(x)={\frac {1}{2b}}e^{-{\frac {|x-\mu |}{b}}}}$, then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\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)}}{\big [}(1-\alpha )^{(1-b)}-1{\big ]}&{\text{if }}\alpha >0.5.\end{cases}}}$.[14]

### Log-generalized hyperbolic secant (log-GHS) distribution

If the payoff of a portfolio ${\displaystyle X}$ follows log-GHS distribution, i.e. the random variable ${\displaystyle \ln(1+X)}$ follows GHS distribution with the p.d.f. ${\displaystyle f(x)={\frac {1}{2\sigma }}\operatorname {sech} ({\frac {\pi }{2}}{\frac {x-\mu }{\sigma }})}$, then the expected shortfall is equal to ${\displaystyle \operatorname {E} S_{\alpha }(X)=1-{\frac {1}{\alpha (\sigma +{\pi /2})}}{\Big (}\tan {\frac {\pi \alpha }{2}}\exp {\frac {\pi \mu }{2\sigma }}{\Big )}^{2\sigma /\pi }\tan {\frac {\pi \alpha }{2}}{_{2}F_{1}}{\Big (}1,{\frac {1}{2}}+{\frac {\sigma }{\pi }};{\frac {3}{2}}+{\frac {\sigma }{\pi }};-\tan {\big (}{\frac {\pi \alpha }{2}}{\big )}^{2}{\Big )}}$, where ${\displaystyle _{2}F_{1}}$ is the hypergeometric function.[14]

## Dynamic expected shortfall

The conditional version of the expected shortfall at the time t is defined by

${\displaystyle \operatorname {E} S_{\alpha }^{t}(X)=\operatorname {ess\sup } _{Q\in {\mathcal {Q}}_{\alpha }^{t}}E^{Q}[-X\mid {\mathcal {F}}_{t}]}$

where ${\displaystyle {\mathcal {Q}}_{\alpha }^{t}=\{Q=P\,\vert _{{\mathcal {F}}_{t}}:{\frac {dQ}{dP}}\leq \alpha _{t}^{-1}{\text{ a.s.}}\}}$.[15][16]

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}]}$

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\}.}$[17]

Methods of statistical estimation of VaR and ES can be found in Embrechts et al.[18] and Novak.[19] 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.[20]

## References

1. ^ Rockafellar, R. Tyrrell; Uryasev, Stanislav (2000). "Optimization of conditional value-at-risk" (PDF). Journal of Risk. 2 (3): 21–42. doi:10.21314/JOR.2000.038.
2. ^ Rockafellar, R. Tyrrell; Royset, Johannes (2010). "On Buffered Failure Probability in Design and Optimization of Structures" (PDF). Reliability Engineering and System Safety. 95: 499–510.
3. ^ Carlo Acerbi; Dirk Tasche (2002). "Expected Shortfall: a natural coherent alternative to Value at Risk" (PDF). Economic Notes. 31 (2): 379–388. arXiv:cond-mat/0105191. doi:10.1111/1468-0300.00091. Retrieved April 25, 2012.
4. ^ Föllmer, H.; Schied, A. (2008). "Convex and coherent risk measures" (PDF). Retrieved October 4, 2011. Cite journal requires |journal= (help)
5. ^ Patrick Cheridito; Tianhui Li (2008). "Dual characterization of properties of risk measures on Orlicz hearts". Mathematics and Financial Economics. 2: 2–29. doi:10.1007/s11579-008-0013-7.
6. ^ "Average Value at Risk" (PDF). Archived from the original (PDF) on July 19, 2011. Retrieved February 2, 2011.
7. ^ Julia L. Wirch; Mary R. Hardy. "Distortion Risk Measures: Coherence and Stochastic Dominance" (PDF). Archived from the original (PDF) on July 5, 2016. Retrieved March 10, 2012.
8. ^ Balbás, A.; Garrido, J.; Mayoral, S. (2008). "Properties of Distortion Risk Measures" (PDF). Methodology and Computing in Applied Probability. 11 (3): 385. doi:10.1007/s11009-008-9089-z. hdl:10016/14071.
9. ^ Rockafellar, R. Tyrrell; Uryasev, Stanislav (2000). "Optimization of conditional value-at-risk" (PDF). Journal of Risk. 2 (3): 21–42. doi:10.21314/JOR.2000.038.
10. ^ a b c d Khokhlov, Valentyn (2016). "Conditional Value-at-Risk for Elliptical Distributions". Evropský časopis Ekonomiky a Managementu. 2 (6): 70–79.
11. Norton, Matthew; Khokhlov, Valentyn; Uryasev, Stan (2018-11-27). "Calculating CVaR and bPOE for Common Probability Distributions With Application to Portfolio Optimization and Density Estimation". arXiv:1811.11301 [q-fin.RM].
12. ^ a b c d Khokhlov, Valentyn (2018-06-21). "Conditional Value-at-Risk for Uncommon Distributions". SSRN 3200629. Cite journal requires |journal= (help)
13. ^ Stucchi, Patrizia (2011-05-31). "Moment-Based CVaR Estimation: Quasi-Closed Formulas". SSRN 1855986. Cite journal requires |journal= (help)
14. ^ a b c d Khokhlov, Valentyn (2018-06-17). "Conditional Value-at-Risk for Log-Distributions". SSRN 3197929. Cite journal requires |journal= (help)
15. ^ Detlefsen, Kai; Scandolo, Giacomo (2005). "Conditional and dynamic convex risk measures" (PDF). Finance Stoch. 9 (4): 539–561. CiteSeerX 10.1.1.453.4944. doi:10.1007/s00780-005-0159-6. Retrieved October 11, 2011.
16. ^ Acciaio, Beatrice; Penner, Irina (2011). "Dynamic convex risk measures" (PDF). Archived from the original (PDF) on September 2, 2011. Retrieved October 11, 2011. Cite journal requires |journal= (help)
17. ^ Cheridito, Patrick; Kupper, Michael (May 2010). "Composition of time-consistent dynamic monetary risk measures in discrete time" (PDF). International Journal of Theoretical and Applied Finance. Archived from the original (PDF) on July 19, 2011. Retrieved February 4, 2011.
18. ^ Embrechts P., Kluppelberg C. and Mikosch T., Modelling Extremal Events for Insurance and Finance. Springer (1997).
19. ^ Novak S.Y., Extreme value methods with applications to finance. Chapman & Hall/CRC Press (2011). ISBN 978-1-4398-3574-6.
20. ^ Low, R.K.Y.; Alcock, J.; Faff, R.; Brailsford, T. (2013). "Canonical vine copulas in the context of modern portfolio management: Are they worth it?" (PDF). Journal of Banking & Finance. 37 (8): 3085–3099. doi:10.1016/j.jbankfin.2013.02.036.