Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Regime-Switching GARCH (Juri Marcucci's Paper)

14 views
Skip to first unread message

Efe Cagli

unread,
Aug 23, 2009, 12:16:02 PM8/23/09
to
To replicate results in Juri Marcucci's paper (Forecasting Stock Market Volatility with Regime-Switching GARCH Models), I run matlab codes but an error appears;

-------------- "garchestfor_con_all.m"

??? Index exceeds matrix dimensions.

Error in ==> garchestfor_con_all at 161
values1(:,(find(A(4,:)*values1>1)))=[];
--------------------------------------------------------------------------------
->another error also occurs when I run the code file "mrsgarchestfor_con_all.m"

??? Subscripted assignment dimension mismatch.

Error in ==> mrsgarchestfor_con_all at 302
Parameters(:,index+1,2) = GRAD(:);
--------------------------------------------------------------------------------
Could you help me to run this code properly? Why do I get this error messages?
Code file can be obtained in the following address:
http://works.bepress.com/juri_marcucci/1/

Eduardo Horta

unread,
Sep 2, 2010, 7:19:04 PM9/2/10
to
Any success yet?

I've had the same problem. I'm sending an e-mail directly to the author, though. If I get any answers I'll let you know.

"Efe Cagli" <ecc...@gmail.com> wrote in message <h6rq02$h9v$1...@fred.mathworks.com>...

Eduardo Horta

unread,
Sep 3, 2010, 10:39:25 AM9/3/10
to
The author pointed out that there are a few typos in the code uploaded to http://works.bepress.com/juri_marcucci/1/

The suggested corrections can be found at http://sites.google.com/site/jurimarcucci/publications/hints-for-mrsgarch-program

Cheers

"Eduardo Horta" <edu....@hotmail.com> wrote in message <i5pbd8$48a$1...@fred.mathworks.com>...

0 new messages