Professional Documents
Culture Documents
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
Leonid Kogan
MIT, Sloan
Volatility Models
1 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
2 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
3 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Pt
Pt 1
Volatility Models
4 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
IndexLevel
800
700
600
500
400
300
200
100
0
Jan-04
May-05
Oct-06
Feb-08
Jul-09
Date
Volatility Models
5 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
6 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
7 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
The idea of the test is simple: t the AR(p) model to squared shocks and test
the hypothesis that all coefcients are jointly zero.
xt2 = a0 + a1 xt21 + ... + ap xt2p + ut
One way to derive the test statistic:
1
2
= (
Estimate the coefcients of the AR(p) model,
a0 ,
a1 , ...,
ap ).
F = (
a1 , ...,
ap )
,..., ; ,...,
a1
ap a1
ap
a1
.
..
ap
Volatility Models
8 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Engle Test
MATLAB code
MATLAB output
Volatility Models
9 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
10 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
GARCH(p,q)
2t = a0 +
i =1
ai xt2i +
bj 2t j ,
ai , bj 0
(GARCH(p,q))
j =1
Volatility Models
11 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
GARCH(1,1) Dynamics
Et 2t +2 = Et a0 + (a1 + b1 )2t +1
= a0 [1 + (a1 + b1 )] + (a1 + b1 )2 2
t
Et 2t +3 = Et a0 + (a1 + b1 )2t +2
t
..
.
Et 2t +n = a0
1 (a1 + b1 )n
+ (a1 + b1 )n 2
t
1 a1 b1
Volatility Models
12 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
GARCH(1,1) Dynamics
a1 + b1 < 1
Convergence of forecasts:
lim Et 2t +n =
a0
1 a1 b1
E xt2+1 = a0 + a1 E xt2 + b1 E 2t
Volatility Models
E xt2 =
a0
1 a1 b1
13 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
(Gaussian) distribution.
a1 = 0.1,
b1 = 0.8
a0
.
1a1 b1
Initiate 1 =
t2 = a0 + a1 xt21 + b1 2t 1
xt = t t ,
3
Drop the rst 10% of the simulated sample (burn-in) and analyze the distribution
of the remaining sample.
Volatility Models
14 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
MATLAB Code
Volatility Models
15 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
xt
Prob > k
E xt2
k
GARCH(1,1)
Gaussian
S&P GSCI
1
0.1540
0.1587
0.1351
2
0.0239
0.0228
0.0188
Volatility Models
3
0.0025
0.0013
0.0077
4
0.0002
0.0000
0
16 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
17 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
L() =
ln p(xt |t ; )
t =1
t2
1
p(xt |t ; ) =
e 2t
2
2t
Volatility Models
18 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
x2
1
ln 2 t 2 ln 2t
2
2t
t =1
2t = a0 + a1 xt21 + b1 2t 1
Need 21 to complete the denition of L().
The exact value of 21 does not matter in large samples, since 2t converges to its
stationary distribution for large t.
A reasonable guess for 21 improves accuracy in nite samples.
[xt2 ].
Use unconditional sample variance: 21 = E
( a 0 ,a 1 ,b 1 )
subject to a1 0, b1 0, a1 + b1 < 1
c Leonid Kogan ( MIT, Sloan )
Volatility Models
19 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Fit the GARCH(1,1) model to the series of S&P GSCI spot price changes.
Use MATLAB function garcht. garcht constructs the likelihood function
and optimizes it numerically.
Parameter estimates:
a1 = 0.0453,
b1 = 0.9457
clustering.
Volatility Models
20 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
0.035
0.03
0.025
0.02
0.015
0.01
2004
2005
2006
2007
2008
2009
Date
c Leonid Kogan ( MIT, Sloan )
Volatility Models
21 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
t =
xt
1
0.1587
0.1595
2
0.0228
0.0209
3
0.0013
0.0014
4
0.0000
0
Fitted errors conform much better to the Gaussian distribution than the
unconditional distribution of xt does.
In case of S&P GSCI spot price series, can attribute heavy tails in
unconditional distribution of daily changes to conditional heteroscedasticity.
Volatility Models
22 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Standard Errors
ln p(xt |t ; )
E
=0
2
)
ln
p
(
x
,
=E
d
,
=E
ln p(x , ) ln p(x , )
S
1 d
] = d S
T Var[
How to compute derivatives, e.g.,
)
ln p(x ,
?
Volatility Models
23 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
24 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Et [t ] = 0,
Et [2t ] = 1
Two approaches:
QMLE estimation, treating errors as Gaussian.
MLE with an alternative distribution for t , e.g. Students t.
Volatility Models
25 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
GARCH: QMLE
L() =
x2
1
ln 2 t 2 ln 2t
2
2t
t =1
x2
1
Et 2t
ln 2t ()
2
2t ()
is maximized at the true value of . This means that 0 maximizes the
maximizing L().
Volatility Models
26 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
[( + 1)/2]
(/2) ( 2)
1+
2t
2
(+1)/2
, >2
L() =
T
t =1
ln
[( + 1)/2]
(/2) ( 2)
+1
xt2
ln 1 +
2
( 2)2t
ln(2t )/2
Volatility Models
27 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
28 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
How effective is the QMLE approach when dealing with non-normal shocks?
We can gain intuition using Monte Carlo experiments.
Beyond this particular context, our Monte Carlo design illustrates a typical
simulation experiment.
Volatility Models
29 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
t2 = a0 + a1 xt21 + b1 2t 1
a1 = 0.05,
b1 = 0.9
a0
1a1 b1
periods.
Perform MLE and QMLE estimations for each simulated sample and save
point estimates
a1 ,
b1 , and their standard errors.
Volatility Models
30 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Summary Statistics
Compute the following statistics:
1
N
1
n 0 )2
RMSE() =
(
N
n=1
2
Volatility Models
31 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Method
)
RMSE(
)
Mean(
) Coverage
C.I.(
a1
b1
a1
b1
a1
b1
1,000
1,000
QMLE
MLE
0.0286
0.0228
0.1951
0.1396
0.0551
0.0538
0.8335
0.8613
0.9240
0.9170
0.8930
0.8920
3,000
3,000
QMLE
MLE
0.0149
0.0115
0.0356
0.0289
0.0513
0.0503
0.8920
0.8940
0.9380
0.9370
0.9200
0.9390
Volatility Models
32 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
33 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
i =1
ai g
xt i
t i
bj ln t j
(EGARCH(p,q))
j =1
g (z ) =|z | c z
Volatility Models
34 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
35 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
bH (k , )Xt k ,t k 1 + Ht
k =0
Signicant exibility:
X can contain squared return, absolute value of returns, intra-day high-low
range, etc.
Weights bH (k , ) can be exibly specied.
Volatility Models
36 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
The model
VtH+H ,t = aH + H
bH (k , )Xt k ,t k 1 + Ht
k =0
rt +H ,t N
, aH + H
bH (k , )Xt k ,t k 1
k =0
Volatility Models
37 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
bH (k , ) =
K
, ,
j =0 f
j
K
, ,
f (x , , ) = x (1 x )
0.03
0.025
0.02
f(x)
Weights bH (k , ) have
exible shape.
0.015
0.01
0.005
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Volatility Models
38 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Outline
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
39 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Volatility Models
40 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
MGARCH
Example
t = C + a(xt 1 xt1 ) + bt 1
Estimate using QMLE, analogous to GARCH(1,1).
Limitation: all covariances have the same persistence.
Volatility Models
41 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Model
t = Dt Dt
is the constant matrix of conditional correlations;
t1 xt
t , u
t = D
Estimate the unconditional correlation matrix of u
T
1
t u
t
=
u
Volatility Models
t =1
42 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Model
t = Dt t Dt
t is the time-varying conditional correlation matrix;
Dt is the diagonal matrix of conditional standard deviations.
Two-step estimation method:
1
Model t as
(Qt )ij
(
t )ij =
,
(Qt )ii (Qt )jj
t1 ) + bQt 1
t 1 u
Qt = (1 a b) + a(u
t series. As before,
Estimate the parameters , a, b by QMLE on the u
t1 xt .
t = D
u
Volatility Models
43 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Summary
derivative pricing.
GARCH models are convenient for extracting time-varying volatility and for
frecasting.
GARCH models can be estimated using QMLE or MLE.
Mixed-frequency data can be used in forecasting. MIDAS. Straightforward
using NLS or QMLE.
Multiple extensions of GARCH, multivariate models.
Volatility Models
44 / 45
Heteroscedasticity
GARCH
GARCH: QMLE
Alternative Models
Multivariate Models
Readings
Volatility Models
45 / 45
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms .