Page 1 of 1

Help! Error when estimating a dsge model

PostPosted: Wed Nov 23, 2011 11:08 am
by chenzheng0615
I am trying to estimate a DSGE model ,when we get to the estimation stage, I get the following error message:

??? Error using ==> minus
Matrix dimensions must agree.

Error in ==> set_prior at 264
if any(bayestopt_.p5-old.bayestopt_.p5)

Error in ==> dynare_estimation_1 at 104
[xparam1,estim_params_,bayestopt_,lb,ub,M_] =
set_prior(estim_params_,M_,options_);

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

Error in ==> cz at 662
dynare_estimation(var_list_);

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


I would really appreciate it if someone could take a look and point me in the right direction. Thanks a lot!

Re: Help! Error when estimating a dsge model

PostPosted: Fri Nov 25, 2011 11:31 am
by SébastienVillemot
I cannot replicate your problem because you did not post the datafile.

Also, which version of Dynare are you using?

Best,

Re: Help! Error when estimating a dsge model

PostPosted: Sun Nov 27, 2011 3:20 pm
by chenzheng0615
sorry,I can't upload the mat file,so i have to upload the excle file instead,but add .m in the end,and my dynare version is 4.2.0.Thank you so much!

Re: Help! Error when estimating a dsge model

PostPosted: Wed Dec 21, 2011 3:27 pm
by SébastienVillemot
Using Dynare 4.2.4, I get a different error from yours:

Code: Select all
Error in computing likelihood for initial parameter values
{Error using print_info (line 42)
Blanchard Kahn conditions are not satisfied: indeterminacy


I think you should do two things:

  • Upgrade to Dynare 4.2.4
  • Change the initial values for you estimated parameters until you get a stable solution for the initial guess

Best,

Re: Help! Error when estimating a dsge model

PostPosted: Fri Feb 07, 2014 6:14 pm
by selima
Sorry for this intervention but I have the same problem and I try to upgrade to 4.2.4 from the site web http://www.dynare.org/download/dynare-stable but I did not find this version can you guide me please? thank you very much

Re: Help! Error when estimating a dsge model

PostPosted: Fri Feb 07, 2014 6:50 pm
by jpfeifer
Always use the most recent stable version, which would be 4.4.1.