Regime switching VAR-GARCH-BEKK model

If you are seeking RATS code for implementing a particular technique or replicating results from a paper, post your request here. Be sure to include complete citations for any papers or books.
thulz
Posts: 6
Joined: Sat Apr 04, 2015 7:22 am

Regime switching VAR-GARCH-BEKK model

Unread post by thulz »

does anyone have codes for estimation of a bivariable regime switching VAR-BEKK model or regime switching VAR-GARCH-in-mean model? any assistance would be highly appreciated.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Regime switching VAR-GARCH-BEKK model

Unread post by TomDoan »

Do you have a reference? I can't imagine a model like that would actually work.
thulz
Posts: 6
Joined: Sat Apr 04, 2015 7:22 am

Re: Regime switching VAR-GARCH-BEKK model

Unread post by thulz »

not really. my professor suggested i try the model. my paper is on estimating the effects of commodity price volatility regimes on stock returns.Or could a normal VAR GARCH-BEKK be used instead?
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Regime switching VAR-GARCH-BEKK model

Unread post by TomDoan »

I would certainly start with a single regime model. GARCH models, after all, effectively generate "regimes" on their own, since there will be high volatility and low volatility periods because of the persistence of the GARCH process. Threshold models (as opposed to hidden Markov switching models) can work for GARCH, so that would be the direction to go if you're trying to generalize. But start with a basic VAR-GARCH and see if there is any sign that it's inadequate.
thulz
Posts: 6
Joined: Sat Apr 04, 2015 7:22 am

Re: Regime switching VAR-GARCH-BEKK model

Unread post by thulz »

my reference paper is "Capital Inflows and Exchange Rate Volatility in Korea" by Choi, Chung and Kim. the paper uses elder's 2004 model as well a hamilton markov model. but i dont know how to incorporate the regime switching part. Any assistance would be appreciated.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Regime switching VAR-GARCH-BEKK model

Unread post by TomDoan »

I think you're a bit confused about what they're doing. They're doing a Markov switching model (univariate model on the exchange rate), and also doing a separate VAR-GARCH model. They aren't combining the two.
thulz
Posts: 6
Joined: Sat Apr 04, 2015 7:22 am

Re: Regime switching VAR-GARCH-BEKK model

Unread post by thulz »

i think i am confused. how were they able to regress the low and high volatility regimes on capital flows?
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Regime switching VAR-GARCH-BEKK model

Unread post by TomDoan »

It looks like the description in the text of the article has the regression described backwards. Table 3 shows capital flows regressed on the "HighRegime" series (which I assume is the smoothed probability of the high volatility regime) not regime regressed on capital flows.
thulz
Posts: 6
Joined: Sat Apr 04, 2015 7:22 am

Re: Regime switching VAR-GARCH-BEKK model

Unread post by thulz »

ok. that makes sense. thanks for the clarification. Is there a code or procedure i can use to regress the smoothed probability on capital inflows?
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Regime switching VAR-GARCH-BEKK model

Unread post by TomDoan »

Prof. Choi graciously provided the data used for the MS part of the analysis. See https://estima.com/forum/viewtopic.php?f=8&t=2343. Again, you are describing that backwards---the regression is of capital flows on the regime, not regime on capital flows. Since the paper isn't about regime switching VAR-GARCH-BEKK models, please use that other thread if you have questions about it.

One thing to note is that the reason they went to the VAR-GARCH model is that the capital flows on volatility regime is a two-step procedure which uses a generated regressor, while the VAR-GARCH model does a joint estimate.
thulz
Posts: 6
Joined: Sat Apr 04, 2015 7:22 am

Re: Regime switching VAR-GARCH-BEKK model

Unread post by thulz »

I think I understand. thank you for all the assistance. the link you provided was very helpful. :D
irfanawan
Posts: 40
Joined: Wed Apr 01, 2015 2:12 pm

Re: Regime switching VAR-GARCH-BEKK model

Unread post by irfanawan »

Looking for code of Markov regime switching GARCH model proposed by Alizadeh, A.H., Nomikos, N.K., Pouliasis, P.K., 2008. A Markov regime switching approach
to hedging energy commodities. J. Bank. Financ. 32, 1970–1983

Regards,
Irfan
Post Reply