VAR-GARCH-M

Discussions of ARCH, GARCH, and related models

Re: VAR-GARCH-M

Postby economics2012 » Tue Apr 23, 2013 2:13 pm

I think I had an error in the previous code I sent.

Code: Select all
compute %%garchh=%zeros(%nvar,%nvar)
do i=1,%nvar
   compute %%garchh(i,i)=(garchp(i)(1)+garchp(i)(2)*M(time)+garchp(i)(3)*Tu(time)+garchp(i)(4)*W(time)+garchp(i)(5)*TH(time))+$
garchp(i)(6)*uu(time-1)(i,i)+garchp(i)(7)*hh(time-1)(i,i)
end do i
end


In the previous one I didn't multiply by (1-garchp(i)(6)-garchp(i)(7)). So, the below one is the correct one. Am I right?

Code: Select all
compute %%garchh=%zeros(%nvar,%nvar)
do i=1,%nvar
   compute %%garchh(i,i)=(1-garchp(i)(6)-garchp(i)(7))*(garchp(i)(1)+garchp(i)(2)*M(time)+garchp(i)(3)*Tu(time)+garchp(i)(4)*W(time)+garchp(i)(5)*TH(time))+$
garchp(i)(6)*uu(time-1)(i,i)+garchp(i)(7)*hh(time-1)(i,i)
end do i
end


Many thanks
economics2012
 
Posts: 62
Joined: Thu Jan 19, 2012 5:41 pm

Re: VAR-GARCH-M

Postby economics2012 » Tue Apr 23, 2013 4:10 pm

I mean that I need to multiply by (1-garchp(i)(6)-garchp(i)(7)) for the day-of-the-week effect to be parameterized in terms of unconditional variances rather than variance intercepts as discussed in the Baillie-Bollerslev article.

Correct?
economics2012
 
Posts: 62
Joined: Thu Jan 19, 2012 5:41 pm

Re: VAR-GARCH-M

Postby TomDoan » Wed Apr 24, 2013 1:39 pm

economics2012 wrote:I mean that I need to multiply by (1-garchp(i)(6)-garchp(i)(7)) for the day-of-the-week effect to be parameterized in terms of unconditional variances rather than variance intercepts as discussed in the Baillie-Bollerslev article.

Correct?


That's correct.
TomDoan
 
Posts: 2718
Joined: Wed Nov 01, 2006 5:36 pm

Re: VAR-GARCH-M

Postby economics2012 » Wed Apr 24, 2013 5:17 pm

Thanks a lot for all the help.
economics2012
 
Posts: 62
Joined: Thu Jan 19, 2012 5:41 pm

Re: VAR-GARCH-M

Postby economics2012 » Tue May 07, 2013 3:53 pm

Hi Tom,

I need to test using any information criteria for the number of lags of sqrthoil I need to add to the model. I added five lags but I need to test it.

Can you please help me doing it using RATS?

I can't thank you enough for all your help.
economics2012
 
Posts: 62
Joined: Thu Jan 19, 2012 5:41 pm

Re: VAR-GARCH-M

Postby TomDoan » Tue May 07, 2013 6:48 pm

economics2012 wrote:Hi Tom,

I need to test using any information criteria for the number of lags of sqrthoil I need to add to the model. I added five lags but I need to test it.

Can you please help me doing it using RATS?

I can't thank you enough for all your help.


I wouldn't really recommend using an IC to choose that. Just run the 5 lag and do sequential exclusion tests on the longer lags (with TEST).
TomDoan
 
Posts: 2718
Joined: Wed Nov 01, 2006 5:36 pm

Previous

Return to ARCH and GARCH Models

Who is online

Users browsing this forum: No registered users and 1 guest

cron