Not running in Dynare 4

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Not running in Dynare 4

Postby mauriceroche » Mon Oct 20, 2008 7:19 pm

Hi Michel,

I have attached 2 versions of a program (it is a simple 2 country monetary RBC model).

The file q11t.mod gets dynare to solve for the steady states.
The file q11.mod gets the steady states from the file q11_steadystate.m.
The rest of the code is the same.

The two programs run in Dynare 3.065 but not in the latest version of Dynare 4.0.1. Dynare will not solve for the steady state. I cannot tell from the error message what the problem is. Perhaps there is another bug in 4.0.1.

I would be oblidged if you could run either program in Dynare 4.0.1 and get back to me.

regards,

Mo
q11.mod
q11_steadystate.m
q11t.mod
You do not have the required permissions to view the files attached to this post.
mauriceroche
 
Posts: 16
Joined: Tue Oct 03, 2006 7:42 pm

Re: Not running in Dynare 4

Postby SébastienVillemot » Tue Oct 21, 2008 10:51 am

Hi,

First, the way Dynare deals with steadystate file has change between v3 and v4, so your example composed of q11.mod and q11_steadystate.m cannot work directly in v4.

So you should use q11t.mod as a starting point.

The point is that the steady state you provide is actually not a steady state of the model. The residuals are non zero on equations 6 and 8 (for u_n_h and u_n_f).

Dynare 3 accepts your file because you provide solve_algo=3 in steady(). This option does not exist in v3, and was introduced in v4. When you use it in v3, Dynare doesn't complain and accepts your initval as a steady state (we should have added an error message instead).

Remove solve_algo=3, and you will see that Dynare v3 is not able to compute the steady state either. You probably made a mistake in the formulas used to manually compute your steady state.

Best

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

Re: Not running in Dynare 4

Postby mauriceroche » Tue Oct 21, 2008 6:10 pm

Sébastien,
Thank you.

I have a few queries.
After running the following command
stoch_simul(order=1,irf=0,periods=200,hp_filter=1600) y_h y_f ;
I check the sample size.

There are 203 rows (observations) in y_h. Where did the 3 extra observations come from?
Is there a way of checking how many observations were used in the file calculating the simulated moments?

There was a file called hpfast.m in Dynare version 3. Where is this file in version 4?

regards,
Mo
mauriceroche
 
Posts: 16
Joined: Tue Oct 03, 2006 7:42 pm


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests