Problem with OSR procedure

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Problem with OSR procedure

Postby econ86 » Wed Sep 23, 2015 7:01 am

Dear
Last edited by econ86 on Sun Nov 29, 2015 9:57 am, edited 1 time in total.
econ86
 
Posts: 78
Joined: Sun Apr 26, 2015 10:32 am

Re: Problem with OSR procedure

Postby jpfeifer » Wed Sep 23, 2015 9:16 am

Use the unstable version and try a different optimimzer there.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Problem with OSR procedure

Postby econ86 » Wed Sep 23, 2015 12:12 pm

Is there any example that shows how to do this?
econ86
 
Posts: 78
Joined: Sun Apr 26, 2015 10:32 am

Re: Problem with OSR procedure

Postby jpfeifer » Wed Sep 23, 2015 2:05 pm

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
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Problem with OSR procedure

Postby econ86 » Wed Sep 23, 2015 3:32 pm

Best.
Last edited by econ86 on Sun Nov 29, 2015 9:42 am, edited 1 time in total.
econ86
 
Posts: 78
Joined: Sun Apr 26, 2015 10:32 am

Re: Problem with OSR procedure

Postby jpfeifer » Wed Sep 23, 2015 8:03 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Problem with OSR procedure

Postby econ86 » Thu Sep 24, 2015 7:39 pm

g
Last edited by econ86 on Sun Nov 29, 2015 9:41 am, edited 1 time in total.
econ86
 
Posts: 78
Joined: Sun Apr 26, 2015 10:32 am

Re: Problem with OSR procedure

Postby jpfeifer » Fri Sep 25, 2015 6:43 am

No, opt_algo=4 is csminwel. To see the cases, look into dynare_minimize_objective.m in the dynare/matlab/optimization folder
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Problem with OSR procedure

Postby econ86 » Fri Sep 25, 2015 8:56 am

u
Last edited by econ86 on Sun Nov 29, 2015 9:41 am, edited 1 time in total.
econ86
 
Posts: 78
Joined: Sun Apr 26, 2015 10:32 am

Re: Problem with OSR procedure

Postby jpfeifer » Fri Sep 25, 2015 9:00 am

4, i.e. csminwel
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests