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 $$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), 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 $$q$$ it ignores the most profitable but unlikely possibilities, while for small values of $$q$$ it focuses on the worst losses. On the other hand, unlike the discounted maximum loss, even for lower values of $$q$$ the expected shortfall does not consider only the single most catastrophic outcome. A value of $$q$$ 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 $$q$$ and is defined to be the mean loss of portfolio value given that a loss is occurring at or below the $$q$$-quantile.

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


 * $$ \operatorname{ES}_\alpha(X) = -\frac{1}{\alpha} \int_0^\alpha \operatorname{VaR}_\gamma(X) \, d\gamma$$

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


 * $$\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)$$

where $$x_\alpha = \inf\{x \in \mathbb{R}: P(X \leq x) \geq \alpha\}=-\operatorname{VaR}_\alpha(X)$$ is the lower $$\alpha$$-quantile and $$1_A(x) = \begin{cases}1 &\text{if }x \in A\\ 0 &\text{else}\end{cases}$$ is the indicator function. Note, that the second term vanishes for random variables with continuous distribution functions.

The dual representation is


 * $$ \operatorname {ES}_\alpha(X) = \inf_{Q \in \mathcal{Q}_\alpha} E^Q[X]$$

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

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

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

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


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

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 $$\operatorname{ES}_q$$ for a few values of $$q$$:

To see how these values were calculated, consider the calculation of $$\operatorname{ES}_{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 $$\operatorname{ES}_{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


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

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

As a final example, calculate $$-\operatorname{ES}_1$$. This is the expectation over all cases, or


 * $$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.

Properties
The expected shortfall $$\operatorname{ES}_q$$ increases as $$q$$ decreases.

The 100%-quantile expected shortfall $$\operatorname{ES}_{1}$$ equals negative of the expected value of the portfolio.

For a given portfolio, the expected shortfall $$\operatorname{ES}_q$$ is greater than or equal to the Value at Risk $$\operatorname{VaR}_q$$ at the same $$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. 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 $$F_{\alpha}(w,\gamma)$$ for the expected shortfall:$$ F_\alpha(w,\gamma) = \gamma + {1\over{1-\alpha}} \int_{\ell(w,x)\geq \gamma} \left[\ell(w,x)-\gamma\right]_{+} p(x) \, dx$$Where $$\gamma = \operatorname{VaR}_\alpha(X)$$ and $$\ell(w,x)$$ is a loss function for a set of portfolio weights $$w\in\mathbb{R}^p$$ to be applied to the returns. Rockafellar/Uryasev proved that $$F_\alpha(w,\gamma)$$ is convex with respect to $$\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 $$J$$ simulations of the portfolio constituents; this is often done using copulas. With these simulations in hand, the auxiliary function may be approximated by:$$\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:$$\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,\; z_j \geq 0$$ Finally, choosing a linear loss function $$\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 $$X$$ or a corresponding loss $$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 $$-\operatorname{VaR}_\alpha (X)$$:


 * $$\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 $\alpha$ in this case are 5% and 1%.

For engineering or actuarial applications it is more common to consider the distribution of losses $$L = -X$$, the expected shortfall in this case corresponds to the right-tail conditional expectation above $$\operatorname{VaR}_\alpha (L)$$ and the typical values of $$\alpha$$ are 95% and 99%:


 * $$\operatorname {ES}_\alpha(L)

= \operatorname E[L\mid L \geq \operatorname{VaR}_\alpha(L)] = \frac{1}{1-\alpha} \int^1_\alpha \operatorname{VaR}_\gamma(L) \, d\gamma = \frac{1}{1-\alpha} \int^{+\infty}_{\operatorname{VaR}_\alpha(L)} 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:


 * $$ \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 $$X$$ follows the normal (Gaussian) distribution with p.d.f. $$f(x) = \frac{1}{\sqrt{2\pi}\sigma}e^{-\frac{(x-\mu)^2}{2\sigma^2}}$$ then the expected shortfall is equal to $$\operatorname{ES}_\alpha(X) = -\mu+\sigma\frac{\varphi(\Phi^{-1}(\alpha))}{\alpha}$$, where $$\varphi(x)=\frac{1}{\sqrt{2\pi}}e^{-\frac{x^2}{2}}$$ is the standard normal p.d.f., $$\Phi(x)$$ is the standard normal c.d.f., so $$\Phi^{-1}(\alpha)$$ is the standard normal quantile.

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

Generalized Student's t-distribution
If the payoff of a portfolio $$X$$ follows the generalized Student's t-distribution with p.d.f. $$f(x) = \frac{\Gamma\left(\frac{\nu+1}{2}\right)}{\Gamma\left(\frac{\nu}{2} \right) \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 $$\operatorname{ES}_\alpha(X) = -\mu+\sigma\frac{\nu+(\Tau^{-1}(\alpha))^2}{\nu-1}\frac{\tau(\Tau^{-1}(\alpha))}{\alpha}$$, where $$\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., $$\Tau(x)$$ is the standard t-distribution c.d.f., so $$\Tau^{-1}(\alpha)$$ is the standard t-distribution quantile.

If the loss of a portfolio $$L$$ follows generalized Student's t-distribution, the expected shortfall is equal to $$\operatorname{ES}_\alpha(L) = \mu+\sigma\frac{\nu+(\Tau^{-1}(\alpha))^2}{\nu-1}\frac{\tau(\Tau^{-1}(\alpha))}{1-\alpha}$$.

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


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

and the c.d.f.


 * $$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 $$\operatorname{ES}_\alpha(X) = -\mu + b(1 - \ln 2\alpha)$$ for $$\alpha \le 0.5$$.

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


 * $$\operatorname{ES}_\alpha(L) = \begin{cases}

\mu + b \frac{\alpha}{1-\alpha} (1-\ln2\alpha) & \text{if }\alpha < 0.5,\\[4pt] \mu + b[1 - \ln(2(1-\alpha))] & \text{if }\alpha \ge 0.5. \end{cases}$$

Logistic distribution
If the payoff of a portfolio $$X$$ follows the logistic distribution with p.d.f. $$f(x) = \frac{1}{s} e^{-\frac{x-\mu}{s}}\left(1+e^{-\frac{x-\mu}{s}}\right)^{-2}$$ and the c.d.f. $$F(x) = \left(1+e^{-\frac{x-\mu}{s}}\right)^{-1}$$ then the expected shortfall is equal to $$\operatorname{ES}_\alpha(X) = -\mu + s \ln\frac{(1-\alpha)^{1-\frac{1}{\alpha}}}{\alpha}$$.

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

Exponential distribution
If the loss of a portfolio $$L$$ follows the exponential distribution with p.d.f. $$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. $$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 $$\operatorname{ES}_\alpha(L) = \frac{-\ln(1-\alpha)+1}{\lambda}$$.

Pareto distribution
If the loss of a portfolio $$L$$ follows the Pareto distribution with p.d.f. $$f(x) = \begin{cases} \frac{a x_m^a}{x^{a+1}} & \text{if }x \geq x_m,\\ 0 & \text{if }x < x_m. \end{cases}$$ and the c.d.f. $$F(x) = \begin{cases} 1 - (x_m/x)^a & \text{if }x \geq x_m,\\ 0 & \text{if }x < x_m. \end{cases}$$ then the expected shortfall is equal to $$\operatorname{ES}_\alpha(L) = \frac{x_m a}{(1-\alpha)^{1/a}(a-1)}$$.

Generalized Pareto distribution (GPD)
If the loss of a portfolio $$L$$ follows the GPD with p.d.f.


 * $$f(x) = \frac{1}{s} \left( 1+\frac{\xi (x-\mu)}{s} \right)^{\left(-\frac{1}{\xi}-1\right)}$$

and the c.d.f.


 * $$F(x) = \begin{cases}

1 - \left(1+\frac{\xi(x-\mu)}{s}\right)^{-1 /\xi} & \text{if }\xi \ne 0,\\ 1-\exp \left( -\frac{x-\mu}{s} \right) & \text{if }\xi = 0. \end{cases}$$

then the expected shortfall is equal to


 * $$\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 \ne 0,\\ \mu + s \left[1 - \ln(1-\alpha) \right] & \text{if }\xi = 0, \end{cases}$$

and the VaR is equal to


 * $$ \operatorname{VaR}_\alpha(L) = \begin{cases}

\mu + s \frac{(1-\alpha)^{-\xi}-1}{\xi} & \text{if }\xi \ne 0,\\ \mu - s \ln(1-\alpha) & \text{if }\xi = 0. \end{cases}$$

Weibull distribution
If the loss of a portfolio $$L$$ follows the Weibull distribution with p.d.f. $$f(x) = \begin{cases} \frac{k}{\lambda} \left(\frac{x}{\lambda}\right)^{k-1} e^{-(x/\lambda)^k} & \text{if }x \geq 0,\\ 0 & \text{if }x < 0. \end{cases}$$ and the c.d.f. $$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 $$\operatorname{ES}_\alpha(L) = \frac{\lambda}{1-\alpha} \Gamma\left(1+\frac{1}{k},-\ln(1-\alpha)\right)$$, where $$\Gamma(s,x)$$ is the upper incomplete gamma function.

Generalized extreme value distribution (GEV)
If the payoff of a portfolio $$X$$ follows the GEV with p.d.f. $$f(x) = \begin{cases} \frac{1}{\sigma} \left( 1+\xi \frac{ x-\mu}{\sigma} \right)^{-\frac{1}{\xi}-1} \exp\left[-\left( 1 + \xi \frac{x-\mu}{\sigma} \right)^{-{1}/{\xi}}\right] & \text{if } \xi \ne 0,\\ \frac{1}{\sigma}e^{-\frac{x-\mu}{\sigma}}e^{-e^{-\frac{x-\mu}{\sigma}}} & \text{if } \xi = 0. \end{cases}$$ and c.d.f. $$F(x) = \begin{cases} \exp\left(-\left(1+\xi\frac{x-\mu}{\sigma}\right)^{-{1}/{\xi}}\right) & \text{if }\xi \ne 0,\\ \exp\left(-e^{-\frac{x-\mu}{\sigma}}\right) & \text{if }\xi = 0. \end{cases}$$ then the expected shortfall is equal to $$\operatorname{ES}_\alpha(X) = \begin{cases} -\mu - \frac{\sigma}{\alpha \xi} \big[ \Gamma(1-\xi,-\ln\alpha)-\alpha \big] & \text{if }\xi \ne 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 $$\operatorname{VaR}_\alpha(X) = \begin{cases} -\mu - \frac{\sigma}{\xi} \left[(-\ln \alpha)^{-\xi}-1 \right] & \text{if }\xi \ne 0,\\ -\mu + \sigma \ln(-\ln\alpha) & \text{if }\xi = 0. \end{cases}$$, where $$\Gamma(s,x)$$ is the upper incomplete gamma function, $$\mathrm{li}(x) = \int \frac{dx}{\ln x}$$ is the logarithmic integral function.

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

Generalized hyperbolic secant (GHS) distribution
If the payoff of a portfolio $$X$$ follows the GHS distribution with p.d.f. $$f(x) = \frac{1}{2 \sigma} \operatorname{sech}\left(\frac{\pi}{2} \frac{x-\mu}{\sigma}\right)$$and the c.d.f. $$F(x) = \frac{2}{\pi}\arctan\left[\exp\left(\frac{\pi}{2}\frac{x-\mu}{\sigma}\right)\right]$$ then the expected shortfall is equal to $$\operatorname{ES}_\alpha(X) = - \mu - \frac{2\sigma}{\pi} \ln\left( \tan \frac{\pi\alpha}{2} \right) - \frac{2\sigma}{\pi^2\alpha}i\left[\operatorname{Li}_2\left(-i\tan\frac{\pi\alpha}{2}\right)-\operatorname{Li}_2\left(i\tan\frac{\pi\alpha}{2}\right)\right]$$, where $$\operatorname{Li}_2$$ is the dilogarithm and $$i=\sqrt{-1}$$ is the imaginary unit.

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

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

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

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

Log-logistic distribution
If the payoff of a portfolio $$X$$ follows log-logistic distribution, i.e. the random variable $$\ln(1+X)$$ follows the logistic distribution with p.d.f. $$f(x) = \frac{1}{s} e^{-\frac{x-\mu}{s}} \left(1+e^{-\frac{x-\mu}{s}}\right)^{-2}$$, then the expected shortfall is equal to $$\operatorname{ES}_\alpha(X) = 1-\frac{e^\mu}{\alpha}I_\alpha(1+s,1-s)\frac{\pi s}{\sin\pi s}$$, where $$I_\alpha$$ is the regularized incomplete beta function, $$I_\alpha(a,b)=\frac{\Beta_\alpha(a,b)}{\Beta(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: $$\operatorname{ES}_\alpha(X) = 1-\frac{e^\mu \alpha^s}{s+1} {_2F_1}(s,s+1;s+2;\alpha)$$.

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

Log-Laplace distribution
If the payoff of a portfolio $$X$$ follows log-Laplace distribution, i.e. the random variable $$\ln(1+X)$$ follows the Laplace distribution the p.d.f. $$f(x) = \frac{1}{2b}e^{-\frac{|x-\mu|}{b}}$$, then the expected shortfall is equal to


 * $$\operatorname{ES}_\alpha(X) = \begin{cases}

1 - \frac{e^\mu (2\alpha)^b}{b+1} & \text{if }\alpha \le 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}$$

Log-generalized hyperbolic secant (log-GHS) distribution
If the payoff of a portfolio $$X$$ follows log-GHS distribution, i.e. the random variable $$\ln(1+X)$$ follows the GHS distribution with p.d.f. $$f(x) = \frac{1}{2 \sigma} \operatorname{sech} \left(\frac{\pi}{2}\frac{x-\mu}{\sigma}\right)$$, then the expected shortfall is equal to


 * $$\operatorname{ES}_\alpha(X) = 1 - \frac{1}{\alpha(\sigma+{\pi/2})} \left(\tan\frac{\pi \alpha}{2}\exp\frac{\pi \mu}{2\sigma}\right)^{2\sigma/\pi} \tan\frac{\pi \alpha}{2} {_2F_1}\left(1,\frac{1}{2}+\frac{\sigma}{\pi};\frac{3}{2}+\frac{\sigma}{\pi};-\tan\left(\frac{\pi \alpha}{2}\right)^2\right),$$

where $$_2F_1$$ is the hypergeometric function.

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


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

where $$\mathcal{Q}_{\alpha}^t = \left\{Q = P\,\vert_{\mathcal{F}_t}: \frac{dQ}{dP} \leq \alpha_t^{-1} \text{ a.s.}\right\} $$.

This is not a time-consistent risk measure. The time-consistent version is given by
 * $$\rho_{\alpha}^t(X) = \operatorname{ess\sup}_{Q \in \tilde{\mathcal{Q}}_{\alpha}^t} E^Q[-X\mid\mathcal{F}_t]$$

such that
 * $$\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\}.$$