IDEAS home Printed from https://ideas.repec.org/a/kap/ecopln/v58y2025i1d10.1007_s10644-024-09849-w.html
   My bibliography  Save this article

Machine learning forecasting in the macroeconomic environment: the case of the US output gap

Author

Listed:
  • Emmanouil Sofianos

    (University of Strasbourg, University of Lorraine, CNRS)

  • Christos Alexakis

    (Rennes School of Business)

  • Periklis Gogas

    (Democritus University of Thrace)

  • Theophilos Papadimitriou

    (Democritus University of Thrace)

Abstract

This paper aims to forecast deviations of the US output measured by the industrial production index (IPI), from its long-run potential output, known as output gaps. These gaps are important for policymakers when designing relevant economic policies, especially when a negative output gap may show economic slack or underperformance, often associated with higher unemployment and low inflation. We use a dataset that includes 32 explanatory economic and financial variables and 18 lags of the IPI, spanning the period from 2000:1 to 2022:12, resulting in 50 variables and 276 monthly observations. The dataset is fed to five well-established machine learning (ML) methods, namely decision trees, random forests, XGBoost, long short-term memory (LSTM) and support vector machines (SVMs), coupled with the linear, the RBF and the polynomial kernel. Moreover, we use the standard elastic net logit method from the area of econometrics as a benchmark. Our results indicate that the tree-based ML techniques perform better in-sample, and the best overall forecasting model is the XGBoost achieving an out-of-sample accuracy of 91.67%.

Suggested Citation

  • Emmanouil Sofianos & Christos Alexakis & Periklis Gogas & Theophilos Papadimitriou, 2025. "Machine learning forecasting in the macroeconomic environment: the case of the US output gap," Economic Change and Restructuring, Springer, vol. 58(1), pages 1-19, February.
  • Handle: RePEc:kap:ecopln:v:58:y:2025:i:1:d:10.1007_s10644-024-09849-w
    DOI: 10.1007/s10644-024-09849-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10644-024-09849-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10644-024-09849-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Keywords

    Output gap; US; Machine learning; Forecasting;
    All these keywords.

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications
    • E27 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Forecasting and Simulation: Models and Applications

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:kap:ecopln:v:58:y:2025:i:1:d:10.1007_s10644-024-09849-w. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.