QF I Lecture4
QF I Lecture4
Characteristics of Volatility
Volatility is one of the most important concepts in finance, as it measures the risk of financial assets. Altough volatility is not directly observable, and can be just estimated, it has some important characteristics: (i) volatility clusters - there are periods of high/low volatility (ii) volatility evolves over time continuously (jumps in volatility are rare) (iii) volatility does not diverge to infinity (iv) negative and positive price shocks tend to have different impacts on volatility (leverage effect) (v) heavy-tailed, non-gausian distribution
Historical Volatility
Most straightforward way to measure volatility is to estimate time-series of variance on "rolling samples" For zero-mean variable (let us say return), this would be:
2 2 2 s2 = Irt-1 + rt-2 + ... + rt-q M q t
, where q is the latest observation used. This method may produce abrupt changes in estimates.
Exponential volatility
Alternatively, exponential moving average (EMA) estimator of volatility can be used. It uses all data points, and recent observations carry larger weights. (weights are exponentially decreasing).
2 s2 = H1 - lL rt-1 + ls2 , t t-1
where initial value could be unconditional variance in a historical sample. In most financial applications, l=0.94 is used.
Example on S&P 500 index data (change ticker in the code to get other data)
Note that characteristics of volatility can be observed from returns of S&P 500. Moreover, ACF plot suggests us, that returns are not serially correlated, but ACF plot of squared returns shows, that they are not independent. By modeling volatility, we will attempt to capture this kind of dependece.
QF_I_Lecture4.cdf
Prices
1500 1000 500 0
1980
1990
2000
2010
Returns
0.10 0.05 0.00 -0.05 -0.10 -0.15 -0.20 1980 1990 2000 2010
ACF of r
0.2 0.1 0.0 -0.1 -0.2
10
15
20
25
30
ACF of r2
0.2 0.1 0.0 -0.1 -0.2
10
15
20
25
30
0.06
0.04
0.02
0.00
1980
1990
2000
QF_I_Lecture4.cdf
ARCH(1)
The first model that provides a systematic framework for volatility modeling is Autoregressive conditional heteroscedasticity (ARCH) model. ARCH(1) model is most common from ARCH(m) models in financial theory. Basic idea is that the mean-corrected return is serially uncorrelated, but dependent, and that the dependence can be described by a simple function of lagged values: at = st et s2 = a0 + a1 a2 t t-1 Adding the assumption of normality, the model can be expressed in terms of information set available in time t: Ft (Engle 1982), (i.e. et is conditionally normally distributed) yt Ft-1 ~ NH0, ht L 2 ht = a0 + a1 yt-1 Example of other notation: yt = c + et st et ~ NH0, 1L s2 = a0 + a1 s2 , t t-1 where a0 > 0, a1 0. Unconditional mean of at is zero, unconditional variance is a0 H1 - a1 L, process is stationary, if a1 < 1, the fourth moment is finite if 3 a2 < 1. 1 Thus excess kurtosis is positive and the tail distribution of at is heavier than normal distribution.
1-a1 2 1-3 a1 2
, with 3 a1 2 < 1 r3
kurtHet L =
EAet 4 E EAet E
2 2
=3
1-a1 2 1-3 a1 2
QF_I_Lecture4.cdf
Example : a1 = 0.1
Example : a1 = 0.4
Example : a1 = 0.5
QF_I_Lecture4.cdf
Example : a1 = 0.9
Sample ARCHH1L
ARCHH1L volatility
ACF function of a2 t
PACF function of a2 t
a0 a1
0.82 0.823
10
-5
-10
100
200
300
400
500
QF_I_Lecture4.cdf
at = st et , s2 = a0 + a1 a2 + ... + am a2 , t t-1 t-m where at is mean corrected return at = rt - mt , {et < is i.i.d random variables with zero mean and variance 1, somteimes denoted as ht - innovations, a0 > 0, ai 0 for i > 0. One can easily observe, that large past squared shocks 9a2 =i=1 imply large conditional variance s2 , or t-i t volatility. Thus under ARCH, large shocks tend to be followed by large shocks - ARCH effect
m
Sample ARCHHmL
ARCHHmL volatility
ACF function of a2 t
PACF function of a2 t
0.4
0.2
0.0
-0.2
-0.4 0 5 10 15 20 25 30
H0 : a1 =. .. = as = 0 LM = N.R2 ~ c2 HpL
QF_I_Lecture4.cdf
QF_I_Lecture4.cdf
Sample GARCHH1,1L
GARCHH1,1L volatility
ACF function of a2 t
PACF function of a2 t
am bs
1.5
1.0
0.5
GARCH(1,1)
GARCH(1,1) is most common for financial applications, as the dependencies are mostly very weak. It takes form of: at = st et , s2 = a0 + ai a2 + b1 s2 , t t-1 t-1 where Ha1 + b2 L < 1. Large past shocks of return and volatility in t-1 gives large shocks to volatility in time t, thus volatility clustering is quite well captured.
QF_I_Lecture4.cdf
Sample GARCHH1,1L
GARCHH1,1L volatility
ACF function of a2 t
PACF function of a2 t
a0 a1 b1
-5
-10
100
200
300
400
500
GARCH-M model
The return of a security may sometimes depend directly on volatility. To model this, we use GARCH in mean (GARCH-M) model. GARCH(1,1) - M is formalized as: rt = m + cs2 + at t at = st et , s2 = a0 + ai a2 + b1 s2 , t t-1 t-1
10
QF_I_Lecture4.cdf
Sample GARCHH1,1L-M
ACF function of a2 t
PACF function of a2 t
risk premium c a0 a1 b1
-2
-4
100
200
300
400
500
ARIMA-GARCH Models
Common way to build ARCH model is to remove any linear dependencies in the data (i.e.) by ARMA model - for most series, we remove also sample mean from the data.), and use residuals for testing the ARCH effects. This can be done either using Ljung-Box statistics, or ACF, PACF functions, or by Lagrange multiplier test (LM test). If the statistic is significant, then conditional heteroscedasticity of at is detected, and PACF of a2 is used to determine order of ARCH effect. For GARCH, it is not so easy to determine the t order, but empirical findings can serve again, that in most financial applications, we use lower order models such as GARCH(1,1), GARCH(2,1).
QF_I_Lecture4.cdf
11
Sample ARIMAHp,d,qL-GARCHH1,1L
ACF
ARIMA@p,q,dD parameters
process is unit-root stationary
10 difference ARHpL parameters MAHqL parameters 80.9, -0.4< 80.1, 0.5<
GARCH@1,1D parameters
a0
12
QF_I_Lecture4.cdf
a0 b1
0.611 0.6
800
600
400
200
Empirical example
Homework #4
Deadline: Tue 15.10.2010, 3:00 pm
Homework may be returned in class, or sent via email to [email protected]
:] Exercise 1 [:
Estimate ARMA-(G)ARCH model on the real stock market data (use dataset which contains (G)ARCH effect).
QF_I_Lecture4.cdf
13
:] Exercise 1 [:
Estimate ARMA-(G)ARCH model on the real stock market data (use dataset which contains (G)ARCH effect). * Please include your computations program with your results.