EconPapers    
Economics at your fingertips  
 

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

Ivano Azzini (), Riccardo Girardi and Marco Ratto ()

No 1, Working Papers from Euro-area Economy Modelling Centre

Abstract: 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.

Keywords: North-South; DSGE models; DYNARE; Matlab; Windows; Parallel Computing (search for similar items in EconPapers)
JEL-codes: C63 (search for similar items in EconPapers)
Pages: 34 pages
Date: 2007
New Economics Papers: this item is included in nep-cba, nep-cmp and nep-ecm
References: Add references at CitEc
Citations: View citations in EconPapers (1) Track citations by RSS feed

Downloads: (external link)
http://eemc.jrc.ec.europa.eu/EEMCArchive/Publications/2007/Azzini2007-1.pdf (application/pdf)
Our link check indicates that this URL is bad, the error code is: 500 Can't connect to eemc.jrc.ec.europa.eu:80 (No such host is known. )

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eem:wpaper:1

Access Statistics for this paper

More papers in Working Papers from Euro-area Economy Modelling Centre Contact information at EDIRC.
Bibliographic data for series maintained by Ivano Azzini ( this e-mail address is bad, please contact ).

 
Page updated 2021-10-15
Handle: RePEc:eem:wpaper:1