By Rafael Ballestas | March 26, 2019
"Si vis pacem, para bellum", goes the old adage.
If you want peace, prepare for war.
In our case, the worst possible risky scenario
our information assets could go into.
While probability distributions,
loss exceedance curves,
simulated scenarios, etc,
are all great for the quants in the office,
at the end of the day big, important decisions
need to be supported by single numbers
that can be easily compared to one another.
In risk management, this number is
the Value at Risk or
Fortunately, once you have one you have the other.
VaR measures this scenario
by telling us beyond how much our losses
will not go,
with a certain degree of confidence,
over a definite period of time.
Thus a daily 1%
VaR of $10 million means
that the probability that you will lose more than
ten million is 1%, i.e.,
are 99% confident that the losses
will not exceed that.
So we need to define over what time period
VaR will be taken and
how extreme the worst-case scenario.
Typical periods and confidences used in the industry are
a single day or week, and
confidence levels of 95% or 99%.
There are at least three workable ways to compute the value at risk:
Examining the distribution of the returns,
Using the loss exceedance curve (
The normal distribution is perhaps the most popular one for modeling real-word situations and natural phenomena, and with good reason. It could be used, to model the value of a portfolio over a one-year period, with mean return 10%, and standard deviation (volatility) 30%:
Knowing the probability distribution,
which tells us probabilities of point values,
we can find probabilities of ranges
with the corresponding cumulative distribution function (
a vertically reflected
In a cumulative probability plot
VaR is just the x-value
corresponding to the confidence.
i.e., around 15.8%. The 10 and 30 above are the distribution parameters, and the -20 is the value whose probability we need. Notice that it is negative, meaning a loss. The 1 means to make the computations cumulative.
We can also use the inverse function so that, given a probability, we get the point at which this probabilty is attained. It is the same process as above, but backwards.
At what point is the 1% probability?
More exactly, for which value V
is it true that the probability that
the final value is less than or equal to V is 1%?
That’s just the 1%
This is the 1% quantile,
or the first percentile of the distribution,
the point under which
the remaining 1% of points are,
weighing by the probability.
Thus the Value at Risk in this example will be
59.8% of what we invested.
Had we invested $100 million,
then we know the
VaR is $59.8 million,
and hence that the losses will not exceed that amount
in 99% of the cases, only in that rare 1%.
Notice that the
being a single figure,
does not tell us exactly or otherwise
what the losses might be in that catastrophic 1%.
But if we are ready to lose that much,
we are halfway prepared for the metaphoric war.
The tail (or conditional) value at risk,
CVaR) for short,
tries to fill that void by giving us
the expected value or mean
in the catastrophe region, i.e.,
in case of a
Much like the actual mean of a distribution
is a center of gravity of sorts,
where we could "hold" the
TVaR is thus the expected value of the loss,
given that the
VaR has been surpassed.
In terms of the above analogy,
it is the center of gravity
of the "catastrophe" region of the distribution plot:
TVaR. Via Nematrian.
In our case, since we are mainly interested in cybersecurity risk, which we quantify via simulations, we can always re-run them and aggregate the results differently in order to obtain the density function and recreate the example above. But given that the main result of our simulations was a loss exceedance curve:
We can just use this to obtain the
just like we did with the distribution
This graph is already cumulative,
so there is no need to compute areas under the curve
behind the scenes.
We simply obtain the value in millions corresponding
to the percentage of the scenario in which we are interested.
In this particular graph, the 5% yearly
appears to be $500 million
(recall that this graph has a logarithmic scale in the x-axis).
The 1% is not even visible here,
but at least that tells us that it must be beyond $1000 million.
Monitoring a short-termed
can be usefulto evaluate the performance of risk management
or to understand events from the past:
In the first we see a steady, if slow,
VaR over the years.
Also notice how the returns are almost always
above their corresponding values-at-risk,
save for a few rare breaches,
which is to be expected.
In the image to the right there is
an interesting moment around February 1994,
where there is a sharp decrease in the
after which it pretty much stays stable
under the risk appetite line (dashed).
This phenomenon is explained in Jorion’s book 
as a response to a rise in interest rates at that moment,
which was just as sharp as the decrease in the
However, a decreasing
VaR is not all.
Shying away from investments to keep the
VaR low will,
by symmetry, mean lower chance of great returns:
"A risk manager has two jobs: make people take more risk the 99% of the time it is safe to do so, and survive the other 1% of the time.
VaRis the border."
So, the VaR tells us in a single number
what can happen with an investment or any risky situation
the worst that might happen.
However its greatest strength is also where it falls short.
This particular number,
while it gives an upper bound for the losses,
is also unable to tell us anything else
about what happens in that 1% of the cases.
TVar tries to fill this void,
but it is still just a number,
meaning that it inherits this same weakness.
Corporate member of The OWASP Foundation