I've been having a problem when recursively estimating a model. After the first round of the MH algorithm, I'm always getting the following message:
- Code: Select all
MH: Forecasted variables (mean)
MH: Forecasted variables (mean), done!
MH: Forecasted variables (point)
MH: Forecasted variables (point), done!
Error using set
Bad property value found.
Object Name: axes
Property Name: 'XLim'
Values must be increasing and non-NaN.
Error in xlim (line 44)
set(ax,'xlim',val);
Error in dynare_estimation_1 (line 1044)
xlim([1 gend])
Error in dynare_estimation (line 66)
dynare_estimation_1(var_list,M_.dname);
Error in sim2est (line 142)
dynare_estimation(var_list_);
Error in dynare (line 120)
evalin('base',fname) ;
The model is running easily when estimating it with fixed samples. My last line of command is:
- Code: Select all
estimation(datafile=data,nobs=[1:40], forecast=1,nodisplay, mh_replic=40000,mh_nblocks=5,mh_drop=0.5,mh_jscale=0.8,mode_compute=6,mode_check,moments_varendo);
I have a data file with 172 points. Thanks for helping me,
Luckas.