You are on page 1of 3

VaR Primer with Excel Modeling

Peter ONeill, Thomas Egan and Leslie McNew

Abstract: Despite the use of the value-at-risk (VaR) methodol-


ogy being widespread in finance, many individuals are not
offered the opportunity to understand the methodologies
of the various basic VaR models, the model limitations,
and how to produce a quick VaR model in Excel. This
brief covers a fundamental overview of risk theory, the
Peter ONeill is currently chief risk three most presented VaR model methodologies, historic
officer and head of finance for Uniper and parametric VaR equations, and using VaR to help set
Global Commodities North America. He risk limits and to setallocation of risk capital. The final
has been involved in energy markets
and risk management for almost twenty
portion of the brief is devoted to building both the one-
years, having worked and held roles for factor historic VaR model and the two-factor parametric
various multinational energy firms. VaR model in Excel. This brief is experiential in nature,
allowing the participant to gain a firm understanding of
VaR, the methodologies and limitation of different VaR
models, and how to produce basic VaR models in Excel.

Keywords: Abraham de Moivre, bell-shaped curve, Bernoulli,


Bloomberg, chance, confidence interval, correlation,
deterministic, distribution, dollar amount loss, DOW,
Excel, Gerolamo Cardano, GIGO (garbage in, garbage
Thomas Egan is currently the senior out), Harry Markowitz, histogram, historical VaR, illiquid,
portfolio manager with Trust Company kurtosis, leptokurtic, Monte Carlo, non-normal return,
of Illinois. He has over 30years of
normal distribution, parametric VaR, path-dependent
financial analysis and portfolio
management experience, including pay-offs, portfolio, probability, probability, randomness,
positions with Big Four accounting Risk, risk capital allocation, risk limits, skew, skew, stan-
firms and Fortune 500 companies. dard deviation, stress testing, Thomas Bayes, time period,
transparency, Value at Risk (VaR), VaR limits, volatility,

Executive Summary
Many students enter the workplace with only the ba-
sic knowledge of financial risk, such as Value at Risk
(VaR), which summarizes the expected maximum loss
(or worst case loss) over a target horizon within a single
summary statistic (confidence interval, or standard de-
Leslie McNew is currently the viation). They will state in an interview something like:
managing director of N3Q, MMspire I am 95percent confident that this position (portfolio)
Trading Company and executive will lose no more than $760 K in one day. What they
in residence of the Kania School of sometimes struggle with is:
Management, University of Scranton.
the differences in VaR models and how the differences
She has thirty years of experience in
physical and financial markets and has impact the dollar value of risk;
held senior risk management roles at how VaR horizon periods impact the dollar value of risk;
five Fortune 500 companies.

Expert Insights 1
VaR Primer with Excel Modeling

the properties of a normal curve and what driving force. While in games of chance
does risk look like when the data curve the outcome of an individual trial cannot
is not-normal; be predicted with certainty, the mathema-
how to build a basic VaR model in Excel ticians said, collective results over a long
to use it to check their business models period of time display a certain regularity.
(both historical and parametric); and (https://www.allianz.com/en/about_us
how to do a back of the envelope VaR /open-knowledge/topics/finance/articles
assessment to illustrate risk on the fly: /150723-principles-of-risk/).
like assessing the risk of a new struc- As time progressed into the 18th century,
tured deal and its risk level on the overall Abraham de Moivre discovered the nor-
investment book. mal curve of distribution (the bell curve),
This brief is divided into three parts. which gave the risk science the concept of
Part1 is a simplistic overview of the history standard deviation. The bell-shaped curve
of quantifiable risk. Part 2 reviews the three illustrated how likely it is that a random
types of VaR models and simply addresses process (the key here is the normal distri-
how to use VaR. Part 3 is an experiential bution) becomes a particular value on the
Excel discussion on building a historical x-axis. Values near the peak of the curve
VaR model and a two-factor parametric VaR are the more likely outcome. Values near
model. the edge of the curve, the tail, are less
likely. See Chart 1.
Part 1: Simplistic Background on the
History of Quantifiable Risk Chart 1
The word risk comes from the old Italian
risicare, which translates to to dare. Risk
is not fate; it is an option. Fate meant that
no matter what one did, the gods decided
the outcome. The revolutionary idea that
defines the boundary between modern
times and the past is the mastery of risk:
the notion that the future is more than a
whim of the gods and that men and women Source: http://www.intmath.com/counting
are not passive before nature. 1 Accepting -probability/14-normal-probability
that risk is not fate meant that we can work -distribution.php
to mitigate any outcome, that our future
outcome could be in our hands. Standard deviation provides a view of
The roots of quantifiable risk come clusters of data and how far individual
from the medieval period around 1450 points are away from the mean (the mean
when Gerolamo Cardano, an Italian law- being the highest part of the normal curve).
yer, physician and friend to Leonardo A tight standard deviation states that the
da Vinci, liked to gamble. In order to try data is clustered around the mean of the
and maximize his winnings, he began to curve; a wide or bigger standard deviation
investigate the basic concept of probabil- states that the curve is not as peaked and
ity when throwing dice. His work would has a much flatter, rounded top with values
prove important just over a century later, less likely to be tightly clustered around
in the mid-1660s, when Blaise Pascal and the mean.
Pierre de Fermat defined a method for Every normal curve follows certain
calculating probabilities that enabled fore- probabilities, and these probabilities allow
casting, with gambling once again the us shortcuts to illustrating data and the

2 Expert Insights
VaR Primer with Excel Modeling

likelihood of that data occurring, as can be deviation, then add it to and subtract
seen in Chart 2: it from the mean); and
Almost all of its values (about 99.7 per-
Chart 2 cent of them) lie within three standard
deviations of the mean. (Take three
times the standard deviation and add
it to and subtract it from the mean).
Not long after de Moivres discoveries,
Daniel Bernoulli demonstrated that most
people are risk adverse and concerned
with only downside risk. Thus, given the
normal curve above, Bernoulli stated that
risk aversion meant that people are only
concerned with the left side of the nor-
mal curve. Bernoullis work was ground-
breaking in that he also considered an
individuals motivation when risk was
involved. His emphasis was on decision-
Source: http://www.intmath.com/counting making, rather than on the mathematical
-probability/14-normal-probability-distribution.php intricacies of probability theory . . . Risk
is no longer something to be faced; risk
its shape is symmetric (that is, when you has become a set of opportunities open to
cut it in half the two pieces are mirror im- choice.2
ages of each other); Other mathematicians built upon Ber-
its distribution has a bump in the middle, noullis work throughout the 18th and 19th
with tails going down and out to the left centuries and expanded on theories related
and right; to risk. Thomas Bayes crafted the Bayes
the mean and the median are the same theorem, which dealt with probabilities
and lie directly in the middle of the dis- and knowledge of circumstances related
tribution (due to symmetry); to an event; Carl Gauss delved deeper into
its standard deviation measures the normal distribution curves; and Francis
distance on the distribution from the Galtons work produced the concept of re-
mean to the inflection point (the place version to the mean.
where the curve changes from an However, not all thinking about risk was
upside-down-bowl shape to a right- derived solely from mathematicians nor
side-up-bowl shape); and was all their work accepted as accurate.
because of its unique bell shape, probabili- One of the worlds most famous econo-
ties for the normal distribution follow the mists, John Maynard Keynes, did not agree
Empirical Rule, which says the following: with the quantifiable results of many of
About 68 percent of its values lie within the leading mathematical minds: Percep-
one standard deviation of the mean. To tion of probability, weight, and risk are all
find this range, take the value of the highly dependent on judgment.3 Keynes
standard deviation, then find the mean contemporary, University of Chicago econ-
plus this amount, and the mean minus omist Frank Knight, also questioned the
this amount; alleged certainty of many of the mathemat-
About 95 percent of its values lie within ical models and assumptions viewed at the
two standard deviations of the mean. time with esteem. And they both despised
(Here you take two times the standard the mean statistical view of life.4

Expert Insights 3

You might also like