Newrat's code not working (Dynare 4)
Posted: Mon Sep 21, 2009 7:11 pm
Hello,
I have been trying to use newrat's code during the estimation with the new Dynare snapshot (mode_compute = 5), but I am encountering the following problem:
Anyone has a suggestion on how to overcome this?
Thanks,
Andrea
I have been trying to use newrat's code during the estimation with the new Dynare snapshot (mode_compute = 5), but I am encountering the following problem:
- Code: Select all
??? Input argument "number_of_observations" is undefined.
Error in ==> DsgeLikelihood_hh at 166
no_missing_data_flag = (number_of_observations==gend*nobs);
Error in ==> mr_hessian at 50
[f0, ff0]=feval(func,x,varargin{:});
Error in ==> newrat at 63
[dum, gg, htol0, igg, hhg]=mr_hessian(func_hh,x,flagit,htol,varargin{:});
Error in ==> dynare_estimation_1 at 419
[xparam1,hh,gg,fval,invhess] =
newrat('DsgeLikelihood',xparam1,hh,gg,igg,crit,nit,flag,gend,data);
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> model_07_exp at 581
dynare_estimation(var_list_);
Error in ==> dynare at 102
evalin('base',fname) ;
Anyone has a suggestion on how to overcome this?
Thanks,
Andrea