How to Calculate Volatility Correctly
Volatility is a highly important component in many different investment strategies, but it is also a measure that is not commonly understood, especially when looking at the calculation in detail. In this article we wanted to review the two different approaches of calculating volatility commonly encountered in the market or when looking at different fund factsheets. Investment returns mostly are calculated via a discrete or continuous approach, which will yield different risk and return statistics, based upon each approach that we see. One of the more commonly used approaches in the market is with volatility calculated based on discrete returns, thus
For this case, we will show that you have an inaccurate volatility output. We hope you will take some time and read through this article, to be better familiar with volatility calculations. Calculating volatility is not necessarily complex, but doing so without a full awareness of the underlying formulas and assumptions will run the risk of an inaccurate risk reporting for your investment strategy.
Also, if you’d like to read more about this topic and have future articles delivered conveniently to your inbox, please sign up for our newsletter.
Volatility Calculation – the correct way using continuous returns
Volatility is used as a measure of dispersion in asset returns. Thus, it describes the risk attached to an observed financial instrument and is equivalent to the standard deviation calculation well known from statistics. To understand how to calculate volatility correctly and why the commonly used procedure using discrete returns is inaccurate we first need to clarify some basics.
Let’s assume to be a one-dimensional discrete random variable taking values in with the probability density function and the distribution function. will describe the single-period continuous return of our financial asset and the potential values might realize. The information about the probability, that realizes , is given by . The Variance of is defined as the expected quadratic difference of the random variable’s realizations and the expected value of the random variable:
As the expected value of a discrete variable is the sum of all realizations times the probabiliy of this realization we get
with the expected value of the random variable . The standard deviation is derived by taking the square root of the variance, thus
Application on a financial asset
When evaluating financial assets we do not have the luxury of knowing the random variable representing how a single-period return is defined, thus we do not know anything about the potential values the variable might realize nor do we know what the probability of the realization of those values is. But we can look at the already realized returns we saw in the past. With this we are then able to estimate from those observations how behaves, e.g. by estimating statistics like the standard deviation of .
Now, let’s assume we look at a financial asset with prices at times , thus . We assume that the continuous returns
all are realizations of a series of identically distributed random variables , thus is the realization of , is the realization of and so on. To characterize the distribution of , which is the same as all the other distributions of as they are identically distributed, we can now look at the realizations The historical probability in this setting for each realization equals as we have continuous returns.
Calculation of single-period volatility
To calculate the standard deviation we first need to calculate the expected value. As continuous returns are additive (proofed in our article about properties of linear, discrete and continuous returns) we can use the arithmetical average as an estimation for the expected value. So we calculate in a first step
The variance of is now easily derived using the calculated expected value and the variance formula:
with for all as the historical probability for each realization equals as written above, thus
Using this we can calculate the standard deviation of the random variable or equivalentely the “volatility” of the single-period return by
There is a lot of debate among statisticians if the above estimation for the variance should be used or if it should be amended by the Bessel’s correction factor for an unbiased estimator. The respective unbiased estimation for the variance would look like this:
As this discussion would go beyond the scope of this article at this point we will leave it to the reader to decide what estimation measure to use.
Aggregating single-period volatility to multi-period volatility
Let’s assume we calculated the volatility based on daily continuous returns, thus characterizes the daily volatility. To be able to annualize this volatility we use another assumption and the consequent property of the variance.
Given that the identically distributed random variables are also statistically independent of each other, the following holds:
Given the additivity of continuous returns we know that a year’s return (let’s assume a year has 252 trading days) described by the random variable can be written as the sum of 252 random variables describing the daily returns, . Thus we have for the variance of the yearly continuous return using that , as the random variables describing the daily returns are identically distributed,
Under the assumptions that the
- single-period returns are identically distributed and
- single-period returns are additive
the single-period volatility can be calculated based on observed single-period returns using
Single-period volatiliy can be aggregated under the additional assumption that the
- single-period returns are independent
to a multi-period volatility consisting of single-period time frames using
Why calculating volatility using discrete returns is not meaningful
Of course, all of the mathematical basics mentioned above are still true when we start working with discrete returns. The random variable now describes the single-period discrete return of our financial asset and not the continuous return.
Pitfall using discrete returns for calculating single-period volatility
As detailed above, the expected value of our random variable needs to be calculated based on the set of discrete returns. As shown in properties of linear, discrete and continuous returns, discrete returns are not additive but multiplicative. So using the arithmetical average as an estimation for the expected value is not appropriate, as applying arithmetic operations on geometric data like discrete returns would have no meaningful interpretation. An estimation for the expected value of discrete returns we could interpret financially would be to use the geometrical average:
However, although we can interpret this, it underestimates the expected value of the discrete returns.
So when trying to calculate volatility using discrete returns you must choose between the lesser of two evils – either you take a poor estimation for the expected value (geometrical average) or you risk calculating something which can not be interpreted and thus is not meaningful (arithmetical average).
Consequently, we highly recommend calculating volatility using continuous returns in a well-defined framework as outlined in the sections before. Also, if you’d like to read more about this topic and have future articles delivered conveniently to your inbox, please sign up for our newsletter.