the Secondary Moment of BGG

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

the Secondary Moment of BGG

Postby dean0504 » Wed Apr 14, 2010 2:49 am

Hey,guys!I got the BGG code and modified the parameters.The programme can run succesufully,but dynare doesn't show me all the secondary moments of the variables,just some of the jump variables.Would you like to tell me what the reasons are and what should I do if I want the secondary moments of the full model?

The attachment is my code.Thanks a lot!


Dean
Attachments
bgg.mod
baseline BGG model with the Chinese parameters
(1.71 KiB) Downloaded 150 times
dean0504
 
Posts: 25
Joined: Mon Jan 04, 2010 8:10 am

Re: the Secondary Moment of BGG

Postby SébastienVillemot » Thu Apr 15, 2010 9:54 am

Hi

This is because there is a unit-root in your model. Some variables are not stationary, so the moments don't exist. You need to report the moments after detrending, for example using the HP filter like that:

Code: Select all
stoch_simul(irf=24, hp_filter = 5);


Best
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: the Secondary Moment of BGG

Postby dean0504 » Thu Apr 15, 2010 2:19 pm

Thanks,man!It runs very well!Thanks a lot!
dean0504
 
Posts: 25
Joined: Mon Jan 04, 2010 8:10 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 13 guests