During estimation of a medium scale dsge model, I get the error:
- Code: Select all
Reference to a cleared variable DH.
Error in dsge_likelihood (line 714)
tmp(j,:)=DH(j,j,:);
Error in dynare_estimation_1 (line 616)
[junk1, junk2, hh] = feval(objective_function,xparam1, ...
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in main (line 720)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
Error in main_mainfile (line 173)
dynare main noclearall
I am using mode_compute=4. Is this a bug, or is there a problem with my program? Is there a quick fix to it?
I am using dynare 4.4.3 and Matlab R2016a. Thanks for taking a look!