MJ: Reference to non-existent field 'Forecast'

Hi MJ,
i get the following message when i try to estimate with my subsample. it is strange as i have not used the forecast command.
could you please check?

here is the command i used

estimation(datafile=April_Use_inf,presample=1 ,nobs =([51:143]),mh_nblocks=1, mh_replic=0, mh_jscale=0.5, mode_compute=4,mode_check,bayesian_irf) S RFD RTB C CSTAR R RSTAR ;

and here is the output after the posterior mode was computed

??? Error using ==> eval
Reference to non-existent field ‘Forecast’.

Error in ==> dynare_estimation at 1246
eval(‘oo_.RecursiveForecast.Mean.’ varlist(i,:slight_smile: ‘(’ int2str(iter1) ‘,:slight_smile: =’ …

Error in ==> one at 365
dynare_estimation(var_list_);

reuben

nobs=([51:143]) means estimate the model over and over again for every subsample going from observation 1 to observation 51 to 143. I doubt that it is what you want to do and anyway the only use of this syntax is to do “running” forecasts increasing the sample by one observation everytime.

If you want to estimate for the subsample [51; 143], you should write the options

Best

Michel