hi everyone,
I am having some trouble with rolling volatility forecasts.
I have a file containing 4208 observations and I choose 1-4000 as in sample observations and 4001-4208 as out of sample observations, when I run the code, it said %CMND is not defined or is an illegal command in ''CMND = _THIS.@COMMAND'', Perhaps, I'm not getting something right. can anyone tell me how to change the code? these attachments are my program and eviews work file.
Thanks a lots.
GARCH rolling forecast
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
penguin006
- Posts: 5
- Joined: Wed Jul 17, 2013 4:17 pm
GARCH rolling forecast
- Attachments
-
- skk.wf1
- (185.04 KiB) Downloaded 261 times
-
- program.prg
- (1.64 KiB) Downloaded 320 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: GARCH rolling forecast
Which version of EViews?
-
penguin006
- Posts: 5
- Joined: Wed Jul 17, 2013 4:17 pm
Re: GARCH rolling forecast
hi,Which version of EViews?
I am using eviews 7.2. thank you
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: GARCH rolling forecast
From the look of your code, it looks like you have to have an equation object open when running it (that's what the _this.@command is for anyway, I presume).
Do you have an equation open?
Do you have an equation open?
-
penguin006
- Posts: 5
- Joined: Wed Jul 17, 2013 4:17 pm
Re: GARCH rolling forecast
oh yes, I am tried again, it worked! thank you!!! , but it said Matrix size mismatch in "COLPLACE(COEFMAT,EQ01.@COEFS,1)".From the look of your code, it looks like you have to have an equation object open when running it (that's what the _this.@command is for anyway, I presume).
Do you have an equation open?
Syntax error in "IF @LAST < 806 THEN".
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: GARCH rolling forecast
You can't use @last like that.
-
penguin006
- Posts: 5
- Joined: Wed Jul 17, 2013 4:17 pm
Re: GARCH rolling forecast
You can't use @last like that.
thank you for your reply, but i am not very clear about use @last like, could you please explain it ?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: GARCH rolling forecast
What are you trying to do with that line?
-
penguin006
- Posts: 5
- Joined: Wed Jul 17, 2013 4:17 pm
Re: GARCH rolling forecast
hi, I am changed this code , and it looks like worked. Could you please check it for me?What are you trying to do with that line?
many thanks.
- Attachments
-
- program.prg
- (1.64 KiB) Downloaded 402 times
Who is online
Users browsing this forum: No registered users and 1 guest
