IDEAS home Printed from https://ideas.repec.org/p/gii/giihei/heidwp01-2025.html
   My bibliography  Save this paper

Nowcasting Peru's GDP with Machine Learning Methods

Author

Listed:
  • Jairo Flores

    (Central Reserve Bank of Peru)

  • Bruno Gonzaga

    (Central Reserve Bank of Peru)

  • Walter Ruelas-Huanca

    (Central Reserve Bank of Peru)

  • Juan Tang

    (Central Reserve Bank of Peru)

Abstract

This paper explores the application of machine learning (ML) techniques to nowcast the monthly year-over-year growth rate of both total and non-primary GDP in Peru. Using a comprehensive dataset that includes over 170 domestic and international predictors, we assess the predictive performance of 12 ML models. The study compares these ML approaches against the traditional Dynamic Factor Model (DFM), which serves as the benchmark for nowcasting in economic research. We treat specific configurations, such as the feature matrix rotations and the dimensionality reduction technique, as hyperparameters that are optimized iteratively by the Tree-Structured Parzen Estimator. Our results show that ML models outperformed DFM in nowcasting total GDP, and that they achieve similar performance to this benchmark in nowcasting non-primary GDP. Furthermore, the bottom-up approach appears to be the most effective practice for nowcasting economic activity, as aggregating sectoral predictions improves the precision of ML methods. The findings indicate that ML models offer a viable and competitive alternative to traditional nowcasting methods.

Suggested Citation

  • Jairo Flores & Bruno Gonzaga & Walter Ruelas-Huanca & Juan Tang, 2025. "Nowcasting Peru's GDP with Machine Learning Methods," IHEID Working Papers 01-2025, Economics Section, The Graduate Institute of International Studies.
  • Handle: RePEc:gii:giihei:heidwp01-2025
    as

    Download full text from publisher

    File URL: http://repec.graduateinstitute.ch/pdfs/Working_papers/HEIDWP01-2025.pdf
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    GDP; Machine Learning; nowcasting;
    All these keywords.

    JEL classification:

    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • 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
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • E52 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - Monetary Policy

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:gii:giihei:heidwp01-2025. 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: Dorina Dobre (email available below). General contact details of provider: https://edirc.repec.org/data/ieheich.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.