Apparently, you don't understand the difference between a mod-file and Matlab code. I told you to use
- Code: Select all
load_mh_file
within the estimation command of the mod-file. Combine this with
- Code: Select all
mh_replic=0
and
- Code: Select all
mode_compute=0,mode_file=nametoyourmodefile
where nametoyourmodefile is the mode-file generated by your last estimation run. Also add
- Code: Select all
forecast=x
where x is the number of periods you will forecast. In total, you will have something like
- Code: Select all
estimation (datafile=MYdata, nobs=200, first_obs=500, mh_replic=0, mh_nblocks=2, mh_drop=0.45, mh_jscale=0.8, mode_compute=0,mode_file=nametoyourmodefile,load_mh_file,forecast=5)
Then run Dynare on this mode-file. This should load the previous draws you had and compute forecasts without reestimating the model. This avoids manipulating the Matlab files, which, given your apparent knowledge of Dynare at this point seems a tall task.