This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

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

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Ivano Azzini
Riccardo Girardi
Marco Ratto () (Euro-area Economy Modelling Centre)

Additional information is available for the following registered author(s):

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.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. 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
File Format: application/pdf
File Function:
Download Restriction: no

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

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
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

For technical questions regarding this item, or to correct its listing, contact: (Ivano Azzini).

Related research
Keywords: North-South; DSGE models; DYNARE; Matlab; Windows; Parallel Computing;

Find related papers by JEL classification:
C63 - Mathematical and Quantitative Methods - - Mathematical Methods and Programming - - - Computational Techniques

This paper has been announced in the following NEP Reports:

References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
  1. Thomas Lubik & Frank Schorfheide, 2003. "Do Central Banks Respond to Exchange Rate Movements? A Structural Investigation," Economics Working Paper Archive 505, The Johns Hopkins University,Department of Economics. [Downloadable!]
    Other versions:
Full references

Cited by:
(explanations, Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.)

  1. Strid, Ingvar, 2008. "Metropolis-Hastings prefetching algorithms," Working Paper Series in Economics and Finance 706, Stockholm School of Economics. [Downloadable!]
  2. Michael Creel & William Goffe, 2008. "Multi-core CPUs, Clusters, and Grid Computing: A Tutorial," Computational Economics, Springer, vol. 32(4), pages 353-382, November. [Downloadable!] (restricted)
    Other versions:
Statistics
Access and download statistics

Did you know? IDEAS uses the data collected within the RePEc project, the largest online bibliographic database in Economics.

This page was last updated on 2009-12-2.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.