It is backwards-compatible with the standard Dynare implementation. To turn on the adaptive MH computation, include these lines before the "estimation" command:
- Code: Select all
global amh_t0;
amh_t0 = 20000;
Reducing the value of amh_t0 will start the adaptation earlier, at the risk of mis-estimating the covariance matrix.
This code is based on some stand-alone work by Kristoffer Nimark and Francisco Barillas. Maximum respect to them; all errors are mine.