possible bugs with mode_compute=6

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.

possible bugs with mode_compute=6

Postby bkjecn » Fri May 17, 2013 3:04 pm

I believe that the file that governs the behavior of dynare when mode_compute=6 in the estimation command is gmhmaxlik.m. The wiki indicates that the user should be able to control the behavior with options_.Opt6Numb and options_.Opt6Iter (http://www.dynare.org/DynareWiki/MonteCarloOptimization). In versions 4.3.2 and 4.3.3 of dynare, it is impossible to control the number of simulations because the number is hard-coded to be 200000. This appears to be a bug. In the unstable branch, the bug is sort of fixed, but the documentation is incorrect, making the behavior again unexpected. It appears that options.nscale and options.nclimb replace the previously documented options. This can be seen in lines 85 and 86 of the file at https://github.com/DynareTeam/dynare/bl ... mhmaxlik.m. It is unknown to the user if these undocumented options alter other behavior.
bkjecn
 
Posts: 35
Joined: Thu Oct 13, 2011 3:02 am

Re: possible bugs with mode_compute=6

Postby jpfeifer » Fri May 17, 2013 6:39 pm

UPDATE: The Information in the Wiki is still true. You can only set the number of Iterations used in the estimation of the posterior covariance. The other options (number of iterations in the tuning of the scale parameter and the Hill climbing) have been hardcoded ever since.

The information about the unstable branch (later Dynare 4.4) has been added to the Wiki.
------------
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: possible bugs with mode_compute=6

Postby Aldo » Sat May 06, 2017 3:37 am

Dear jpfeifer,
I am using Dynare 4.4.3 and I set

options_.Opt6Numb = 20000;
options_.Opt6Iter = 1;

before estimation command, but is the third time I see the window of "Tuning of the scale parameter", and I have the next question
What do you mean with "You can only set the number of Iterations used in the estimation of the posterior covariance."? Do you refers to options_.Opt6Iter? or to options_.Opt6Numb?

Thanks
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm

Re: possible bugs with mode_compute=6

Postby jpfeifer » Sat May 06, 2017 7:58 am

In Dynare 4.4.3 you can control pretty much all options of
Code: Select all
mode_compute=6

with the
Code: Select all
optim =(name,value)

option (see the manual). The option governing the iterations in the covariance estimation is
Code: Select all
ncov-mh
------------
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: Google [Bot] and 11 guests