Page 1 of 1

Problem with OSR procedure

PostPosted: Wed Sep 23, 2015 7:01 am
by econ86
Dear

Re: Problem with OSR procedure

PostPosted: Wed Sep 23, 2015 9:16 am
by jpfeifer
Use the unstable version and try a different optimimzer there.

Re: Problem with OSR procedure

PostPosted: Wed Sep 23, 2015 12:12 pm
by econ86
Is there any example that shows how to do this?

Re: Problem with OSR procedure

PostPosted: Wed Sep 23, 2015 2:05 pm
by jpfeifer
Use e.g.
Code: Select all
osr(opt_algo=9);

in the unstable version (Dynare 4.5)
Examples are at https://github.com/DynareTeam/dynare/tree/master/tests/optimal_policy/OSR

Re: Problem with OSR procedure

PostPosted: Wed Sep 23, 2015 3:32 pm
by econ86
Best.

Re: Problem with OSR procedure

PostPosted: Wed Sep 23, 2015 8:03 pm
by jpfeifer
You need to modify change the call to fmincon by a call to your optimizer. The call to fmincon already shows you which arguments you need to pass to the function to be optimized.

Re: Problem with OSR procedure

PostPosted: Thu Sep 24, 2015 7:39 pm
by econ86
g

Re: Problem with OSR procedure

PostPosted: Fri Sep 25, 2015 6:43 am
by jpfeifer
No, opt_algo=4 is csminwel. To see the cases, look into dynare_minimize_objective.m in the dynare/matlab/optimization folder

Re: Problem with OSR procedure

PostPosted: Fri Sep 25, 2015 8:56 am
by econ86
u

Re: Problem with OSR procedure

PostPosted: Fri Sep 25, 2015 9:00 am
by jpfeifer
4, i.e. csminwel