Finance:Stochastic volatility

From HandWiki
Short description: When variance is a random variable

In statistics, stochastic volatility models are those in which the variance of a stochastic process is itself randomly distributed.[1] They are used in the field of mathematical finance to evaluate derivative securities, such as options. The name derives from the models' treatment of the underlying security's volatility as a random process, governed by state variables such as the price level of the underlying security, the tendency of volatility to revert to some long-run mean value, and the variance of the volatility process itself, among others.

Stochastic volatility models are one approach to resolve a shortcoming of the Black–Scholes model. In particular, models based on Black-Scholes assume that the underlying volatility is constant over the life of the derivative, and unaffected by the changes in the price level of the underlying security. However, these models cannot explain long-observed features of the implied volatility surface such as volatility smile and skew, which indicate that implied volatility does tend to vary with respect to strike price and expiry. By assuming that the volatility of the underlying price is a stochastic process rather than a constant, it becomes possible to model derivatives more accurately.

A middle ground between the bare Black-Scholes model and stochastic volatility models is covered by local volatility models. In these models the underlying volatility does not feature any new randomness but it isn't a constant either. In local volatility models the volatility is a non-trivial function of the underlying asset, without any extra randomness. According to this definition, models like constant elasticity of variance would be local volatility models, although they are sometimes classified as stochastic volatility models. The classification can be a little ambiguous in some cases.

The early history of stochastic volatility has multiple roots (i.e. stochastic process, option pricing and econometrics), it is reviewed in Chapter 1 of Neil Shephard (2005) "Stochastic Volatility," Oxford University Press.

Basic model

Starting from a constant volatility approach, assume that the derivative's underlying asset price follows a standard model for geometric Brownian motion:

[math]\displaystyle{ dS_t = \mu S_t\,dt + \sigma S_t\,dW_t \, }[/math]

where [math]\displaystyle{ \mu \, }[/math] is the constant drift (i.e. expected return) of the security price [math]\displaystyle{ S_t \, }[/math], [math]\displaystyle{ \sigma \, }[/math] is the constant volatility, and [math]\displaystyle{ dW_t \, }[/math] is a standard Wiener process with zero mean and unit rate of variance. The explicit solution of this stochastic differential equation is

[math]\displaystyle{ S_t= S_0 e^{(\mu- \frac{1}{2} \sigma^2) t+ \sigma W_t}. }[/math]

The maximum likelihood estimator to estimate the constant volatility [math]\displaystyle{ \sigma \, }[/math] for given stock prices [math]\displaystyle{ S_t \, }[/math] at different times [math]\displaystyle{ t_i \, }[/math] is

[math]\displaystyle{ \begin{align} \widehat{\sigma}^2 &= \left(\frac 1 n \sum_{i=1}^n \frac{(\ln S_{t_i}- \ln S_{t_{i-1}})^2}{t_i-t_{i-1}} \right) - \frac 1 n \frac{(\ln S_{t_n}- \ln S_{t_0})^2}{t_n-t_0}\\ & = \frac 1 n \sum_{i=1}^n (t_i-t_{i-1})\left(\frac{\ln \frac{S_{t_i}}{S_{t_{i-1}}}}{t_i-t_{i-1}} - \frac{\ln \frac{S_{t_n}}{S_{t_0}}}{t_n-t_0}\right)^2; \end{align} }[/math]

its expected value is [math]\displaystyle{ \operatorname E \left[ \widehat{\sigma}^2\right]= \frac{n-1}{n} \sigma^2. }[/math]

This basic model with constant volatility [math]\displaystyle{ \sigma \, }[/math] is the starting point for non-stochastic volatility models such as Black–Scholes model and Cox–Ross–Rubinstein model.

For a stochastic volatility model, replace the constant volatility [math]\displaystyle{ \sigma }[/math] with a function [math]\displaystyle{ \nu_t }[/math] that models the variance of [math]\displaystyle{ S_t }[/math]. This variance function is also modeled as Brownian motion, and the form of [math]\displaystyle{ \nu_t }[/math] depends on the particular SV model under study.

[math]\displaystyle{ dS_t = \mu S_t\,dt + \sqrt{\nu_t} S_t\,dW_t \, }[/math]
[math]\displaystyle{ d\nu_t = \alpha_{\nu,t}\,dt + \beta_{\nu,t}\,dB_t \, }[/math]

where [math]\displaystyle{ \alpha_{\nu,t} }[/math] and [math]\displaystyle{ \beta_{\nu,t} }[/math] are some functions of [math]\displaystyle{ \nu }[/math], and [math]\displaystyle{ dB_t }[/math] is another standard gaussian that is correlated with [math]\displaystyle{ dW_t }[/math] with constant correlation factor [math]\displaystyle{ \rho }[/math].

Heston model

Main page: Finance:Heston model

The popular Heston model is a commonly used SV model, in which the randomness of the variance process varies as the square root of variance. In this case, the differential equation for variance takes the form:

[math]\displaystyle{ d\nu_t = \theta(\omega - \nu_t)\,dt + \xi \sqrt{\nu_t}\,dB_t \, }[/math]

where [math]\displaystyle{ \omega }[/math] is the mean long-term variance, [math]\displaystyle{ \theta }[/math] is the rate at which the variance reverts toward its long-term mean, [math]\displaystyle{ \xi }[/math] is the volatility of the variance process, and [math]\displaystyle{ dB_t }[/math] is, like [math]\displaystyle{ dW_t }[/math], a gaussian with zero mean and [math]\displaystyle{ dt }[/math] variance. However, [math]\displaystyle{ dW_t }[/math] and [math]\displaystyle{ dB_t }[/math] are correlated with the constant correlation value [math]\displaystyle{ \rho }[/math].

In other words, the Heston SV model assumes that the variance is a random process that

  1. exhibits a tendency to revert towards a long-term mean [math]\displaystyle{ \omega }[/math] at a rate [math]\displaystyle{ \theta }[/math],
  2. exhibits a volatility proportional to the square root of its level
  3. and whose source of randomness is correlated (with correlation [math]\displaystyle{ \rho }[/math]) with the randomness of the underlying's price processes.

Some parametrisation of the volatility surface, such as 'SVI',[2] are based on the Heston model.

CEV model

Main page: Finance:Constant elasticity of variance model

The CEV model describes the relationship between volatility and price, introducing stochastic volatility:

[math]\displaystyle{ dS_t=\mu S_t \, dt + \sigma S_t^{\, \gamma} \, dW_t }[/math]

Conceptually, in some markets volatility rises when prices rise (e.g. commodities), so [math]\displaystyle{ \gamma \gt 1 }[/math]. In other markets, volatility tends to rise as prices fall, modelled with [math]\displaystyle{ \gamma \lt 1 }[/math].

Some argue that because the CEV model does not incorporate its own stochastic process for volatility, it is not truly a stochastic volatility model. Instead, they call it a local volatility model.

SABR volatility model

Main page: Finance:SABR volatility model

The SABR model (Stochastic Alpha, Beta, Rho), introduced by Hagan et al.[3] describes a single forward [math]\displaystyle{ F }[/math] (related to any asset e.g. an index, interest rate, bond, currency or equity) under stochastic volatility [math]\displaystyle{ \sigma }[/math]:

[math]\displaystyle{ dF_t=\sigma_t F^\beta_t\, dW_t, }[/math]
[math]\displaystyle{ d\sigma_t=\alpha\sigma_t\, dZ_t, }[/math]

The initial values [math]\displaystyle{ F_0 }[/math] and [math]\displaystyle{ \sigma_0 }[/math] are the current forward price and volatility, whereas [math]\displaystyle{ W_t }[/math] and [math]\displaystyle{ Z_t }[/math] are two correlated Wiener processes (i.e. Brownian motions) with correlation coefficient [math]\displaystyle{ -1\lt \rho\lt 1 }[/math]. The constant parameters [math]\displaystyle{ \beta,\;\alpha }[/math] are such that [math]\displaystyle{ 0\leq\beta\leq 1,\;\alpha\geq 0 }[/math].

The main feature of the SABR model is to be able to reproduce the smile effect of the volatility smile.

GARCH model

The Generalized Autoregressive Conditional Heteroskedasticity (GARCH) model is another popular model for estimating stochastic volatility. It assumes that the randomness of the variance process varies with the variance, as opposed to the square root of the variance as in the Heston model. The standard GARCH(1,1) model has the following form for the continuous variance differential:[4]

[math]\displaystyle{ d\nu_t = \theta(\omega - \nu_t)\,dt + \xi \nu_t\,dB_t \, }[/math]

The GARCH model has been extended via numerous variants, including the NGARCH, TGARCH, IGARCH, LGARCH, EGARCH, GJR-GARCH, etc. Strictly, however, the conditional volatilities from GARCH models are not stochastic since at time t the volatility is completely pre-determined (deterministic) given previous values.[5]

3/2 model

The 3/2 model is similar to the Heston model, but assumes that the randomness of the variance process varies with [math]\displaystyle{ \nu_t^{3/2} }[/math]. The form of the variance differential is:

[math]\displaystyle{ d\nu_t = \nu_t(\omega - \theta\nu_t)\,dt + \xi \nu_t^{3/2} \,dB_t. \, }[/math]

However the meaning of the parameters is different from Heston model. In this model, both mean reverting and volatility of variance parameters are stochastic quantities given by [math]\displaystyle{ \theta\nu_t }[/math] and [math]\displaystyle{ \xi\nu_t }[/math] respectively.

Rough volatility models

Using estimation of volatility from high frequency data, smoothness of the volatility process has been questioned.[6] It has been found that log-volatility behaves as a fractional Brownian motion with Hurst exponent of order [math]\displaystyle{ H = 0.1 }[/math], at any reasonable timescale. This led to adopting a fractional stochastic volatility (FSV) model,[7] leading to an overall Rough FSV (RFSV) where "rough" is to highlight that [math]\displaystyle{ H \lt 1/2 }[/math]. The RFSV model is consistent with time series data, allowing for improved forecasts of realized volatility.[6]

Calibration and estimation

Once a particular SV model is chosen, it must be calibrated against existing market data. Calibration is the process of identifying the set of model parameters that are most likely given the observed data. One popular technique is to use maximum likelihood estimation (MLE). For instance, in the Heston model, the set of model parameters [math]\displaystyle{ \Psi_0 = \{\omega, \theta, \xi, \rho\} \, }[/math] can be estimated applying an MLE algorithm such as the Powell Directed Set method [1] to observations of historic underlying security prices.

In this case, you start with an estimate for [math]\displaystyle{ \Psi_0 \, }[/math], compute the residual errors when applying the historic price data to the resulting model, and then adjust [math]\displaystyle{ \Psi \, }[/math] to try to minimize these errors. Once the calibration has been performed, it is standard practice to re-calibrate the model periodically.

An alternative to calibration is statistical estimation, thereby accounting for parameter uncertainty. Many frequentist and Bayesian methods have been proposed and implemented, typically for a subset of the abovementioned models. The following list contains extension packages for the open source statistical software R that have been specifically designed for heteroskedasticity estimation. The first three cater for GARCH-type models with deterministic volatilities; the fourth deals with stochastic volatility estimation.

  • rugarch: ARFIMA, in-mean, external regressors and various GARCH flavors, with methods for fit, forecast, simulation, inference and plotting.[8]
  • fGarch: Part of the Rmetrics environment for teaching "Financial Engineering and Computational Finance".
  • bayesGARCH: Bayesian estimation of the GARCH(1,1) model with Student's t innovations.[9]
  • stochvol: Efficient algorithms for fully Bayesian estimation of stochastic volatility (SV) models via Markov chain Monte Carlo (MCMC) methods.[10][11]

Many numerical methods have been developed over time and have solved pricing financial assets such as options with stochastic volatility models. A recent developed application is the local stochastic volatility model.[12] This local stochastic volatility model gives better results in pricing new financial assets such as forex options.

There are also alternate statistical estimation libraries in other languages such as Python:

  • PyFlux Includes Bayesian and classical inference support for GARCH and beta-t-EGARCH models.

See also

References

  1. Jim Gatheral (18 September 2006). The Volatility Surface: A Practitioner's Guide. Wiley. ISBN 978-0-470-06825-0. https://books.google.com/books?id=oKiKpjM9bf8C. 
  2. J Gatheral, A Jacquier (2014). "Arbitrage-free SVI volatility surfaces". Quantitative Finance 14: 59–71. doi:10.1080/14697688.2013.819986. 
  3. PS Hagan, D Kumar, A Lesniewski, DE Woodward (2002) Managing smile risk, Wilmott, 84-108.
  4. Kluppelberg, Claudia; Lindner, Alexander; Maller, Ross (September 2004). "A Continuous Time GARCH Process Driven by a Lévy Process: Stationarity and Second Order Behaviour". J. Appl. Probab. 41. doi:10.1239/jap/1091543413. 
  5. Brooks, Chris (2014). Introductory Econometrics for Finance (3rd ed.). Cambridge: Cambridge University Press. p. 461. ISBN 9781107661455. 
  6. 6.0 6.1 Jim Gatheral, Thibault Jaisson and Mathieu Rosenbaum (2018). Volatility is rough. Quantitative Finance 18(6), Pages 933-949
  7. Fabienne Comte and Eric Renault (1998). Long memory in continuous-time stochastic volatility models. Math. Finance, 8(4), 291–323
  8. Ghalanos, Alexios. "rugarch: Univariate GARCH models.". https://cran.r-project.org/web/packages/rugarch/index.html. 
  9. Ardia, David; Hoogerheide, Lennart F. (2010). "Bayesian Estimation of the GARCH(1,1) Model with Student-t Innovations". The R Journal 2 (2): 41–47. doi:10.32614/RJ-2010-014. http://journal.r-project.org/archive/2010-2/RJournal_2010-2_Ardia+Hoogerheide.pdf. 
  10. Kastner, Gregor (2016). "Dealing with Stochastic Volatility in Time Series Using the R Package stochvol". Journal of Statistical Software 69 (5): 1–30. doi:10.18637/jss.v069.i05. https://www.jstatsoft.org/index.php/jss/article/view/v069i05/v69i05.pdf. 
  11. Kastner, Gregor; Frühwirth-Schnatter, Sylvia (2014). "Ancillarity-Sufficiency Interweaving Strategy (ASIS) for Boosting MCMC Estimation of Stochastic Volatility Models". Computational Statistics and Data Analysis 79: 408–423. doi:10.1016/j.csda.2013.01.002. http://epub.wu.ac.at/3771/1/paper.pdf. 
  12. van der Weijst, Roel (2017) (in en). Numerical Solutions for the Stochastic Local Volatility Model. https://repository.tudelft.nl/islandora/object/uuid%3A029cbbc3-d4d4-4582-8be2-e0979e9f6bc3. 


Sources