IDEAS home Printed from https://ideas.repec.org/p/nsb/bilten/22.html
   My bibliography  Save this paper

A comparison of using MIDAS and LSTM models for GDP nowcasting

Author

Listed:
  • Iva Glišic

    (National Bank of Serbia)

Abstract

The paper elaborates on machine and deep learning methods, as well as mixed data sampling regression models, used for GDP nowcasting. The aim is to select an adequate model that shows better performance on the data used. The paper provides an answer to the question of whether the use of deep learning methods can improve GDP nowcasting compared to traditional econometric methods, as well as whether the use of specific high-frequency indicators improves the quality of the models used. The paper examines the selection of adequate indicators – both official and those from alternative sources, presents the framework of mixed data sampling regression models and deep learning models used for nowcasting, and gives an assessment of two such models on the example of Serbian GDP. Serbia’s GDP was modelled for the period Q1 2016 – Q2 2023 and the end of the observed period (six quarters) was used for the forecast. Finally, two assessed models were compared – the mixed data sampling regression model and the LSTM neural network. A special focus is placed on ways to improve both models. The LSTM recurrent neural network model had a smaller forecast error, with the use of a combination of official and alternative (high-frequency) indicators, but the mixed data sampling regression model also proved to be a good tool for decision-makers, since its structure allows insight into the ongoing movements impacting GDP dynamics. The use of alternative indicators in nowcasting improved the projections through both presented models.

Suggested Citation

  • Iva Glišic, 2024. "A comparison of using MIDAS and LSTM models for GDP nowcasting," Working Papers Bulletin 22, National Bank of Serbia.
  • Handle: RePEc:nsb:bilten:22
    as

    Download full text from publisher

    File URL: https://www.nbs.rs/documents-eng/publikacije/wp_bulletin/wp_bulletin_03_24_1.pdf
    File Function: Full text
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Evan F. Koenig & Sheila Dolmas & Jeremy Piger, 2003. "The Use and Abuse of Real-Time Data in Economic Forecasting," The Review of Economics and Statistics, MIT Press, vol. 85(3), pages 618-628, August.
    2. Giannone, Domenico & Reichlin, Lucrezia & Small, David, 2008. "Nowcasting: The real-time informational content of macroeconomic data," Journal of Monetary Economics, Elsevier, vol. 55(4), pages 665-676, May.
    3. Sun, Sizhong & Anwar, Sajid, 2015. "Electricity consumption, industrial production, and entrepreneurship in Singapore," Energy Policy, Elsevier, vol. 77(C), pages 70-78.
    4. Nikoleta Anesti & Ana Beatriz Galvao & Silvia Miranda-Agrippino, 2018. "Uncertain Kingdom: Nowcasting GDP and its Revisions," Discussion Papers 1824, Centre for Macroeconomics (CFM).
    5. Philippe Goulet Coulombe & Maxime Leroux & Dalibor Stevanovic & Stéphane Surprenant, 2022. "How is machine learning useful for macroeconomic forecasting?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(5), pages 920-964, August.
    6. Banbura, Marta & Rünstler, Gerhard, 2011. "A look into the factor model black box: Publication lags and the role of hard and soft data in forecasting GDP," International Journal of Forecasting, Elsevier, vol. 27(2), pages 333-346, April.
    7. Stephen J. Turnovsky, 2000. "Methods of Macroeconomic Dynamics, 2nd Edition," MIT Press Books, The MIT Press, edition 2, volume 1, number 0262201232, December.
    8. Hyunyoung Choi & Hal Varian, 2012. "Predicting the Present with Google Trends," The Economic Record, The Economic Society of Australia, vol. 88(s1), pages 2-9, June.
    9. Simeon Vosen & Torsten Schmidt, 2011. "Forecasting private consumption: survey‐based indicators vs. Google trends," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 30(6), pages 565-578, September.
    10. Mr. Futoshi Narita & Rujun Yin, 2018. "In Search of Information: Use of Google Trends’ Data to Narrow Information Gaps for Low-income Developing Countries," IMF Working Papers 2018/286, International Monetary Fund.
    11. Chernis, Tony & Cheung, Calista & Velasco, Gabriella, 2020. "A three-frequency dynamic factor model for nowcasting Canadian provincial GDP growth," International Journal of Forecasting, Elsevier, vol. 36(3), pages 851-872.
    12. Loermann, Julius & Maas, Benedikt, 2019. "Nowcasting US GDP with artificial neural networks," MPRA Paper 95459, University Library of Munich, Germany.
    13. Ana Arencibia Pareja & Ana Gomez-Loscos & Mercedes de Luis López & Gabriel Perez-Quiros, 2020. "A Short Term Forecasting Model for the Spanish GDP and itsDemand Components," Revista Economía, Fondo Editorial - Pontificia Universidad Católica del Perú, vol. 43(85), pages 1-30.
    14. Reichlin, Lucrezia & Giannone, Domenico & Small, David, 2005. "Nowcasting GDP and Inflation: The Real Time Informational Content of Macroeconomic Data Releases," CEPR Discussion Papers 5178, C.E.P.R. Discussion Papers.
    15. Christian Janiesch & Patrick Zschech & Kai Heinrich, 2021. "Machine learning and deep learning," Electronic Markets, Springer;IIM University of St. Gallen, vol. 31(3), pages 685-695, September.
    16. Annabelle Mourougane, 2006. "Forecasting Monthly GDP for Canada," OECD Economics Department Working Papers 515, OECD Publishing.
    17. Ghysels, Eric & Kvedaras, Virmantas & Zemlys, Vaidotas, 2016. "Mixed Frequency Data Sampling Regression Models: The R Package midasr," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 72(i04).
    18. Cecilia Frale & Libero Monteforte, "undated". "FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure," Working Papers 3, Department of the Treasury, Ministry of the Economy and of Finance.
    19. Karim Barhoumi & Olivier Darné & Laurent Ferrara & Bertrand Pluyaud, 2012. "Monthly Gdp Forecasting Using Bridge Models: Application For The French Economy," Bulletin of Economic Research, Wiley Blackwell, vol. 64(Supplemen), pages 53-70, December.
    20. Balassa, Bela, 1985. "Exports, policy choices, and economic growth in developing countries after the 1973 oil shock," Journal of Development Economics, Elsevier, vol. 18(1), pages 23-35.
    21. repec:bla:buecrs:v:64:y:2012:i::p:s53-s70 is not listed on IDEAS
    22. Tony Chernis & Rodrigo Sekkel, 2017. "A dynamic factor model for nowcasting Canadian GDP growth," Empirical Economics, Springer, vol. 53(1), pages 217-234, August.
    23. Karim Barhoumi & Olivier Darné & Laurent Ferrara & Bertrand Pluyaud, 2012. "Monthly GDP forecasting using bridge models: Comparison from the supply and demand sides for the French economy," Post-Print hal-01385807, HAL.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Chien-jung Ting & Yi-Long Hsiao, 2022. "Nowcasting the GDP in Taiwan and the Real-Time Tourism Data," Advances in Management and Applied Economics, SCIENPRESS Ltd, vol. 12(3), pages 1-2.
    2. Chien-jung Ting & Yi-Long Hsiao & Rui-jun Su, 2022. "Application of the Real-Time Tourism Data in Nowcasting the Service Consumption in Taiwan," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 12(4), pages 1-4.
    3. Sarun Kamolthip, 2021. "Macroeconomic Forecasting with LSTM and Mixed Frequency Time Series Data," PIER Discussion Papers 165, Puey Ungphakorn Institute for Economic Research.
    4. James T. E. Chapman & Ajit Desai, 2023. "Macroeconomic Predictions Using Payments Data and Machine Learning," Forecasting, MDPI, vol. 5(4), pages 1-32, November.
    5. Claudia Foroni & Massimiliano Marcellino, 2013. "A survey of econometric methods for mixed-frequency data," Economics Working Papers ECO2013/02, European University Institute.
    6. James Chapman & Ajit Desai, 2021. "Using Payments Data to Nowcast Macroeconomic Variables During the Onset of COVID-19," Staff Working Papers 21-2, Bank of Canada.
    7. Katja Heinisch & Rolf Scheufele, 2018. "Bottom-up or direct? Forecasting German GDP in a data-rich environment," Empirical Economics, Springer, vol. 54(2), pages 705-745, March.
    8. Stavros Degiannakis, 2023. "The D-model for GDP nowcasting," Swiss Journal of Economics and Statistics, Springer;Swiss Society of Economics and Statistics, vol. 159(1), pages 1-33, December.
    9. Daniel Hopp, 2022. "Benchmarking Econometric and Machine Learning Methodologies in Nowcasting," Papers 2205.03318, arXiv.org.
    10. Christian Glocker & Philipp Wegmueller, 2020. "Business cycle dating and forecasting with real-time Swiss GDP data," Empirical Economics, Springer, vol. 58(1), pages 73-105, January.
    11. Daniel Hopp, 2021. "Economic Nowcasting with Long Short-Term Memory Artificial Neural Networks (LSTM)," Papers 2106.08901, arXiv.org.
    12. Hopp Daniel, 2022. "Economic Nowcasting with Long Short-Term Memory Artificial Neural Networks (LSTM)," Journal of Official Statistics, Sciendo, vol. 38(3), pages 847-873, September.
    13. Zhang, Qin & Ni, He & Xu, Hao, 2023. "Nowcasting Chinese GDP in a data-rich environment: Lessons from machine learning algorithms," Economic Modelling, Elsevier, vol. 122(C).
    14. Robert Lehmann, 2016. "Economic Growth and Business Cycle Forecasting at the Regional Level," ifo Beiträge zur Wirtschaftsforschung, ifo Institute - Leibniz Institute for Economic Research at the University of Munich, number 65.
    15. Baumeister, Christiane & Guérin, Pierre, 2021. "A comparison of monthly global indicators for forecasting growth," International Journal of Forecasting, Elsevier, vol. 37(3), pages 1276-1295.
    16. Zhang, Yixiao & Yu, Cindy L. & Li, Haitao, 2022. "Nowcasting GDP Using Dynamic Factor Model with Unknown Number of Factors and Stochastic Volatility: A Bayesian Approach," Econometrics and Statistics, Elsevier, vol. 24(C), pages 75-93.
    17. Monge, Manuel & Claudio-Quiroga, Gloria & Poza, Carlos, 2024. "Chinese economic behavior in times of covid-19. A new leading economic indicator based on Google trends," International Economics, Elsevier, vol. 177(C).
    18. Laurent Ferrara & Anna Simoni, 2023. "When are Google Data Useful to Nowcast GDP? An Approach via Preselection and Shrinkage," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 41(4), pages 1188-1202, October.
    19. Antipa, Pamfili & Barhoumi, Karim & Brunhes-Lesage, Véronique & Darné, Olivier, 2012. "Nowcasting German GDP: A comparison of bridge and factor models," Journal of Policy Modeling, Elsevier, vol. 34(6), pages 864-878.

    More about this item

    Keywords

    GDP; nowcasting; MIDAS; neural networks; high-frequency indicators;
    All these keywords.

    JEL classification:

    • 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
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods

    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:nsb:bilten:22. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Marko Miseljic (email available below). General contact details of provider: https://edirc.repec.org/data/nbjgvyu.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.