seminar 5 - casstaff.utia.cas.cz/barunik/files/appliedecono/seminar5.pdfseminar 5 garch models cont....

24
Applied Econometrics Seminar 5 GARCH 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/barunik Jozef Barunik ( barunik @ utia. cas . cz ) |

Upload: others

Post on 17-Jul-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 1 of 21

Applied Econometrics

Seminar 5GARCH 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 )

¢ | £

Page 2: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 2 of 21

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 Seminar5.nb

Page 3: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 3 of 21

ARIMA-GARCH on SAX

Today we will begin with following data:SAX_1998_2008.txt - Slovak index

Seminar5.nb 3

Page 4: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

¢ | £4 Seminar5.nb

Page 5: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 4 of 21

ARIMA-GARCH on SAX cont.

ACF and PACF does not show any significant dependencies:

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 !!!

¢ | £

Seminar5.nb 5

Page 6: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 5 of 21

ARIMA-GARCH on SAX cont.

ARCH-LM test strongly rejects the null hypothesis of no conditional heteroskedasticity in SAX residuals from ARIMA(1,1,1), Let's have a look at SQUARED RESIDUALS ACF AND PACF !!!

¢ | £

6 Seminar5.nb

Page 7: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 6 of 21

GARCH

from ACF and PACF of squared residuals from ARIMA(1,1,1) and from ARCH-LM test we can see, that there are further dependencies in the data, thus we will model them by allowing for heteroskedasticity: ARCH, and GARCH models.

ARCH and GARCH is able to model all the empirically found properties of stock market returns as excess volatility, volatility clusters, also fat tails which tells us that there is greater probability of unexpected events

BUT these effects are much weaker then AR dependencies, so we will not expect high degree of variance explained !

¢ | £

Seminar5.nb 7

Page 8: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 7 of 21

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 dependencies... so maybe TGARCH ?Let's have a look at how we modeled volatility of the SAX index: (resp. residuals - second plot)

8 Seminar5.nb

Page 9: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

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 dependencies... so maybe TGARCH ?Let's have a look at how we modeled volatility of the SAX index: (resp. residuals - second plot)

¢ | £

Seminar5.nb 9

Page 10: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 8 of 21

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 assymetric residuals.

¢ | £

10 Seminar5.nb

Page 11: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 9 of 21

TGARCH on SAX index

Following model allows for assymetries in resudials: TGARCH - Treshold GARCH:

st2 = w+g1 ut-12 +g1- ut-12 IIut-1<0M+ b1 st-12 ,

where IH.L denotes indicator function which is 1 for past innovations with negative effect. Assymetric 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

¢ | £

Seminar5.nb 11

Page 12: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 10 of 21

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 important extensions 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 Mathematica 6)(Unfortunatelly we are not able to estimate these using JMulti, so we will have to use another software, i.e. Eviews

¢ | £

12 Seminar5.nb

Page 13: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 11 of 21

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 regime GARCH(1,1) model:

rt = f0+f1 rt-1+ at ,at = st et

st2 = :a0+a1 at-12 + b1 st-12 at-1 § 0

a2+a3 at-12 + b2 st-12 at-1 > 0

we choose Treshold, which will switch between two processes, or two regimes, and deal differently with assymetries

¢ | £

Seminar5.nb 13

Page 14: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 12 of 21

Example of AR(1)-TGARCH(1,1) cont.

ARH1L-TAR-GARCHH1,1LSimulated series Simulated Volatility

treshold - k -1.3

f0 0.05

f1 0.5

a0 0.5

a1 0.3

b1 0.2

a2 0.5

a3 0.3

b2 0.5

New Random Case

ExportSimulated Series

100 200 300 400 500

10

20

30

40

¢ | £

14 Seminar5.nb

Page 15: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 13 of 21

GARCH-M

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+ cst2+ atat = st et ,st2 = a0+ai at-12 + b1 st-12 ,

where m and c are constant. c is also called risk premium

¢ | £

Seminar5.nb 15

Page 16: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 14 of 21

Example GARCH(1,1)-M artificial processes

Note, that with positive risk premium c, returns are positively skewed, as they are positively related to its past volatility

Sample GARCHH1,1L-M ACF function of at2 PACF function of at

2

risk premium c -0.025

a0 0.552

a1 0.324

b1 0.578

New Random Case

ExportSimulated Series

100 200 300 400 500

-10

-5

5

¢ | £

16 Seminar5.nb

Page 17: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 15 of 21

IGARCHIGARCH models are unit-root GARCH models, their key feature is, that past squared shocks is persistent. IGARCH(1,1) is formalized as:at = st et ,st2 = a0+ b1 st-12 + H1- b1L at-12

Example IGARCH(1,1) artificial processes

IGARCHH1,1LSimulated series Simulated Volatility

a0 0.808

b1 0.308

New Random Case

ExportSimulated Series

100 200 300 400 500

-10

-5

5

10

Seminar5.nb 17

Page 18: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

¢ | £18 Seminar5.nb

Page 19: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 16 of 21

EGARCH

more complicated (only for interested students as reference)

logHst2L = w+⁄i=1q b j logIst- j2 M+⁄i=1

p aiet-ist-i

+⁄k=1r gk

et-kst-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 impact will be asymmetric if g ¹≠ 0.

¢ | £

Seminar5.nb 19

Page 20: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 17 of 21

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 forms from lecture).

¢ | £

20 Seminar5.nb

Page 21: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 18 of 21

Multivariate GARCH on PX and WIG

load PX_WIG_2005_2009.txt dataset - Prague and Warsaw indices in 2005-2009 years

¢ | £

Seminar5.nb 21

Page 22: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 19 of 21

Multivariate GARCH on PX and WIG cont.

¢ | £

22 Seminar5.nb

Page 23: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 20 of 21

Multivariate GARCH on PX and WIG cont.

and look at the residuals left, do all the necessary testing...

¢ | £

Seminar5.nb 23

Page 24: Seminar 5 - CASstaff.utia.cas.cz/barunik/files/appliedecono/Seminar5.pdfSeminar 5 GARCH models cont. ... returns as excess volatility, volatility clusters, also fat tails which tells

Slide 21 of 21

Questions

Now you know how to do your Term paper !

Good Luck :-)

¢ | £

24 Seminar5.nb