A second approach, already mentioned at the beginning, to calculate the VaR is an analytical one. It is only approximate, as its assumptions don’t always hold in practice, but it involves fewer computational steps because it relies on sensitivities and avoids the 1000 × 106 full position pricings. Often it is very close to the VaR obtained in the historical simulation, which makes it a useful sanity-check. It also clearly exposes the relation between the VaR and the sensitivities, volatilities, and correlations. Even more importantly, it provides some helpful analysis tools in dealing with the questions we’re most interested in: How does the VaR react if we change our positions? What risk factors contribute most to the VaR? What is the reason for a particular VaR change?

This small chapter is mathematically the most involved. At first reading, you could also just skip it to avoid getting bogged down. Maybe return to it later if you find, e.g., the VaR-contribution helpful in dealing with the model’s daily operation, as described in Chap. 17 entitled “Nine to Five.” (If you tackle it, you can find some background on multiple randoms, the covariance matrix, and normal quantiles in Appendix A.)

1 Approximate VaR

We start off with our familiar 2200 × 1000 matrix of returns [R] (recall it from Fig. 4.3). It represents, after some rescaling and mirroring, our view of the history of asset or risk factor returns. Each row is associated to a risk factor and represents a historical sample of its returns.

We can also view each risk factor as a normal random variable x i instead and denote all risk factors as

$$\displaystyle \begin{aligned} {\mathbf{X}} =\begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_{2200} \end{pmatrix} . \end{aligned}$$

These random variables have certain properties that can be estimated from their corresponding historical samples. Each x i has a variance \({\mathrm {\mathbb {V}ar}}[x_i]\), and each pair of x i , x j has a covariance \({\mathrm {\mathbb {C}ov}}[x_i,x_j]\). Their estimates form the symmetric covariance matrix [C] .Footnote 1

Now assume that the current price of a position or portfolio is p 0 and that its price under various returns is a function of X, denoted as p(X). We are, as ever, interested in price changes or PnLs, which we can express as

$$\displaystyle \begin{aligned} \varDelta({\mathbf{X}} ) = p({\mathbf{X}} ) - p_0 . \end{aligned}$$

This is a function of the random variables X, and we’d like to get a handle on its volatility, i.e., standard deviation. For this, we first simplify Δ in a first-order Taylor expansion (we’ll soon simply drop the anxious “≈” and let the linearity assumption take over):

$$\displaystyle \begin{aligned} \varDelta({\mathbf{X}} ) \approx p_0 + x_1 \frac{\partial p}{\partial x_1}(0) + x_2 \frac{\partial p}{\partial x_2}(0) + \dots - p_0 . \end{aligned}$$

If we denote the partial derivatives here with d i , we may write:

$$\displaystyle \begin{aligned} \varDelta({\mathbf{X}} ) = d_1 x_1 + d_2 x_2 + \dots \end{aligned}$$

This Δ is a weighted sum of random variables. With \({\mathbf {d}} = \begin {pmatrix} d_1, & d_2, & \dots \end {pmatrix}\), its variance and standard deviation become

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\mathrm{\mathbb{V}ar}}[\varDelta] &\displaystyle =&\displaystyle {\mathbf{d}} [{\mathbf{C}} ] {\mathbf{d}} ^{\top} , \\ {\mathrm{std}}[\varDelta] &\displaystyle =&\displaystyle \sqrt{{\mathrm{\mathbb{V}ar}}[\varDelta]} = \sqrt{ {\mathbf{d}} [{\mathbf{C}} ] {\mathbf{d}} ^{\top} } . \end{array} \end{aligned} $$

Because Δ, as sum of normals, is normal itself, the 1%-quantile or VaRFootnote 2 can now be directly derived from its standard deviation:

$$\displaystyle \begin{aligned} {\mathrm{VaR}}({\mathbf{d}} ) = \sqrt{ {\mathbf{d}} [{\mathbf{C}} ] {\mathbf{d}} ^{\top} } \times (-2.33..) . \end{aligned}$$

We don’t want to compute the partial derivatives. Luckily, for any position or portfolio we usually have ready access to a close relative of their derivatives d i —their sensitivities s i , collected in the vector s. We have already seen that d = 104 s, which gets us the following useful expression for the VaR as a function of our sensitivities:

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\mathrm{VaR}}({\mathbf{s}} ) &\displaystyle =&\displaystyle \sqrt{ (10^4 {\mathbf{s}} ) [{\mathbf{C}} ] (10^4 {\mathbf{s}} ^{\top}) } \times (-2.33..) \\ &\displaystyle =&\displaystyle -2.33.. \times 10^4 \times \sqrt{ {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top} } \\ &\displaystyle =&\displaystyle c \sqrt{ {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top} } . \end{array} \end{aligned} $$

We hereby have a fast way to estimate the VaR for each position or portfolio whose sensitivity vector we know.

(Note: the behavior of this VaR estimate depends on the covariance matrix. If we use rescaled returns to estimate it, this analytical VaR will also be aligned to the most recently observed market volatilities.)

2 VaR-Sensitivity

Our VaR function here is expressed as a single-valued function of all the s i . A natural question to ask is then: how does this VaR change if the underlying sensitivities change (i.e., if our exposures or, effectively, our positions change)? To answer this, we need to look at the partial derivatives of the VaR function itself, called VaR-sensitivities. There is one for each risk factor.

To compute these VaR-sensitivities, let us first denote the vector of partial derivatives of any single-valued vector function f(x) as follows:

$$\displaystyle \begin{aligned} \frac{\partial f}{\partial {\mathbf{x}} } = \begin{pmatrix} \frac{\partial f}{\partial x_1}, \frac{\partial f}{\partial x_2}, \dots \end{pmatrix} . \end{aligned}$$

We recall that for any quadratic form g(x) = x[A]x we have

$$\displaystyle \begin{aligned} \frac{\partial g}{\partial {\mathbf{x}} } = {\mathbf{x}} ([{\mathbf{A}} ]+[{\mathbf{A}} ]^{\top}) . \end{aligned}$$

Mindful that [C] = [C], we proceed to partially differentiate our VaR function by its sensitivities s i :

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\mathbf{v}} ({\mathbf{s}} ) := \frac{\partial {\mathrm{VaR}}}{\partial {\mathbf{s}} } &\displaystyle =&\displaystyle \frac{\partial c \sqrt{ {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top} }}{\partial {\mathbf{s}} } \\ &\displaystyle =&\displaystyle \frac{1}{2} \, c \, \frac{1}{\sqrt{ {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top} }} \, \frac{\partial {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top}}{\partial {\mathbf{s}} } \\ &\displaystyle =&\displaystyle \frac{1}{2} \, c \, \frac{1}{\sqrt{ {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top} }} \, {\mathbf{s}} ([{\mathbf{C}} ]+[{\mathbf{C}} ]^{\top}) \\ &\displaystyle =&\displaystyle c \frac{{\mathbf{s}} [{\mathbf{C}} ]}{\sqrt{ {\mathbf{s}} [{\mathbf{C}} ] {\mathbf{s}} ^{\top} }} . \end{array} \end{aligned} $$

Each entry v i in the vector of VaR-sensitivities v describes by how much the VaR changes if the corresponding sensitivity increases by 1$.

Example

We would like to increase our exposure to asset i. Its sensitivity s i  = −12, 000. The corresponding VaR-sensitivity v i  = −8. Changing the sensitivity by, say, − 1000 $ should then approximately affect the VaR by − 1000 ×−8 = +8000, so we’d expect the (negative) VaR to change by + 8000, decreasing in magnitude.

VaR-sensitivities are handy for quickly assessing the sign and magnitude of the VaR impact due to a prospective change in sensitivities, i.e., in positions. For relatively small sensitivity changes, it is also fairly accurate, but we can just as easily employ an exact, full repricing. The most useful application of VaR-sensitivities, however, is described next.

3 VaR-Contribution

Our expression for the VaR turns out to be a so-called homogeneous function of order 1, since for any scaling factor a we have

$$\displaystyle \begin{aligned} {\mathrm{VaR}}(a {\mathbf{s}} ) = a {\mathrm{VaR}}({\mathbf{s}} ) . \end{aligned}$$

This allows us to write, per Euler’s homogeneous function theorem,

$$\displaystyle \begin{aligned} {\mathrm{VaR}}({\mathbf{s}} ) = s_1 v_1 + s_2 v_2 + \dots \end{aligned}$$

The terms s i v i sum up to the VaR-value; we call such a term the VaR-contribution c i  = s i v i of its risk factor. These VaR-contributions can be positive or negative. Large negative VaR-contributions indicate the risk factors that dominate or drive the VaR’s magnitude. An example for a portfolio whose VaR is driven by the euro/dollar exchange rate is given in Table 17.1.