(VCV) Value at Risk Example: Calculating Variance Covariance
(VCV) Value at Risk Example: Calculating Variance Covariance
(VCV) Value at Risk Example: Calculating Variance Covariance
The first step for any of the VaR approaches is the determination of the return
series. This is achieved by taking the natural logarithm of the ratio of successive
prices as shown in Figure 2. AN alternative approach is to use the formula: (P1-
P0/P0)*100.
The daily SMA volatility for Gold in Cell F18 is calculated as STDEV (array of
Gold return series). The daily SMA volatility for Gold is 1.4377 % and for WTI is
1.9856%.
VCV (SMA) daily VaR
What is the daily SMA VaR for Gold and WTI at a confidence level of 99%?
Daily VaR = Volatility or standard deviation of return
series × z- value of the inverse of the standard normal
cumulative distribution function (CDF) corresponding
with a specified confidence level.
Daily VaR for Gold calculated in Cell F16 is the product of the daily SMA volatility
(Cell F18) and the z-value of the inverse of the standard normal CDF for 99%. In
EXCEL the inverse z-score at the 99% confidence level is calculated as
NORMSINV (99%) = 2.326. Hence, daily VaR for Gold and WTI at 99%
confidence level works out to 3.3446% and 4.6192% respectively.
What is the holding SMA VaR for WTI & Gold for a holding period 10 days at a
confidence level of 99%?
What is the holding SMA VaR for Gold & WTI for a holding period 252
days at a confidence level of 75%?
Note that 252 days are taken to represent trading days in a year.
The methodology is the same as used before for calculating the 10-day holding
SMA VaR at a 99% confidence level, except that the confidence level and holding
period are changed.
Hence, we first determine the daily VaR at the 75% confidence level.
Recall that the daily VaR is the product of the daily SMA volatility of underlying
returns and the inverse z-score (here calculated for 75%, i.e. NORMSINV(75%)=
0.6745). The resulting daily VaR is then multiplied with the square root of 252
days to arrive at the holding VaR.
252-day holding VaR at 75% for Gold (Cell F15) is the product of the daily
VaR calculated at 75% confidence level (Cell F17) and the square root of the
holding period (Cell F16). It is 15.3940% for Gold and 21.2603% for WTI. The
daily VaR in turn is the product of the daily SMA volatility (Cell F19) and the
inverse z-score associated with the confidence level (Cell F18).
VaR Historical Simulation Approach
Ordered Returns
Unlike the VCV approach to VaR there is no assumption made about the
underlying return distribution in the historical simulation approach. VaR is based
on the actual return distribution which in turn is based on the data set used in the
calculations. The starting point for the calculation of VaR for us then is the return
series derived earlier.
You can find the Histogram tool under the Data Analysis tab in Excel. If for some
reason you don’t see a data analysis tab in your version of Excel, go to Excel
Options, chose Addins and then simply add the Data Analysis Addin to enable
this tab.
To generate the Histogram select the daily return series by calculating the
percentage change in prices from one day to the next and use that series as your
input range.
Opt for New worksheet ply, cumulative percentage and chart output (see below)
to see a graphical representation of the Histogram as well as a supporting table.
When you press ok, Excel will create a new tab for you and show the histogram
that you see below. (the example refers to other time series, only for
exemplificative purposes).
Our first order of business is to reorder the series in ascending order, from
smallest return to largest return:
As a risk professional our focus is on the downside which in the histogram below
is marked at -2.77%. The upside is about 1.99+%
Daily Historical Simulation VaR
There are 270 returns in the series. At the 99% confidence level, the daily VaR
under this method equals the return corresponding to the index number
calculated as follows:
This integer represents the index number for a given return as shown below:
The return corresponding to that index number is the daily historical simulation
VaR.
The VLOOKUP function lookups the return to the corresponding index value from
the order return data set. Note that the formula takes the absolute value of the
result. For example at the 99% confidence level the integer number works out to
2. For Gold this corresponds with the return of -5.5384% or 5.5384% in absolute
terms, i.e. there is a 1% chance that the price of Gold will fall by more than
5.5384% over a holding period of 1 day.
There is a 1% chance that the value of Gold in the portfolio will lose an amount
greater than USD 27,996 over a holding period of 10-days.