Professional Documents
Culture Documents
David Leblang
University of Colorado
Leblang
ARCH
Page 1
I.
What is ARCH/GARCH?
B.
C.
D.
E.
F.
EconometricOLS assumes:
1)
Leblang
ARCH
Page 2
2)
3) Consequences:
OLS
is
BLUE
and
consistent. HOWEVER, OLS is not efficient
(minimum variance) if we relax the class of
estimators to include nonlinear estimators.
Leblang
ARCH
Page 3
G.
H.
100*[log(sp(t))-(log(sp(t-1)))]
4.65458
-6.00451
22dec1999
31mar2000
date
09jul2000
17oct2000
Volatility Clustering
Leblang
ARCH
Page 4
Fraction
.113636
0
-6.00451
100*[log(sp(t))-(log(sp(t-1)))]
4.65458
Kurtosis
Leblang
ARCH
Page 5
J. TheoreticalVariance is of Interest
K. What causes volatility/variance of a series?
Finance literature (risk premium); economics
literature (target zones). Political science
political events/information influence variability
of asset prices (e.g., Leblang and Bernhard;
Freeman, Hays and Stix)
L. Are some events/periods/systems conducive
to more/less volatility than others?
Leblang
ARCH
Page 6
M. Textbook References
N. Enders, Applied Econometric
Series
O. Patterson, An Introduction to
Time Series
Applied
Linear
Finance
Q.
Software
Leblang
ARCH
Time
Advantages
Disadvantages
Page 7
STATA
www.stata.com
EVIEWS
www.eviews.com
S+ GARCH
www.insightful.com
Leblang
ARCH
My favorite in
general
Lots of built in
models
Choice of algorithm
Easy to program
Lots of built in
models
Choice of algorithm
Lots of built in diag.
FAST!
Lots of built in
models
FIGARCH
MGARCH
t, ged, double exp
dist.
Difficult to program
No choice of
algorithm
A bit clunky
Page 8
Terrific Graphics
II.
Leblang
ARCH
Page 9
Leblang
ARCH
Page 10
Leblang
ARCH
Page 11
Page 12
V.
ht = + 1 2t 1 + 1ht 1 .
Leblang
ARCH
Page 13
HH. Higher
p
ht = + j
j =1
Leblang
ARCH
order
2
t j
GARCH
models:
h
k t k .
k =1
Page 14
(Baillie,
Page 15
Leblang
ARCH
Page 16
Leblang
ARCH
Page 17
Leblang
ARCH
Page 18
.587194
.404425
40.1751
-9.8
error (t-1)
9.8
Leblang
ARCH
Page 19
of
2t ;
that
is,
a.
Assess joint significance of 1 p .
If the coefficients are different from zero
then
the
null
of
conditional
homoscedasticity can be rejected.
b. T*R2 is Engles LM test statistic. Under
the null of homoscedasticity it is
asymptotically distributed 2 (q )
Leblang
ARCH
Page 20
Leblang
ARCH
Page 21
Source |
SS
df
MS
-------------+-----------------------------Model |
0.00
0
.
Residual | 391.285893
219 1.78669358
-------------+-----------------------------Total | 391.285893
219 1.78669358
Number of obs
F( 0,
219)
Prob > F
R-squared
Adj R-squared
Root MSE
=
=
=
=
=
=
220
0.00
.
0.0000
0.0000
1.3367
-----------------------------------------------------------------------------dlsp |
Coef.
Std. Err.
t
P>|t|
[95% Conf. Interval]
-------------+---------------------------------------------------------------_cons |
.0096484
.0901184
0.11
0.915
-.167962
.1872588
-----------------------------------------------------------------------------. predict e if e(sample), resid / obtain residuals
. gen e2=e^2
Leblang
ARCH
Page 22
Number of obs
F( 1,
217)
Prob > F
R-squared
Adj R-squared
Root MSE
=
=
=
=
=
=
219
5.83
0.0166
0.0261
0.0217
3.5175
-----------------------------------------------------------------------------e2
|
Coef.
Std. Err.
t
P>|t|
[95% Conf. Interval]
-------------+---------------------------------------------------------------e2
|
L1 |
.1616863
.0669855
2.41
0.017
.0296608
.2937118
_cons
|
1.49788
.2661034
5.63
0.000
.9734018
2.022358
-----------------------------------------------------------------------------. test l1.e2
( 1)
L.e2 = 0.0
F(
1,
217) =
Prob > F =
5.83
0.0166
. display 219*.0261
5.7159
. display chiprob(1, 5.7159) /the value is the p-value to reject H0 of Homoscedasticity
.01681195
Leblang
ARCH
Page 23
Autocorrelation Function
. ac e2
Autocorrelations of e2
1.00
0.75
0.75
0.50
0.50
0.25
0.25
0.00
0.00
-0.25
-0.25
-0.50
-0.50
-0.75
-0.75
-1.00
-1.00
0
10
20
Lag
30
40
Correlogram
Leblang
ARCH
Page 24
Leblang
ARCH
Page 25
4 to 223
Number of obs
Wald chi2(.)
Prob > chi2
=
=
=
220
.
.
-----------------------------------------------------------------------------|
OPG
dlsp
|
Coef.
Std. Err.
z
P>|z|
[95% Conf. Interval]
-------------+---------------------------------------------------------------dlsp
|
_cons
|
.0232815
.0826522
0.28
0.778
-.1387138
.1852768
-------------+---------------------------------------------------------------ARCH
|
arch
|
L1 |
.1652834
.045527
3.63
0.000
.0760521
.2545146
garch
|
L1 |
.7815966
.0783583
9.97
0.000
.6280172
.935176
_cons
|
.1121176
.0913255
1.23
0.220
-.066877
.2911122
------------------------------------------------------------------------------
Leblang
ARCH
Page 26
RESIDUAL TESTS
. predict e, resid
. predict v, variance
. gen s=sqrt(v)
. gen se=e/s
. gen se2=se^2
. wntestq se2
Portmanteau test for white noise
--------------------------------------Portmanteau (Q) statistic =
30.0623
Prob > chi2(40)
=
0.8735
Leblang
ARCH
Page 27
. corrgram se2
-1
0
1 -1
0
1
LAG
AC
PAC
Q
Prob>Q [Autocorrelation] [Partial Autocor]
------------------------------------------------------------------------------1
-0.0100 -0.0100
.02243 0.8810
|
|
2
0.0873
0.0875
1.7295 0.4212
|
|
3
-0.0914 -0.0911
3.6084 0.3070
|
|
4
0.0091
0.0009
3.6269 0.4588
|
|
5
-0.0114
0.0044
3.6562 0.5999
|
|
6
0.0214
0.0127
3.7612 0.7090
|
|
7
-0.0549 -0.0547
4.4529 0.7264
|
|
8
-0.0243 -0.0290
4.5894 0.8004
|
|
9
-0.0238 -0.0117
4.7205 0.8580
|
|
10
0.0067
0.0017
4.7311 0.9084
|
|
Leblang
ARCH
Page 28
Fraction
.1
0
-4.20146
se
2.73526
. sktest se
Skewness/Kurtosis tests for Normality
------- joint -----Variable | Pr(Skewness)
Pr(Kurtosis) adj chi2(2)
Prob>chi2
-------------+------------------------------------------------------se |
0.067
0.012
8.77
0.0125
Leblang
ARCH
Page 29
4 to 223
Number of obs
Wald chi2(.)
Prob > chi2
=
=
=
220
.
.
-----------------------------------------------------------------------------|
Semi-robust
dlsp
|
Coef.
Std. Err.
z
P>|z|
[95% Conf. Interval]
-------------+---------------------------------------------------------------dlsp
|
_cons
|
.0232815
.0786518
0.30
0.767
-.1308732
.1774362
-------------+---------------------------------------------------------------ARCH
|
arch
|
L1 |
.1652834
.2083251
0.79
0.428
-.2430264
.5735931
garch
|
L1 |
.7815966
.3140995
2.49
0.013
.165973
1.39722
_cons
|
.1121176
.2578869
0.43
0.664
-.3933314
.6175666
------------------------------------------------------------------------------
Leblang
ARCH
Page 30
4 to 223
Number of obs
Wald chi2(.)
Prob > chi2
=
=
=
220
.
.
-----------------------------------------------------------------------------|
Semi-robust
dlsp
|
Coef.
Std. Err.
z
P>|z|
[95% Conf. Interval]
-------------+---------------------------------------------------------------dlsp
|
_cons
|
.0135455
.080307
0.17
0.866
-.1438533
.1709443
-------------+---------------------------------------------------------------HET
|
gore
| -.1355259
.0615727
-2.20
0.028
-.2562061
-.0148457
_cons
|
5.006925
3.286556
1.52
0.128
-1.434607
11.44846
-------------+---------------------------------------------------------------ARCH
|
arch
|
L1 |
.1945511
.0973455
2.00
0.046
.0037575
.3853447
garch
|
L1 |
.6837859
.1219819
5.61
0.000
.4447057
.922866
------------------------------------------------------------------------------
Leblang
ARCH
Page 31
. wntestq se2
Portmanteau test for white noise
--------------------------------------Portmanteau (Q) statistic =
29.1930
Prob > chi2(40)
=
0.8965
. sktest se2
Skewness/Kurtosis tests for Normality
------- joint -----Variable | Pr(Skewness)
Pr(Kurtosis) adj chi2(2)
Prob>chi2
-------------+------------------------------------------------------se2 |
0.000
0.000
.
0.0000
Leblang
ARCH
Page 32
ARCH IN MEAN
. arch dlsp, arch(1) garch(1) nolog robust het(gore) archm archmexp(sqrt(X))
ARCH family regression -- multiplicative heteroskedasticity
Sample:
4 to 223
Number of obs
Wald chi2(1)
Prob > chi2
=
=
=
220
4.84
0.0278
-----------------------------------------------------------------------------|
Semi-robust
dlsp
|
Coef.
Std. Err.
z
P>|z|
[95% Conf. Interval]
-------------+---------------------------------------------------------------dlsp
|
_cons
|
-.80408
.3986817
-2.02
0.044
-1.585482
-.0226782
-------------+---------------------------------------------------------------ARCHM
|
sigma2ex
|
.7068768
.3213948
2.20
0.028
.0769545
1.336799
-------------+---------------------------------------------------------------HET
|
gore
| -.1067959
.016462
-6.49
0.000
-.1390609
-.0745308
_cons
|
3.790934
.9837613
3.85
0.000
1.862797
5.71907
-------------+---------------------------------------------------------------ARCH
|
arch
|
L1 |
.1835399
.0981365
1.87
0.061
-.0088041
.3758838
garch
|
L1 |
.6634369
.1133509
5.85
0.000
.4412733
.8856006
------------------------------------------------------------------------------
Leblang
ARCH
Page 33