6 Seminar - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar6.pdf · 6 Seminar .nb....
Transcript of 6 Seminar - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar6.pdf · 6 Seminar .nb....
Applied Econometrics
Seminar 6GARCH models cont.(Empirical modeling)
Please note that for interactive manipulation you need Mathematica 6 version of this .pdf. Mathematica 6 will be available soon at all Lab's Computers at IES
http://staff.utia.cas.cz/barunikJozef Barunik ( barunik @ utia. cas . cz )
|
Outline
We went through most of the theory during last 2 lectures and 1 seminar
So we know empirical strategy of fitting ARIMA-GARCH models
We will introduce TGARCH modeling and see how it can improve our results
We will introduce other forms of GARCH - EGARCH, IGARCH, GARCH-M
We will also test Multivariate GARCH model
|
2 Seminar6.nb
ARIMA-GARCH on SAX
Today we will begin with following data:SAX_1998_2008.txt - Slovak index
|
Seminar6.nb 3
ARIMA-GARCH on SAX cont.
ACF and PACF does not show any significant dependen-cies:
If we fit ARIMA, we can see, that ARIMA(1,1,1) is not notably better than ARIMA(0,1,0) Forecasting??? model is useless !!!
|
4 Seminar6.nb
ARIMA-GARCH on SAX cont.
ARCH-LM test strongly rejects the null hypothesis of no conditional heteroskedasticity in SAXresiduals from ARIMA(1,1,1), Let's have a look at SQUARED RESIDUALS ACF ANDPACF !!!
|
Seminar6.nb 5
GARCH
from ACF and PACF of squared residuals from ARIMA(1,1,1) and from ARCH-LM test wecan see, that there are further dependencies in the data, thus we will model them by allowing forheteroskedasticity: ARCH, and GARCH models.
please note that ARCH and GARCH is able to model all the empirically found properties ofstock market returns as excess volatility, volatility clusters, also fat tails which tells us that thereis greater probability of unexpected events
BUT these effects are much weaker then AR dependencies, so we will not expect high degree ofvariance explained !
|
6 Seminar6.nb
ARIMA-GARCH on SAX cont.
We will fit the ARCH, GARCH until there is no dependencies left in residuals: ARIMA(1,1,1)-GARCH(1,1) best describes the data. BUT ARCH-LM test still shows some degree of dependen-cies... so maybe TGARCH ?Let's have a look at how we modeled volatility of the SAX index: (resp. residuals - second plot)
|
Seminar6.nb 7
TGARCH
We will find that certain assymetries might govern the financial time series
leverage effect:What happends when bad news / good news arrive to the market?Does it have the same effect? Or it's assymetric?How does it affect our model?
Commonly, returns are assymetric, and if we do not allow for such assymetry, we have assymet-ric residuals.
|
8 Seminar6.nb
TGARCH on SAX index
Following model allows for assymetries in resudials: TGARCH - Treshold GARCH:
st2 = w+ g1 ut-1
2 + g1- ut-1
2IHut-1<0L + b1 st-1
2 ,
where IH.L denotes indicator function which is 1 for past innovations with negative effect. Assy-
metric effect is covered by the TGARCH model if g1->0
Back to SAX index:
We can see that g1- is not significant, thus TGARCH does not improve our estimate, and data
does not seem to have significant asymmetry effect|
Seminar6.nb 9
Other Extensions of GARCH - More Theory
You can see, that GARCH is just special case of TGARCH, it is TGARCH without assymetries.
We also know other models which can deal with different observations in data. Most importantextensions to GARCH are following:
GARCH-M: GARCH in mean, when the returns are dependent directly on their volatilityEGARCH: Exponential GARCH - leverage effect is exponentialIGARCH: unit-root GARCH, the key is that past squared shocks are persistent
Let's have a look at demonstrations on how does these forms look like (using power of Mathemat-ica 6)(Unfortunatelly we are not able to estimate these using JMulti, so we will have to use anothersoftware, i.e. Eviews
|
10 Seminar6.nb
Example of AR(1)-TAR-GARCH(1,1)
Let's consider another form of AR(1)-TAR-GARCH(1,1) model, which is AR(1), Two regimeGARCH(1,1) model:
rt = f0 + f1 rt-1 + at ,at = st et
st2 = : a0 + a1 at-1
2 + b1 st-12
at-1 § 0
a2 + a3 at-12 + b2 st-1
2at-1 > 0
we choose Treshold, which will switch between two processes, or two regimes, and deal differ-ently with assymetries
|
Seminar6.nb 11
Example of AR(1)-TGARCH(1,1) cont.
ARH1L-TAR-GARCHH1,1L
Simulated series Simulated Volatility
treshold - k -4.8
f0 0.6
f1 0.5
a0 0.5
a1 0.3
b1 0.2
a2 0.5
a3 0.3
b2 0.5
New Random Case
Export
Simulated Series
100 200 300 400 500
10
20
30
40
50
60
70
|
12 Seminar6.nb
GARCH-M
The return of a security may sometimes depend directly on volatility. To model this, we useGARCH in mean (GARCH-M) model. GARCH(1,1) - M is formalized as:
rt = m + cst2 + at
at = st et ,st2 = a0 + ai at-1
2 + b1 st-12 ,
where m and are constant. is also called risk premium|
Seminar6.nb 13
Example GARCH(1,1)-M artificial processes
Note, that with positive risk premium c, returns are positively skewed, as they are positivelyrelated to its past volatility
Sample GARCHH1,1L-M ACF function of at
2 PACF function of at
2
risk premium c -0.405
a0 0.552
a1 0.324
b1 0.578
New Random Case
Export
Simulated Series
100 200 300 400 500
-30
-20
-10
|
14 Seminar6.nb
IGARCHIGARCH models are unit-root GARCH models, their key feature is, that past squared shocks ispersistent. IGARCH(1,1) is formalized as:at = st et ,st2 = a0 + b1 st-1
2 + H1 - b1L at-12
Example IGARCH(1,1) artificial processes
IGARCHH1,1L
Simulated series Simulated Volatility
a0 0.808
b1 0.308
New Random Case
Export
Simulated Series
100 200 300 400 500
-10
-5
5
10
|
Seminar6.nb 15
EGARCH
more complicated (only for interested students as refer-ence)
logHst2L = w+⁄i=1q b j logIst- j2 M+⁄i=1p aiet-i
st-i+⁄k=1r gk
et-k
st-k,
while left side is log of the conditional variance, leverage effect is expected to be exponential,rather than quadratic, and forecasts will be nonnegative.
We can test for presence of leverage effect by testing the null hypothesis that gi < 0, the impactwill be asymmetric if g 0.
|
16 Seminar6.nb
Multivariate GARCH
Straighforward generalization of univariate models.
Modeling of covariances and correlations - forecasting.We allow covariances and correlations to be time-varying.
Problem? very large number of parameters to be estimated.
In JMulTi - BEKK form, quasi maximum likelihood estimator (you should know other formsfrom lecture).
|
Seminar6.nb 17
Multivariate GARCH on PX and WIG
load PX_WIG_2005_2009.txt dataset - Prague and Warsaw indices in 2005-2009 years
|
18 Seminar6.nb
Multivariate GARCH on PX and WIG cont.
|
Seminar6.nb 19
Multivariate GARCH on PX and WIG cont.
and look at the residuals left, do all the necessary testing...
|
20 Seminar6.nb
Questions
Now you know how proceed with your Term paper !
Good Luck :-)|
Seminar6.nb 21