Mode compute = 6 Monte Carlo routine
Posted: Mon May 04, 2015 10:44 am
Hi Johannes,
I have been trying to estimate a small scale NK model with deep habits using my own MATLAB codes. However, it seems to be that csminwel fails to find the correct mode. That's why I am now trying to use Monte Carlo routine as in mode_compute = 6 to get the mean and covariance matrix for the jumping distribution in the MH algorithm. Toward that purpose I have tried to write up a MATLAB code for that in spirit of what mode_compute = 6 is doing. But for some reason it's not working. Could you please provide me with the mode_compute = 6 code that DYNARE is using so that I can have a look at it for better understanding?
Moreover, could you briefly explain what's the reasoning behind the updating scheme for mean and covariance matrix which DYNARE is using in mode_compute = 6 as stated here:
http://www.dynare.org/DynareWiki/MonteCarloOptimization
Please find attached the MATLAB code I have written in spirit to mode_compute = 6 as described in the above link.
Looking forward to your response.
Cheers,
Qazi
I have been trying to estimate a small scale NK model with deep habits using my own MATLAB codes. However, it seems to be that csminwel fails to find the correct mode. That's why I am now trying to use Monte Carlo routine as in mode_compute = 6 to get the mean and covariance matrix for the jumping distribution in the MH algorithm. Toward that purpose I have tried to write up a MATLAB code for that in spirit of what mode_compute = 6 is doing. But for some reason it's not working. Could you please provide me with the mode_compute = 6 code that DYNARE is using so that I can have a look at it for better understanding?
Moreover, could you briefly explain what's the reasoning behind the updating scheme for mean and covariance matrix which DYNARE is using in mode_compute = 6 as stated here:
http://www.dynare.org/DynareWiki/MonteCarloOptimization
Please find attached the MATLAB code I have written in spirit to mode_compute = 6 as described in the above link.
Looking forward to your response.
Cheers,
Qazi