IDEAS home Printed from https://ideas.repec.org/
MyIDEAS: Login to save this paper or follow this series

Parallelization of Matlab codes under Windows platform for Bayesian estimation: A Dynare application

  • Ivano Azzini
  • Riccardo Girardi
  • Marco Ratto

    ()

    (Euro-area Economy Modelling Centre)

In the Bayesian estimation of DSGE models with DYNARE (specifically the Matlab Version for Windows), most of the computing time is devoted to the posterior estimation with the Metropolis algorithm. Usually, the Metropolis is run using multiple parallel chains, to allow more careful convergence testing. In this work we describe a way to parallelize the multiple-chain Metropolis algorithm within the Dynare Framework, running parallel chains on different processors to reduce computational time. To do so, we aimed at the easiest and cheapest possible strategy, i.e. the one which requires the lower level of modification in the basic DYNARE routines and does not need any licensed toolbox. Despite the fact that parallelizing the Metropolis-Hasting algorithm is intrinsically easy (the different chains are completely independent each other and do not require communication between them), MatLab software does not allow concurrent programming, or in other terms it does not support multi-threads, without the use of MatLab Distributed Computing Toolbox. The general idea is that when the execution of the Metropolis should start, instead of running it inside the MatLab session, the control of the execution is passed to the operating system that allows for multi-threading and concurrent threads are launched on different processors. When the metropolis computations are concluded the control is given back to the original MatLab session for post-processing Markov Chain results.

If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://eemc.jrc.ec.europa.eu/EEMCArchive/Publications/2007/Azzini2007-1.pdf
Our checks indicate that this address may not be valid because: 404 Not Found (http://eemc.jrc.ec.europa.eu/EEMCArchive/Publications/2007/Azzini2007-1.pdf [302 Found]--> http://ipsc.jrc.ec.europa.eu/?id=790 [301 Moved Permanently]--> https://ec.europa.eu/jrc/en/eemc). If this is indeed the case, please notify (Ivano Azzini)


Download Restriction: no

Paper provided by Euro-area Economy Modelling Centre in its series Working Papers with number 1.

as
in new window

Length: 34 pages
Date of creation: 2007
Date of revision:
Handle: RePEc:eem:wpaper:1
Contact details of provider: Web page: http://eemc.jrc.ec.europa.eu/

More information through EDIRC

No references listed on IDEAS
You can help add them by filling out this form.

This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

When requesting a correction, please mention this item's handle: RePEc:eem:wpaper:1. See general information about how to correct material in RePEc.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Ivano Azzini)

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

If references are entirely missing, you can add them using this form.

If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.