discre.mod (2.8 KB)
Dear Professor,
I attached your Gali Ch5 discretionary mod and your policy frontier code. Policy frontier - Optimal Policy - Dynare ForumBur it got errors.
error stochastic_solvers (row 210 )
b(:,cols_b) = jacobia_(:,cols_j);
^^^^^^^^^^^
error resol (row 115 )
[dr, info] = stochastic_solvers(dr, check_flag, M_, options_, exo_steady_state, exo_det_steady_state);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error osr.objective (row 46 )
[oo_.dr,info,M_.params] = resol(0,M_,options_,oo_.dr ,oo_.steady_state, oo_.exo_steady_state, oo_.exo_det_steady_state);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error osr.run (row 115 )
[loss,info]=osr.objective(par_0,M_,oo_,options_,i_params,inv_order_var(i_var),W(i_var,i_var));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error discre.driver (row 359 )
[info, oo_, options_, M_] = osr.run(M_, options_, oo_, {}, M_.osr.param_names, M_.osr.variable_indices,M_.osr.variable_weights);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error dynare (row 308 )
evalin(‘base’,[fname ‘.driver’]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
My question is this.Can discretionary and the policy frontier combine? I’m quite confused. Thanks professor for your time.Sorry I changed a lot of times,because I have in a class.