Error when estimating a model

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.

Error when estimating a model

Postby stevejobenemily » Mon Jul 20, 2009 4:17 pm

I am trying to estimate a DSGE model showing the impact of oil and gas price movements on inflation and output in the United Kingdom. The model solves fine. But when we get to the estimation stage, the programme generates plots of the priors and then shortly after I get the following error message:

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

Error in ==> DiffuseLikelihood1 at 55
v = Y(:,t)-a(mf)-trend(:,t);

Error in ==> DsgeLikelihood at 154
LIK = DiffuseLikelihood1(T,R,Q,Pinf,Pstar,data,trend,start);

Error in ==> initial_estimation_checks at 20
[fval,cost_flag,ys,trend_coeff,info] = DsgeLikelihood(xparam1,gend,data);

Error in ==> dynare_estimation at 247
initial_estimation_checks(xparam1,gend,data);

Error in ==> BayesianBBWE at 502
dynare_estimation(var_list_);

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

Any ideas what might be causing this?
stevejobenemily
 
Posts: 2
Joined: Mon Jul 20, 2009 4:10 pm

Re: Error when estimating a model

Postby StephaneAdjemian » Fri Aug 28, 2009 3:37 pm

Hi, Can you post your files?
Best, Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

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