Finance:Entropic value at risk

From HandWiki

In financial mathematics and stochastic optimization, the concept of risk measure is used to quantify the risk involved in a random outcome or risk position. Many risk measures have hitherto been proposed, each having certain characteristics. The entropic value at risk (EVaR) is a coherent risk measure introduced by Ahmadi-Javid,[1][2] which is an upper bound for the value at risk (VaR) and the conditional value at risk (CVaR), obtained from the Chernoff inequality. The EVaR can also be represented by using the concept of relative entropy. Because of its connection with the VaR and the relative entropy, this risk measure is called "entropic value at risk". The EVaR was developed to tackle some computational inefficiencies[clarification needed] of the CVaR. Getting inspiration from the dual representation of the EVaR, Ahmadi-Javid[1][2] developed a wide class of coherent risk measures, called g-entropic risk measures. Both the CVaR and the EVaR are members of this class.

Definition

Let [math]\displaystyle{ (\Omega,\mathcal{F},P) }[/math] be a probability space with [math]\displaystyle{ \Omega }[/math] a set of all simple events, [math]\displaystyle{ \mathcal{F} }[/math] a [math]\displaystyle{ \sigma }[/math]-algebra of subsets of [math]\displaystyle{ \Omega }[/math] and [math]\displaystyle{ P }[/math] a probability measure on [math]\displaystyle{ \mathcal{F} }[/math]. Let [math]\displaystyle{ X }[/math] be a random variable and [math]\displaystyle{ \mathbf{L}_{M^+} }[/math] be the set of all Borel measurable functions [math]\displaystyle{ X:\Omega\to\R }[/math] whose moment-generating function [math]\displaystyle{ M_X(z) }[/math] exists for all [math]\displaystyle{ z\geq 0 }[/math]. The entropic value at risk (EVaR) of [math]\displaystyle{ X\in \mathbf{L}_{M^+} }[/math] with confidence level [math]\displaystyle{ 1-\alpha }[/math] is defined as follows:

[math]\displaystyle{ \text{EVaR}_{1-\alpha}(X):=\inf_{z\gt 0} \left \{z^{-1}\ln \left (\frac{M_X(z)}{\alpha} \right ) \right \}. }[/math]

 

 

 

 

(1)

In finance, the random variable [math]\displaystyle{ X \in \mathbf{L}_{M^+}, }[/math] in the above equation, is used to model the losses of a portfolio.

Consider the Chernoff inequality

[math]\displaystyle{ \Pr(X\geq a)\leq e^{-za}M_X(z),\quad \forall z\gt 0. }[/math]

 

 

 

 

(2)

Solving the equation [math]\displaystyle{ e^{-za}M_X(z)=\alpha }[/math] for [math]\displaystyle{ a, }[/math] results in

[math]\displaystyle{ a_X(\alpha,z):=z^{-1}\ln \left (\frac{M_X(z)}{\alpha} \right ). }[/math]

By considering the equation (1), we see that

[math]\displaystyle{ \text{EVaR}_{1-\alpha}(X):=\inf_{z\gt 0}\{a_X(\alpha,z)\}, }[/math]

which shows the relationship between the EVaR and the Chernoff inequality. It is worth noting that [math]\displaystyle{ a_X(1,z) }[/math] is the entropic risk measure or exponential premium, which is a concept used in finance and insurance, respectively.

Let [math]\displaystyle{ \mathbf{L}_{M} }[/math] be the set of all Borel measurable functions [math]\displaystyle{ X:\Omega\to \R }[/math] whose moment-generating function [math]\displaystyle{ M_X(z) }[/math] exists for all [math]\displaystyle{ z }[/math]. The dual representation (or robust representation) of the EVaR is as follows:

[math]\displaystyle{ \text{EVaR}_{1-\alpha}(X)=\sup_{Q\in \Im}(E_Q(X)), }[/math]

 

 

 

 

(3)

where [math]\displaystyle{ X\in \mathbf{L}_{M}, }[/math] and [math]\displaystyle{ \Im }[/math] is a set of probability measures on [math]\displaystyle{ (\Omega,\mathcal{F}) }[/math] with [math]\displaystyle{ \Im=\{Q\ll P:D_{KL}(Q||P)\leq-\ln\alpha\} }[/math]. Note that

[math]\displaystyle{ D_{KL}(Q||P):=\int\frac{dQ}{dP}\left (\ln\frac{dQ}{dP} \right )dP }[/math]

is the relative entropy of [math]\displaystyle{ Q }[/math] with respect to [math]\displaystyle{ P, }[/math] also called the Kullback–Leibler divergence. The dual representation of the EVaR discloses the reason behind its naming.

Properties

  • The EVaR is a coherent risk measure.
  • The moment-generating function [math]\displaystyle{ M_X(z) }[/math] can be represented by the EVaR: for all [math]\displaystyle{ X\in \mathbf{L}_{M^+} }[/math] and [math]\displaystyle{ z\gt 0 }[/math]

[math]\displaystyle{ M_X(z)=\sup_{0\lt \alpha\leq 1}\{\alpha\exp(z\text{EVaR}_{1-\alpha}(X))\}. }[/math]

 

 

 

 

(4)

  • For [math]\displaystyle{ X,Y\in\mathbf{L}_M }[/math], [math]\displaystyle{ \text{EVaR}_{1-\alpha}(X)=\text{EVaR}_{1-\alpha}(Y) }[/math] for all [math]\displaystyle{ \alpha\in]0,1] }[/math] if and only if [math]\displaystyle{ F_X(b)=F_Y(b) }[/math] for all [math]\displaystyle{ b\in\R }[/math].
  • The entropic risk measure with parameter [math]\displaystyle{ \theta, }[/math] can be represented by means of the EVaR: for all [math]\displaystyle{ X\in \mathbf{L}_{M^+} }[/math] and [math]\displaystyle{ \theta\gt 0 }[/math]

[math]\displaystyle{ \theta^{-1}\ln M_X(\theta)=a_X(1,\theta)=\sup_{0\lt \alpha\leq 1}\{\text{EVaR}_{1-\alpha}(X)+\theta^{-1}\ln\alpha\}. }[/math]

 

 

 

 

(5)

  • The EVaR with confidence level [math]\displaystyle{ 1-\alpha }[/math] is the tightest possible upper bound that can be obtained from the Chernoff inequality for the VaR and the CVaR with confidence level [math]\displaystyle{ 1 - \alpha }[/math];

[math]\displaystyle{ \text{VaR}(X)\leq \text{CVaR}(X)\leq\text{EVaR}(X). }[/math]

 

 

 

 

(6)

  • The following inequality holds for the EVaR:

[math]\displaystyle{ \text{E}(X)\leq\text{EVaR}_{1-\alpha}(X)\leq\text{esssup}(X) }[/math]

 

 

 

 

(7)

where [math]\displaystyle{ \text{E}(X) }[/math] is the expected value of [math]\displaystyle{ X }[/math] and [math]\displaystyle{ \text{esssup}(X) }[/math] is the essential supremum of [math]\displaystyle{ X }[/math], i.e., [math]\displaystyle{ \inf_{t\in\R}\{t:\Pr(X\leq t)=1\} }[/math]. So do hold [math]\displaystyle{ \text{EVaR}_0(X)=\text{E}(X) }[/math] and [math]\displaystyle{ \lim_{\alpha\to 0}\text{EVaR}_{1-\alpha}(X)=\text{esssup}(X) }[/math].

Examples

Comparing the VaR, CVaR and EVaR for the standard normal distribution
Comparing the VaR, CVaR and EVaR for the uniform distribution over the interval (0,1)

For [math]\displaystyle{ X\sim N(\mu,\sigma^2), }[/math]

[math]\displaystyle{ \text{EVaR}_{1-\alpha}(X)=\mu+\sigma\sqrt{-2\ln\alpha}. }[/math]

 

 

 

 

(8)

For [math]\displaystyle{ X\sim U(a,b), }[/math]

[math]\displaystyle{ \text{EVaR}_{1-\alpha}(X)=\inf_{t\gt 0}\left\lbrace t\ln\left(t\frac{e^{t^{-1}b}-e^{t^{-1}a}}{b-a}\right)-t\ln\alpha \right\rbrace. }[/math]

 

 

 

 

(9)

Figures 1 and 2 show the comparing of the VaR, CVaR and EVaR for [math]\displaystyle{ N(0,1) }[/math] and [math]\displaystyle{ U(0,1) }[/math].

Optimization

Let [math]\displaystyle{ \rho }[/math] be a risk measure. Consider the optimization problem

[math]\displaystyle{ \min_{\boldsymbol{w}\in \boldsymbol{W}}\rho(G(\boldsymbol{w},\boldsymbol{\psi})), }[/math]

 

 

 

 

(10)

where [math]\displaystyle{ \boldsymbol{w}\in\boldsymbol{W}\subseteq\R^n }[/math] is an [math]\displaystyle{ n }[/math]-dimensional real decision vector, [math]\displaystyle{ \boldsymbol{\psi} }[/math] is an [math]\displaystyle{ m }[/math]-dimensional real random vector with a known probability distribution and the function [math]\displaystyle{ G(\boldsymbol{w},.) :\R^m\to\R }[/math] is a Borel measurable function for all values [math]\displaystyle{ \boldsymbol{w}\in\boldsymbol{W}. }[/math] If [math]\displaystyle{ \rho=\text{EVaR}, }[/math] then the optimization problem (10) turns into:

[math]\displaystyle{ \min_{\boldsymbol{w}\in\boldsymbol{W}, t\gt 0} \left \{t\ln M_{G(\boldsymbol{w},\boldsymbol{\psi})}(t^{-1})-t\ln\alpha \right \}. }[/math]

 

 

 

 

(11)

Let [math]\displaystyle{ \boldsymbol{S}_{\boldsymbol{\psi}} }[/math] be the support of the random vector [math]\displaystyle{ \boldsymbol{\psi}. }[/math] If [math]\displaystyle{ G(.,\boldsymbol{s}) }[/math] is convex for all [math]\displaystyle{ \boldsymbol{s}\in\boldsymbol{S}_{\boldsymbol{\psi}} }[/math], then the objective function of the problem (11) is also convex. If [math]\displaystyle{ G(\boldsymbol{w},\boldsymbol{\psi}) }[/math] has the form

[math]\displaystyle{ G(\boldsymbol{w},\boldsymbol{\psi})=g_0(\boldsymbol{w})+\sum_{i=1}^mg_i(\boldsymbol{w})\psi_i,\qquad g_i:\R^n\to\R, i=0,1,\ldots,m, }[/math]

 

 

 

 

(12)

and [math]\displaystyle{ \psi_1,\ldots,\psi_m }[/math] are independent random variables in [math]\displaystyle{ \mathbf{L}_M }[/math], then (11) becomes

[math]\displaystyle{ \min_{\boldsymbol{w}\in\boldsymbol{W}, t\gt 0}\left\lbrace g_0(\boldsymbol{w})+t\sum_{i=1}^m\ln M_{g_i(\boldsymbol{w})\psi_i}(t^{-1})-t \ln \alpha \right\rbrace. }[/math]

 

 

 

 

(13)

which is computationally tractable. But for this case, if one uses the CVaR in problem (10), then the resulting problem becomes as follows:

[math]\displaystyle{ \min_{\boldsymbol{w}\in\boldsymbol{W}, t\in\R}\left\lbrace t+\frac{1}{\alpha}\text{E}\left[ g_0(\boldsymbol{w})+ \sum_{i=1}^{m} g_i(\boldsymbol{w}) \psi_i-t \right]_+ \right\rbrace. }[/math]

 

 

 

 

(14)

It can be shown that by increasing the dimension of [math]\displaystyle{ \psi }[/math], problem (14) is computationally intractable even for simple cases. For example, assume that [math]\displaystyle{ \psi_1,\ldots,\psi_m }[/math] are independent discrete random variables that take [math]\displaystyle{ k }[/math] distinct values. For fixed values of [math]\displaystyle{ \boldsymbol{w} }[/math] and [math]\displaystyle{ t, }[/math] the complexity of computing the objective function given in problem (13) is of order [math]\displaystyle{ mk }[/math] while the computing time for the objective function of problem (14) is of order [math]\displaystyle{ k^m }[/math]. For illustration, assume that [math]\displaystyle{ k=2, m=100 }[/math] and the summation of two numbers takes [math]\displaystyle{ 10^{-12} }[/math] seconds. For computing the objective function of problem (14) one needs about [math]\displaystyle{ 4\times 10^{10} }[/math] years, whereas the evaluation of objective function of problem (13) takes about [math]\displaystyle{ 10^{-10} }[/math] seconds. This shows that formulation with the EVaR outperforms the formulation with the CVaR (see [2] for more details).

Generalization (g-entropic risk measures)

Drawing inspiration from the dual representation of the EVaR given in (3), one can define a wide class of information-theoretic coherent risk measures, which are introduced in.[1][2] Let [math]\displaystyle{ g }[/math] be a convex proper function with [math]\displaystyle{ g(1)=0 }[/math] and [math]\displaystyle{ \beta }[/math] be a non-negative number. The [math]\displaystyle{ g }[/math]-entropic risk measure with divergence level [math]\displaystyle{ \beta }[/math] is defined as

[math]\displaystyle{ \text{ER}_{g,\beta}(X):=\sup_{Q\in\Im}\text{E}_Q(X) }[/math]

 

 

 

 

(15)

where [math]\displaystyle{ \Im=\{Q\ll P:H_g(P,Q)\leq\beta\} }[/math] in which [math]\displaystyle{ H_g(P,Q) }[/math] is the generalized relative entropy of [math]\displaystyle{ Q }[/math] with respect to [math]\displaystyle{ P }[/math]. A primal representation of the class of [math]\displaystyle{ g }[/math]-entropic risk measures can be obtained as follows:

[math]\displaystyle{ \text{ER}_{g,\beta}(X)=\inf_{t\gt 0,\mu\in\R}\left\lbrace t\left[ \mu+\text{E}_P\left( g^*\left( \frac{X}{t}-\mu+\beta \right) \right) \right] \right\rbrace }[/math]

 

 

 

 

(16)

where [math]\displaystyle{ g^* }[/math] is the conjugate of [math]\displaystyle{ g }[/math]. By considering

[math]\displaystyle{ g(x)=\begin{cases} x\ln x & x\gt 0 \\ 0 & x=0 \\ +\infty & x\lt 0 \end{cases} }[/math]

 

 

 

 

(17)

with [math]\displaystyle{ g^*(x)=e^{x-1} }[/math] and [math]\displaystyle{ \beta=- \ln\alpha }[/math], the EVaR formula can be deduced. The CVaR is also a [math]\displaystyle{ g }[/math]-entropic risk measure, which can be obtained from (16) by setting

[math]\displaystyle{ g(x)= \begin{cases} 0 & 0\leq x\leq \frac{1}{\alpha} \\ +\infty & \text{otherwise}\end{cases} }[/math]

 

 

 

 

(18)

with [math]\displaystyle{ g^*(x)=\tfrac{1}{\alpha}\max\{0,x\} }[/math] and [math]\displaystyle{ \beta=0 }[/math] (see [1][3] for more details).

For more results on [math]\displaystyle{ g }[/math]-entropic risk measures see.[4]

Disciplined Convex Programming Framework

The disciplined convex programming framework of sample EVaR was proposed by Cajas[5] and has the following form:

[math]\displaystyle{ \begin{aligned} \text{EVaR}_{\alpha} (X) & = \left \{ \begin{array}{ll} \underset{z, \, t, \, u}{\text{min}} & t + z \ln \left ( \frac{1}{\alpha T} \right ) \\ \text{s.t.} & z \geq \sum^{T}_{j=1} u_{j} \\ & (X_{j}-t, z, u_{j}) \in K_{\text{exp}} \; \forall \; j =1, \ldots, T \\ \end{array} \right . \end{aligned} }[/math]

 

 

 

 

(19)

where [math]\displaystyle{ z }[/math], [math]\displaystyle{ t }[/math] and [math]\displaystyle{ u }[/math] are variables; [math]\displaystyle{ K_{\text{exp}} }[/math] is an exponential cone;[6] and [math]\displaystyle{ T }[/math] is the number of observations. If we define [math]\displaystyle{ w }[/math] as the vector of weights for [math]\displaystyle{ N }[/math] assets, [math]\displaystyle{ r }[/math] the matrix of returns and [math]\displaystyle{ \mu }[/math] the mean vector of assets, we can posed the minimization of the expected EVaR given a level of expected portfolio return [math]\displaystyle{ \bar{\mu} }[/math] as follows.

[math]\displaystyle{ \begin{aligned} & \underset{w, \, z, \, t, \, u}{\text{min}} & & t + z \ln \left ( \frac{1}{\alpha T} \right ) \\ & \text{s.t.} & & \mu w^{\tau} \geq \bar{\mu} \\ & & & \sum_{i=1}^{N} w_i = 1 \\ & & & z \geq \sum^{T}_{j=1} u_{j} \\ & & & (-r_{j}w^{\tau}-t, z, u_{j}) \in K_{\text{exp}} \; \forall \; j=1, \ldots, T \\ & & & w_i \geq 0 \; ; \; \forall \; i =1, \ldots, N \\ \end{aligned} }[/math]

 

 

 

 

(20)

Applying the disciplined convex programming framework of EVaR to uncompounded cumulative returns distribution, Cajas[5] proposed the entropic drawdown at risk(EDaR) optimization problem. We can posed the minimization of the expected EDaR given a level of expected return [math]\displaystyle{ \bar{\mu} }[/math] as follows:

[math]\displaystyle{ \begin{aligned} & \underset{w, \, z, \, t, \, u, \, d}{\text{min}} & & t + z \ln \left ( \frac{1}{\alpha T} \right ) \\ & \text{s.t.} & & \mu w^{\tau} \geq \bar{\mu} \\ & & & \sum_{i=1}^{N} w_i = 1 \\ & & & z \geq \sum^{T}_{j=1} u_{j} \\ & & & (d_{j} - R_{j} w^{\tau} - t, z, u_{j}) \in K_{\text{exp}} \; \forall \; j =1, \ldots, T \\ & & & d_{j} \geq R_{j} w^{\tau} \; \forall \; j=1, \ldots, T \\ & & & d_{j} \geq d_{j-1} \; \forall \; j=1, \ldots, T \\ & & & d_{j} \geq 0 \; \forall \; j=1, \ldots, T \\ & & & d_{0} = 0 \\ & & & w_{i} \geq 0 \; ; \; \forall \; i =1, \ldots, N \\ \end{aligned} }[/math]

 

 

 

 

(21)

where [math]\displaystyle{ d }[/math] is a variable that represent the uncompounded cumulative returns of portfolio and [math]\displaystyle{ R }[/math] is the matrix of uncompounded cumulative returns of assets.

For other problems like risk parity, maximization of return/risk ratio or constraints on maximum risk levels for EVaR and EDaR, you can see [5] for more details.

The advantage of model EVaR and EDaR using a disciplined convex programming framework, is that we can use softwares like CVXPY [7] or MOSEK[8] to model this portfolio optimization problems. EVaR and EDaR are implemented in the python package Riskfolio-Lib.[9]

See also

References

  1. 1.0 1.1 1.2 1.3 Ahmadi-Javid, Amir (2011). "An information-theoretic approach to constructing coherent risk measures". 2011 IEEE International Symposium on Information Theory Proceedings. St. Petersburg, Russia: Proceedings of IEEE International Symposium on Information Theory. pp. 2125–2127. doi:10.1109/ISIT.2011.6033932. ISBN 978-1-4577-0596-0. 
  2. 2.0 2.1 2.2 2.3 Ahmadi-Javid, Amir (2012). "Entropic value-at-risk: A new coherent risk measure". Journal of Optimization Theory and Applications 155 (3): 1105–1123. doi:10.1007/s10957-011-9968-2. 
  3. Ahmadi-Javid, Amir (2012). "Addendum to: Entropic Value-at-Risk: A New Coherent Risk Measure". Journal of Optimization Theory and Applications 155 (3): 1124–1128. doi:10.1007/s10957-012-0014-9. 
  4. Breuer, Thomas; Csiszar, Imre (2013). "Measuring Distribution Model Risk". arXiv:1301.4832v1 [q-fin.RM].
  5. 5.0 5.1 5.2 Cajas, Dany (24 February 2021). Entropic Portfolio Optimization: a Disciplined Convex Programming Framework. doi:10.2139/ssrn.3792520. 
  6. Chares, Robert (2009). "Cones and interior-point algorithms for structured convex optimization involving powers andexponentials" (in en). 
  7. "CVXPY". http://cvxpy.org. 
  8. "MOSEK". https://www.mosek.com. 
  9. "Riskfolio-Lib". 18 July 2022. https://github.com/dcajasn/Riskfolio-Lib.