This paper presents the Matlab package DeCo (Density Combination) which is based on the paper by Billio et al. (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 Purposes GPU computing almost effortless. This GPU implementation comes with a speed up of the execution time up to seventy times compared to 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.

, , , ,
, , ,
Tinbergen Institute
hdl.handle.net/1765/39840
Tinbergen Institute Discussion Paper Series
Discussion paper / Tinbergen Institute
Erasmus School of Economics

Casarin, R., Grassi, S., Ravazzolo, F., & van Dijk, H. (2013). Parallel Sequential Monte Carlo for
Efficient Density Combination:
The Deco Matlab Toolbox (No. TI 13-055/III). Discussion paper / Tinbergen Institute (pp. 1–30). Retrieved from http://hdl.handle.net/1765/39840