CMAES options

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.

CMAES options

Postby dareios82 » Tue Dec 10, 2013 2:56 am

Hi,

I am using CMAES to maximize the posterior likelihood of a large scale model, after repeated unsuccessful attempts with csminwel. CMAES did a great job, and converged to a value of around 3300. But when I used the mode as a new initial guess, I was able to go down by 50 points. I have two questions:

1. How can I control CMAES settings? For instance, to deal with local maxima, I was thinking to increase the population size and/or have multiple restarts.

2. If anyone else has been playing with this algorithm, suggestions on which options to change to improve its performance (in terms of finding the global max) are very welcome.

Anyway, I think CMAES is an excellent algorithm, thanks for adding it to Dynare!
dareios82
 
Posts: 10
Joined: Sat Jun 30, 2007 3:01 pm

Re: CMAES options

Postby jpfeifer » Tue Dec 10, 2013 10:55 am

You can pass options to CMAES by setting subfields of
Code: Select all
options_.cmaes

like
Code: Select all
options_.cmaes.TolFun = 1e-7;
options_.cmaes.TolX = 1e-7;

(those are the defaults)
The typical parameter to tweak is the population size. For more guidance, see Andreasen (2009): How to Maximize the Likelihood Function for a DSGE Model
------------
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 6 guests