dynare 4.2.0 error?

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.

dynare 4.2.0 error?

Postby ezequielac » Wed Feb 16, 2011 12:45 pm

Hi there,
I just downloaded Dynare 4.2.0 and I am experiencing some errors with a very simple model that used to work smoothly in Dynare 4.1.3

The model is a sinmple version of Clarida, Gali, Gertler (1999) augmented with am exchange rate equation. If the exchante rate is defined as a first difference (so that it is stationary) no problem arises. But if I define the exchange rate in levels (and therefore use the unit_root_vars command) it crashes in Dynare 4.2.0 (but not in Dynare 4.1.3)

The error i get in version 4.2.0 is as follows:

Error in computing likelihood for initial parameter values
??? Error using ==> print_info at 39
Blanchard Kahn conditions are not satisfied: no stable equilibrium

Error in ==> initial_estimation_checks at 101
print_info(info, options_.noprint)

Error in ==> dynare_estimation_1 at 367
initial_estimation_checks(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> modelo_css at 196
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;

Error in ==> dynare_run at 6
dynare modelo_css.mod

Any ideas?
Thanks in advance,
Ezequiel
Attachments
modelo_css_steadystate.m
(664 Bytes) Downloaded 153 times
modelo_css.mod
(2.87 KiB) Downloaded 209 times
datamacro.xls
(26 KiB) Downloaded 154 times
ezequielac
 
Posts: 2
Joined: Wed Jan 12, 2011 7:17 pm

Re: dynare 4.2.0 error?

Postby SébastienVillemot » Tue Feb 22, 2011 10:05 am

Hi,

Your problem comes from the fact that your model has a unit root, and that you are using the "normal" Kalman filter.

Previously, Dynare was accepting this, even though it is not correct. Now, Dynare refuses to do so, even though I admit that the error message is not very explicit.

The solution is to use the diffuse Kalman filter, by adding the "diffuse_filter" option to estimation command.

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: dynare 4.2.0 error?

Postby ezequielac » Tue Feb 22, 2011 7:43 pm

Thanks Sebastien,

It now works. Thanks for the promt reply.
Cheers,
Ezequiel
ezequielac
 
Posts: 2
Joined: Wed Jan 12, 2011 7:17 pm

Re: dynare 4.2.0 error?

Postby simpleplan099 » Wed May 15, 2013 6:42 am

ezequielac wrote:Thanks Sebastien,

It now works. Thanks for the promt reply.
Cheers,
Ezequiel

could you share your final version?
simpleplan099
 
Posts: 4
Joined: Tue Dec 11, 2012 4:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests