Norges Bank

Working Paper

Parallel sequential Monte Carlo for efficient density combination: The DeCo MATLAB toolbox

Author:
Roberto Casarin, Stefano Grassi, Francesco Ravazzolo and Herman K. van Dijk
Series:
Working Paper
Number:
11/2014

Abstract

This paper presents the MATLAB package DeCo (density combination) which is based on the paper by Billio, Casarin, Ravazzolo, and van Dijk (2013) where a constructive Bayesian approach is presented for combining predictive densities originating from different models or other sources of information. The combination weights are time-varying and may depend on past predictive forecasting performances and other learning mechanisms. The core algorithm is the function DeCo which applies banks of parallel Sequential Monte Carlo algorithms to filter the time-varying combination weights. The DeCo procedure has been implemented both for standard CPU computing and for graphical process unit (GPU) parallel computing. For the GPU implementation we use the MATLAB parallel computing toolbox and show how to use general purpose GPU computing almost effortlessly. This GPU implementation provides a speed up of the execution time of up to seventy times on a standard CPU MATLAB implementation on a multicore CPU. We show the use of the package and the computational gain of the GPU version through some simulation experiments and empirical applications.

Norges Bank’s Working Papers present research projects and reports that are generally not in their final form. Other analyses by Norges Bank’s economists are also included in the series. The views and conclusions in these documents are those of the authors.

Norges Bank’s Working Papers can also be found in Norges Bank's publication archive, RepEc and BIS Central Bank Research Hub

ISSN 1502-8143 (online)

Published 24 July 2014 09:00
Published 24 July 2014 09:00