GDP Forecasting: Machine Learning, Linear or Autoregression?

Front Artif Intell. 2021 Oct 15:4:757864. doi: 10.3389/frai.2021.757864. eCollection 2021.

Abstract

This paper compares the predictive power of different models to forecast the real U.S. GDP. Using quarterly data from 1976 to 2020, we find that the machine learning K-Nearest Neighbour (KNN) model captures the self-predictive ability of the U.S. GDP and performs better than traditional time series analysis. We explore the inclusion of predictors such as the yield curve, its latent factors, and a set of macroeconomic variables in order to increase the level of forecasting accuracy. The predictions result to be improved only when considering long forecast horizons. The use of machine learning algorithm provides additional guidance for data-driven decision making.

Keywords: GDP; forecasting strategies; k nearest neighborhood; machine learning; time series.