Dear Jpferfer,
Thanks for your help. With the latest unstable version of dynare, this problem has been fixed.
However, after a long time of running code to do forecasting, dynare shows the error mesage when it seems that the forecasting is going to finish:
Estimation::mcmc: Forecasted variables (mean)
Estimation::mcmc: Forecasted variables (mean), done!
Estimation::mcmc: Forecasted variables (point)
Estimation::mcmc: Forecasted variables (point), done!
Error using error
The message must be specified as either a string or a message structure.
Error in read_variables (line 104)
error([strtrim(var_names_01(dyn_i_01,:)) ' not found in ' fullname])
Error in dynare_estimation (line 100)
rawdata =
read_variables(options_.datafile,options_.varobs,[],options_.xls_sheet,options_.xls_range);
Error in code (line 523)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 199)
evalin('base',fname) ;
I set in the estimation block as
- Code: Select all
estimation(datafile=data100, mode_compute =4, mh_jscale=0.3,mh_nblocks = 1, mh_replic=200000, nobs=[87:116],forecast=8)y n p_dc pi_c_h r c ;
.
Is it related to my data file or anything else? I don't know which part of my code should be attribute to this problem. Could you help me? You advice is highly appreciated.
Regards,