Deus Ex Machina? A Framework for Macro Forecasting with Machine Learning

26 Pages Posted: 20 Apr 2020

See all articles by Marijn Bolhuis

Marijn Bolhuis

University of Toronto, Department of Economics, Students

Brett Rayner

George Washington University

Date Written: February 2020

Abstract

We develop a framework to nowcast (and forecast) economic variables with machine learning techniques. We explain how machine learning methods can address common shortcomings of traditional OLS-based models and use several machine learning models to predict real output growth with lower forecast errors than traditional models. By combining multiple machine learning models into ensembles, we lower forecast errors even further. We also identify measures of variable importance to help improve the transparency of machine learning-based forecasts. Applying the framework to Turkey reduces forecast errors by at least 30 percent relative to traditional models. The framework also better predicts economic volatility, suggesting that machine learning techniques could be an important part of the macro forecasting toolkit of many countries.

Keywords: Production growth, Capacity utilization, Economic growth, Stock markets, Emerging markets, Forecasts, Nowcasting, Machine learning, GDP growth, Cross-validation, Random Forest, Ensemble, Turkey., WP, forecast error, factor model, predictor, forecast, OLS

JEL Classification: C53, C45, E01, F16, C, Z13, O4

Suggested Citation

Bolhuis, Marijn and Rayner, Brett, Deus Ex Machina? A Framework for Macro Forecasting with Machine Learning (February 2020). IMF Working Paper No. 20/45, Available at SSRN: https://ssrn.com/abstract=3579665

Marijn Bolhuis (Contact Author)

University of Toronto, Department of Economics, Students ( email )

150 St. George Street
Toronto, Ontario
Canada

Brett Rayner

George Washington University ( email )

2121 I Street NW
Washington, DC 20052
United States

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
206
Abstract Views
817
Rank
371,583
PlumX Metrics