Run error

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

Error in ==> dynare at 102
evalin(‘base’,fname) ;
think a lot.