Forecasting with Bayesian Global Vector Autoregressive Models

Similar documents
The Working Papers are also available on our website ( and they are indexed in RePEc (

WORKING PAPER 200. Does Joint Modelling of the World Economy Pay Off? Evaluating Global Forecasts from a Bayesian GVAR

U n iversity o f H ei delberg

Large time varying parameter VARs for macroeconomic forecasting

Estimating and Accounting for the Output Gap with Large Bayesian Vector Autoregressions

Time-Varying Vector Autoregressive Models with Structural Dynamic Factors

Warwick Business School Forecasting System. Summary. Ana Galvao, Anthony Garratt and James Mitchell November, 2014

Restrictions Search for Panel VARs

Restrictions Search for Panel Vector Autoregressive Models

Bayesian modelling of real GDP rate in Romania

Dynamic Factor Models and Factor Augmented Vector Autoregressions. Lawrence J. Christiano

BEAR 4.2. Introducing Stochastic Volatility, Time Varying Parameters and Time Varying Trends. A. Dieppe R. Legrand B. van Roye ECB.

Reducing Dimensions in a Large TVP-VAR

Dimitrios P. Louzis* Steady-state priors and Bayesian variable selection in VAR forecasting

Testing the MC Model. 9.1 Introduction. 9.2 The Size and Solution of the MC model

Forecasting with Bayesian Vector Autoregressions

General comments Linear vs Non-Linear Univariate vs Multivariate

LARGE TIME-VARYING PARAMETER VARS

Nowcasting Euro-Area GDP growth using multivariate models

Macroeconomic Forecasting and Structural Change

Lecture 4: Bayesian VAR

Modeling the Global Wheat Market Using a GVAR Model. Elselien Breman and Cornelis Gardebroek

arxiv: v2 [econ.em] 13 Feb 2018

Bayesian Compressed Vector Autoregressions

Using VARs and TVP-VARs with Many Macroeconomic Variables

The Effects of Monetary Policy on Stock Market Bubbles: Some Evidence

A multi-country approach to forecasting output growth using PMIs

Douglas Laxton Economic Modeling Division January 30, 2014

Country

Stochastic Search Variable Selection in Vector Error Correction Models with an Application to a Model of the UK Macroeconomy

Large Vector Autoregressions with asymmetric priors and time varying volatilities

Essex Finance Centre Working Paper Series

PRIORS FOR THE LONG RUN: ONLINE APPENDIX

epub WU Institutional Repository

Katsuhiro Sugita Faculty of Law and Letters, University of the Ryukyus. Abstract

Forecasting With High Dimensional Panel VARs

Incorporating theoretical restrictions into forecasting by projection methods

Bayesian Model Comparison:

Forecasting with High-Dimensional Panel VARs

1. Introduction. Hang Qian 1 Iowa State University

STRATHCLYDE DISCUSSION PAPERS IN ECONOMICS FORECASTING WITH MEDIUM AND LARGE BAYESIAN VARS GARY KOOP NO

Evolution Strategies for Optimizing Rectangular Cartograms

THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI

Combining Macroeconomic Models for Prediction

Switching Regime Estimation

Forecasting Global Recessions in a GVAR Model of Actual and Expected Output in the G7

Lecture 4: Dynamic models

Assessing Monetary Policy Models: Bayesian Inference for Heteroskedastic Structural VARs

Forecasting the Polish Inflation Using Bayesian VAR Models with Seasonality

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Advances in Nowcasting Economic Activity

A Mixed Frequency Steady-State Bayesian Vector Autoregression: Forecasting the Macroeconomy

Model Uncertainty in Panel Vector Autoregressive Models

Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models

November 2002 STA Random Effects Selection in Linear Mixed Models

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Forecasting the Swiss Economy Using VECX* Models: An Exercise in Forecast Combination Across Models and Observation Windows

Bayesian Methods for Empirical Macroeconomics with Big Data

Large Bayesian VARs: A Flexible Kronecker Error Covariance Structure

Bayesian Estimation of Input Output Tables for Russia

New Information Response Functions

A mixed-frequency Bayesian vector autoregression with a steady-state prior. Sebastian Ankargren, Måns Unosson and Yukai Yang

Regime-Switching Cointegration

Forecasting the production side of GDP

Long-Run Covariability

Working Paper Series. Modeling Time-Varying Uncertainty of Multiple-Horizon Forecast Errors. Todd E. Clark Michael W. McCracken and Elmar Mertens

Bayesian Computation in Color-Magnitude Diagrams

Principles of forecasting

SUPPLEMENT TO MARKET ENTRY COSTS, PRODUCER HETEROGENEITY, AND EXPORT DYNAMICS (Econometrica, Vol. 75, No. 3, May 2007, )

A look into the factor model black box Publication lags and the role of hard and soft data in forecasting GDP

Short-term forecasts of GDP from dynamic factor models

Regime-Switching Cointegration

Vector Auto-Regressive Models

FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure

Oil price and macroeconomy in Russia. Abstract

VAR Models and Applications

Can News be a Major Source of Aggregate Fluctuations?

Marta BANBURA Domenico GIANNONE Michele LENZA

Deutsches Institut für Wirtschaftsforschung 2017

Speculation and the Bond Market: An Empirical No-arbitrage Framework

Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US

Approximating Fixed-Horizon Forecasts Using Fixed-Event Forecasts

Structural VAR Models and Applications

STA 216, GLM, Lecture 16. October 29, 2007

Default Priors and Effcient Posterior Computation in Bayesian

Real-Time Nowcasting with a Bayesian Mixed Frequency Model with Stochastic Volatility

WORKING PAPER SERIES CONDITIONAL FORECASTS AND SCENARIO ANALYSIS WITH VECTOR AUTOREGRESSIONS FOR LARGE CROSS-SECTIONS NO 1733 / SEPTEMBER 2014

CENTRE FOR CENTRAL BANKING STUDIES

IN this paper, we study the choice of the informativeness of

Country

Anycast Latency How many sites are enough?

Constructing Multi-Country Rational Expectations Models*

Ambiguous Business Cycles: Online Appendix

Currency Risk Factors in a Recursive Multi-Country Economy

SHORT TERM FORECASTING SYSTEM OF PRIVATE DEMAND COMPONENTS IN ARMENIA

Norges Bank Nowcasting Project. Shaun Vahey October 2007

This is the author s final accepted version.

Supply, Demand and Monetary Policy Shocks in a Multi-Country New Keynesian model

Bayesian Compressed Vector Autoregressions

doi /j. issn % % JOURNAL OF CHONGQING UNIVERSITY Social Science Edition Vol. 22 No.

Transcription:

Forecasting with Bayesian Global Vector Autoregressive Models A Comparison of Priors Jesús Crespo Cuaresma WU Vienna Martin Feldkircher OeNB Florian Huber WU Vienna 8th ECB Workshop on Forecasting Techniques ECB 13-14 June 1 / 1

Overview Research Objectives Propose a framework that is flexible and can be used to do forecasting or structural analysis Flexible prior distributions account for the heterogeneity observed in the world economy Hierarchical modelling framework helps to automatically select appropriate country-specific models Do Bayesian methods help to cure the curse of dimensionality and increase the forecasting performance? This is achieved by combining the literature on Bayesian VARs with the literature on global VARs 2 / 1

The Global Vector AutoRegressive model The GVAR model is a compact representation of the world economy Estimation of an encompassing VAR is not feasible even for moderate N GVAR short-cut: Estimate N country models in first stage, then stack them together to yield a global model. 3 / 1

Global VARs in a nutshell For each country i 1,..., N, a VARX* model is estimated: x it = a i0 + a i1 t + Φ i x i,t 1 + Λ i0 x it + Λ i1 x i,t 1 + π i0 d t + π i1 d t 1 + ε it where x it := N j i ω ijx jt and ε it N (0, Σ i ) After some straightforward algebra it is possible to rewrite the GVAR in a standard VAR form x t = b 0 + b 1 t + Fx t 1 + Γ 0 d t + Γ 1 d t 1 + e t, x t = (x 0,t, x 1,t,..., x N,t ) denotes the global vector and b 0, b 1, Γ 1 contain the corresponding stacked vectors containing the parameter vectors of the country-specific specifications 4 / 1

Prior Specification For prior implementation, convenient to work with the parameter vector Ψ i = (a i0 a i1 vec(φ i ) vec(λ i0 ) vec(λ i1 ) vec(π i0 ) vec(π i1 ) ) We assume the following conjugate prior setup on the coefficients of the local models: Prior Setup Ψ i Σ 1 i N (µ Ψ, V Ψ ) Σ 1 i W(v, S) Several choices for µ Ψ and V Ψ possible Several Choices implemented: Minnesota prior, Single Unit Root prior, simpler variants Note that the prior dependence of Ψ i on Σ 1 i could be dropped Finally, adding additional hierarchy leads to the Stochastic Search Variable Selection Prior 5 / 1

Stochastic Search Variable Selection Prior Impose a mixture prior on the coefficients: Ψ i,j δ i,j (1 δ i,j )N (0, τ 2 0j) + δ i,j N (0, τ 2 1j) where δ i,j is a dummy random variable which corresponds to coefficient j in country i. τ 2 1j >> τ 2 0j implies that if δ i,j = 0, the prior for Ψ i,j is centered around zero Estimation of the model using this prior setups requires MCMC Gibbs sampling with data augmentation The SSVS prior tackles model uncertainty, which implies that coefficients on unimportant variables are shrunk towards zero This prior facilitates different individual country model structures perfect for the present application 6 / 1

Computation of the Global Predictive Density Define Ξ := (b 0, b 1, vec(f), vec(γ 0 ), vec(γ 1 )) and let p(ω D) be the posterior of the global VC-matrix Interest centers on p(ξ D), not on the country individual p(ψ i D) Interesting problem: How to estimate the global variance - covariance matrix Ω? Using the usual GVAR algebra, it is possible to transform draws from p(ψ i D) for all countries to get a valid draw from p(ξ D) The predictive density is given by p(x T+n D) = p(x T+n D, Ξ, Ω)p(Ξ, Ω D)dΞdΩ 7 / 1

Data & Forecasting Design Variable Description, country coverage in brackets y real GDP (100%) p CPI inflation (100%) e Nominal exchange rate vis-à-vis the US dollar, deflated by national price levels (CPI) (98.10%) i S Short-term interest rates (90.40%) i L Long-term interest rates (32.70%) p oil Price of oil (100%) Weights to construct foreign variables (and stack the model) based on average trade flows (ω ij,t) Together 45 countries + EA (in nominal terms, 92% of global output) Recursive one-quarter-ahead and one-year-ahead (four-quarters-ahead) predictions obtained by reestimating the models over a rolling window The initial estimation period ranges from 1995Q1 to 2009Q4, we use the period 2010Q1-2012Q4 as out-of-sample hold-out observations for the comparison of predictive ability across specifications Forecast comparison exercise based on root mean square error (RMSE) and the continuous rank probability score (CRPS) 8 / 1

Results: One Quarter Ahead Relative Forecasting Performance, One-Quarter-Ahead: Root Mean Square Error and Continuous Rank Probability Score NC M SUR IW M-IW SSVS Diffuse Pesaran AR 1.3580 0.6075 0.8529 1.1874 0.6157 0.5996 0.7023 0.9059 0.7856 y (0.0390) (0.0105) (0.0182) (0.0413) (0.0345) (0.0075) (0.0148) - - 1.0236 0.8825 0.7156 1.0100 0.9172 0.8126 1.1100 1.2493 1.0139 p (0.0358) (0.0116) (0.0187) (0.0395) (0.0349) (0.0079) (0.0128) - - 0.6072 0.4870 0.5784 0.5869 0.7126 0.4802 0.8803 0.8519 0.7980 e (0.0502) ( 0.0474) (0.0772) (0.0520) (0.0542) (0.0301) (0.0544) - - 1.1084 0.7299 0.8296 1.0303 0.7659 0.6851 1.1312 0.8516 0.5744 i S (0.0385) (0.0115) (0.0424) (0.0417) (0.0395) (0.0099) (0.0177) - - 1.1558 0.4635 0.4984 1.1127 0.7903 0.5696 0.7798 0.8450 0.6162 i L (0.0355) (0.0102) (0.0112) (0.0391) (0.0336) (0.0060) (0.0105) - - 9 / 1

Results: One Year Ahead Relative Forecasting Performance, Four-Quarters-Ahead: Root Mean Square Error and Continuous Rank Probability Score NC M SUR IW M-IW SSVS Diffuse Pesaran AR 1.0090 0.4857 0.9999 0.8847 0.5799 0.3651 0.7192 0.9332 0.5198 y (0.0399) (0.0187) (0.0229) (0.0423) (0.0360) (0.0148) (0.0224) - - 0.9204 0.8538 1.2064 0.9126 0.9172 0.7442 1.2205 1.1408 1.0895 p (0.0356) (0.0084) (0.0178) (0.0393) (0.0346) (0.0081) (0.0118) - - 0.7658 0.6174 0.9803 0.7607 0.7126 0.5328 1.4179 0.5898 0.6679 e (0.0571) (0.0566) (0.0782) (0.0585) (0.0598) (0.0419) (0.0609) - - 0.8301 0.5984 1.0405 0.7876 0.7659 0.4466 0.9439 0.7686 0.5791 i S (0.0383) (0.0115) (0.0398) (0.0412) (0.0392) (0.0103) (0.0169) - - 0.7541 0.7174 0.6917 0.7527 0.7903 0.4277 0.7448 0.6464 0.5012 i L (0.0354) (0.0056) (0.0107) (0.0390) (0.0333) (0.0064) (0.0070) - - 10 / 1

Aggregate RMSE Distribution across country groups - 1-step ahead forecasts. Real GDP Inflation 0.000 0.010 0.020 Rest LA Asia SEE Baltics CEE 0.000 0.010 Rest LA Asia SEE Baltics CEE Real Exchange Rate Short-term interest rates 0.00 0.02 0.04 Rest LA Asia SEE Baltics CEE 0.000 0.015 0.030 Rest LA Asia SEE Baltics CEE 11 / 1

What about time varying Σ i? To allow for time changing variance covariance structures at the country level we have two possibilities: 1 Follow Primiceri (2005) and allow the variances and covariances in the different equations to change over time 2 Take the simpler route and follow Clark, Carriero and Marcellino (2012) and use a scalar factor to drive the volatility for our macro aggregates From now on we assume that the individual country variance-covariance structure is time changing Σ i,t = exp (h i,t /2) Σ i h i,t = η i + ρ i (h i,t 1 η i ) + σ i e i,t e i,t N (0, 1) Rescaling all observations by exp (h i,t /2) allows us to use the same computations as in the standard case Sampling the latent log volatilities is done following Kastner & Fruehwirth-Schnatter (2013): Use Ancillarity-sufficiency interweaving strategy (ASIS) 12 / 1

Prior Setup for the SV Case Prior Setup Ψ i Σ i N (µ Ψ, Σ i V Ψ ) Σ 1 i W(v, S 1 ) η i N (µ η, V η ) ρ i + 1 B(a 0, b 0 ) 2 σ i G(1/2, 1/2B σ ) V Ψ is set to implement a symmetric Minnesota prior specification Choice of hyperparameters a 0 and b 0 for ρ i can be quite influental, especially in our case We set a 0 = 5 and b 0 = 1.5, which translates into a prior mean of 0.54 and a prior standard deviation of 0.31 for ρ i For all other components the hyperparameters are set such that the prior is effectively rendered non-influental 13 / 1

Filtered Volatilities for the World Economy Posterior mean of exp(h i,t/2) 2.5 0.5 Rest 0.4 0.3 0.2 0.1 AU CA CH DK EA IS JP NO NZ SE UK Asia 2.0 1.5 1.0 0.5 CN ID IN JP KR PH SG TH 0.0 0.0 1998 2000 2002 2004 2006 2008 2010 Time 1998 2000 2002 2004 2006 2008 2010 Time AL 4 BY CZ 3 EE 3 GE HR HU LA 2 AR CL MX EEU 2 LT LV MN PE PL RO 1 1 RS RU SI SK 0 0 TR 1998 2000 2002 2004 2006 2008 2010 Time 1998 2000 2002 2004 2006 2008 2010 Time UA 14 / 1

Results: One Quarter Ahead Forecasting Performance, One-Quarter-Ahead: Log Predictive Score Diffuse M NC SUR SSVS CSV y 18.8837 29.0401 10.3133 18.2054 29.5344 35.6668 p 24.1329 37.8102 10.7397 21.9634 31.8327 39.8977 e -3.8832 16.2315 8.3951-3.8468 13.7503 11.3237 i S 17.3429 34.1630 9.7453 15.5587 26.8580 38.2122 i L 28.6069 42.3675 10.5221 28.5819 29.9277 42.0357 Large outperformance of CSV specification for GDP, Inflation and short-term interest rates 15 / 1

Evolution of Log Predictive Scores over time - 1-step ahead predictive density. (a) Real GDP (b) Inflation 3 3 Log Predictive Scores 2 1 0 Diffuse Minnesota NC SUR SSVS CSV Log Predictive Scores 2 1 Diffuse Minnesota NC SUR SSVS CSV 0 1 2010 01 2010 07 2011 01 2011 07 2012 01 2012 07 Time 2010 01 2010 07 2011 01 2011 07 2012 01 2012 07 Time (c) Real Exchange Rate (d) Short-term interest rates 2 3 Log Predictive Scores 0 2 Diffuse Minnesota NC SUR SSVS CSV Log Predictive Scores 2 1 0 Diffuse Minnesota NC SUR SSVS CSV 1 2010 01 2010 07 2011 01 2011 07 2012 01 2012 07 Time 2010 01 2010 07 2011 01 2011 07 2012 01 2012 07 Time 16 / 1

Conclusions & Further Remarks Strong performance of Bayesian GVARs, both in terms of precise point forecasts and density forecasts SSVS and the simple Minnesota prior show the strongest performance in terms of density and point forecasting Performance of natural conjugate prior specifications could be increased by using hyperpriors (Giannone, Lenza & Primiceri, 2012). However, this would imply giving up flexibility as compared to the SSVS prior Preliminary results of a B-GVAR with SV indicate strong performance in terms of density forecasting (at little additional cost in terms of computing) 17 / 1

Selected Literature Neil R. Ericsson & Erica L. Reisman. 2012. Evaluating a Global Vector Autoregression for Forecasting International Advances in Economic Research, Vol. 18, 247-258 Robert B. Litterman. 2009. Forecasting with Bayesian Vector Autoregressions: Five Years of Experience Journal of Business & Economic Statistics, Vol. 4, 25-38 M. Hashem Pesaran, Til Schuermann & L. Vanessa Smith. 2009. Forecasting economic and financial variables with global VARs International Journal of Forecasting, Vol. 25, 642-675 M. Hashem Pesaran, Til Schuermann & Scott M. Weiner. 2004. Modelling Interdependencies Using a Global Error-Correcting Macroeconometric Model Journal of Business & Economic Statistics, Vol. 22, 129-162. 18 / 1