run error

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.

run error

Postby liubin » Mon Mar 02, 2009 6:00 am

hi, michel,
can you tell me how to solve the following problem?

You did not declare endogenous variables after the estimation command.
Loading 60 observations from liu_data.m

Initial value of the log posterior (or likelihood): -47545.8303
??? Undefined function or variable "LIK".

Error in ==> DsgeLikelihood_hh at 224
if imag(LIK) ~= 0

Error in ==> mr_hessian at 35
[f0, ff0]=feval(func,x,varargin{:});

Error in ==> newrat at 50
[dum, gg, htol0, igg, hhg]=mr_hessian(func_hh,x,flagit,htol,varargin{:});

Error in ==> dynare_estimation at 407
[xparam1,hh,gg,fval,invhess] = newrat('DsgeLikelihood',xparam1,hh,gg,igg,crit,nit,flag,gend,data);

Error in ==> nnliufdsge at 1527
dynare_estimation(var_list_);

Error in ==> dynare at 102
evalin('base',fname) ;
think a lot.
liu bin
liubin
 
Posts: 4
Joined: Thu Jul 13, 2006 12:11 am

Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests