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.

Density forecast combination, GPU, MATLAB, Parallel computing, Sequential Monte Carlo,
Journal of Statistical Software (Online)
This work was funded by the European Commission 7th Framework Programme; grant id fp7/320270 - SYstemic Risk TOmography: Signals, Measurements, Transmission Channels, and Policy Interventions (SYRTO)
Department of Econometrics

Casarin, R, Grassi, S, Ravazzolo, F, & van Dijk, H.K. (2015). Parallel sequential monte carlo for efficient density combination: The DeCo MATLAB toolbox. Journal of Statistical Software (Online), 68. doi:10.18637/jss.v068.i03