IDEAS home Printed from https://ideas.repec.org/p/snb/snbwpa/2024-06.html
   My bibliography  Save this paper

Nowcasting GDP: what are the gains from machine learning algorithms?

Author

Listed:
  • Milen Arro-Cannarsa
  • Dr. Rolf Scheufele

Abstract

We compare several machine learning methods for nowcasting GDP. A large mixed-frequency data set is used to investigate different algorithms such as regression based methods (LASSO, ridge, elastic net), regression trees (bagging, random forest, gradient boosting), and SVR. As benchmarks, we use univariate models, a simple forward selection algorithm, and a principal components regression. The analysis accounts for publication lags and treats monthly indicators as quarterly variables combined via blocking. Our data set consists of more than 1,100 time series. For the period after the Great Recession, which is particularly challenging in terms of nowcasting, we find that all considered machine learning techniques beat the univariate benchmark up to 28 % in terms of out-of-sample RMSE. Ridge, elastic net, and SVR are the most promising algorithms in our analysis, significantly outperforming principal components regression.

Suggested Citation

  • Milen Arro-Cannarsa & Dr. Rolf Scheufele, 2024. "Nowcasting GDP: what are the gains from machine learning algorithms?," Working Papers 2024-06, Swiss National Bank.
  • Handle: RePEc:snb:snbwpa:2024-06
    as

    Download full text from publisher

    File URL: https://www.snb.ch/en/publications/research/working-papers/2024/working_paper_2024_06
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    Nowcasting; Forecasting; Machine learning; Rridge; LASSO; Elastic net; Random forest; Bagging; Boosting; SVM; SVR; Large data sets;
    All these keywords.

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models

    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:snb:snbwpa:2024-06. 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: Enzo Rossi (email available below). General contact details of provider: https://edirc.repec.org/data/snbgvch.html .

    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.