Dear all, When I run forecastloop7.m and use the code to generate forecast , I have the following problem . I don’t know whether the reason is I used read_variables.m from 4.4.3 rather than 4.5.5?
generate_forecast_uncond.m (2.2 KB)
initialize_dataset1.m (3.4 KB)
ParamPosteriorDraw.m (1.8 KB)
Unrecognized field name “set_auxiliary_variables”.
Error in evaluate_steady_state_file (line 73)
if M.set_auxiliary_variables
Error in evaluate_steady_state (line 212)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, options,steadystate_check_flag);
Error in resol (line 104)
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,~options.steadystate.nocheck);
Error in dynare_resolve (line 69)
[dr,info,Model,DynareOptions,DynareResults] = resol(0,Model,DynareOptions,DynareResults);
Error in DsgeSmoother (line 105)
[T,R,SteadyState,info,M_,options_,oo_] = dynare_resolve(M_,options_,oo_);
Error in generate_forecast_uncond (line 28)
[atT,innov,measurement_error,filtered_state_vector,ys,trend_coeff,aK,T,R] = DsgeSmoother(xparam,gend,data,data_index,missing_value,M_,oo_,options_,bayestopt_,estim_params_);
Error in forecastloop7 (line 90)
[fmean fdraws] = generate_forecast_uncond(fcst_options);
forecastloop7.m (3.9 KB)
trytosolve.m (3.1 KB)