IDEAS home Printed from https://ideas.repec.org/a/wly/jforec/v45y2026i3p924-963.html

GDP Nowcasting With Artificial Neural Networks: How Much Does Long‐Term Memory Matter?

Author

Listed:
  • Kristóf Németh
  • Dániel Hadházi

Abstract

We apply artificial neural networks (ANNs) to nowcast quarterly GDP growth for the US economy. Using the monthly FRED‐MD database, we compare the nowcasting performance of five different ANN architectures: the multilayer perceptron (MLP), the one‐dimensional convolutional neural network (1D CNN), the Elman recurrent neural network (RNN), the long short‐term memory (LSTM) network, and the gated recurrent unit (GRU). The empirical analysis presents results from two distinctively different evaluation periods. The first (2012:Q1–2019:Q4) is characterized by balanced economic growth, while the second (2012:Q1–2024:Q2) also includes periods of the COVID‐19 recession. During the first evaluation period, longer input sequences slightly improve nowcasting performance for some ANNs, but the best accuracy is still achieved with 8‐month‐long input sequences at the end of the nowcasting window. Results from the second test period depict the role of long‐term memory even more clearly. The MLP, the 1D CNN, and the Elman RNN work best with 8‐month‐long input sequences at each step of the nowcasting window. The relatively weak performance of the gated RNNs also suggests that architectural features enabling long‐term memory do not result in more accurate nowcasts for GDP growth. The combined results indicate that the 1D CNN seems to represent a “sweet spot” between the simple time‐agnostic MLP and the more complex (gated) RNNs. The network generates nearly as accurate nowcasts as the best competitor for the first test period, while it achieves the overall best accuracy during the second evaluation period. Consequently, as a first in the literature, we propose the application of the 1D CNN for economic nowcasting.

Suggested Citation

  • Kristóf Németh & Dániel Hadházi, 2026. "GDP Nowcasting With Artificial Neural Networks: How Much Does Long‐Term Memory Matter?," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 45(3), pages 924-963, April.
  • Handle: RePEc:wly:jforec:v:45:y:2026:i:3:p:924-963
    DOI: 10.1002/for.70061
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/for.70061
    Download Restriction: no

    File URL: https://libkey.io/10.1002/for.70061?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
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Eric Ghysels & Arthur Sinko & Rossen Valkanov, 2007. "MIDAS Regressions: Further Results and New Directions," Econometric Reviews, Taylor & Francis Journals, vol. 26(1), pages 53-90.
    3. Tony Chernis & Rodrigo Sekkel, 2017. "A dynamic factor model for nowcasting Canadian GDP growth," Empirical Economics, Springer, vol. 53(1), pages 217-234, August.
    4. Richardson, Adam & van Florenstein Mulder, Thomas & Vehbi, Tuğrul, 2021. "Nowcasting GDP using machine-learning algorithms: A real-time assessment," International Journal of Forecasting, Elsevier, vol. 37(2), pages 941-948.
    5. Tkacz, Greg, 2001. "Neural network forecasting of Canadian GDP growth," International Journal of Forecasting, Elsevier, vol. 17(1), pages 57-69.
    6. Massimiliano Marcellino & Christian Schumacher, 2010. "Factor MIDAS for Nowcasting and Forecasting with Ragged‐Edge Data: A Model Comparison for German GDP," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 72(4), pages 518-550, August.
    7. Yuan Jiang & Yunxiao He & Heping Zhang, 2016. "Variable Selection With Prior Information for Generalized Linear Models via the Prior LASSO Method," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 111(513), pages 355-376, March.
    8. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    9. Domenico Ferraro, 2018. "The Asymmetric Cyclical Behavior of the U.S. Labor Market," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 30, pages 145-162, October.
    10. Stock, James H & Watson, Mark W, 2002. "Macroeconomic Forecasting Using Diffusion Indexes," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(2), pages 147-162, April.
    11. Kuan, Chung-Ming & Liu, Tung, 1995. "Forecasting Exchange Rates Using Feedforward and Recurrent Neural Networks," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 10(4), pages 347-364, Oct.-Dec..
    12. Stock J.H. & Watson M.W., 2002. "Forecasting Using Principal Components From a Large Number of Predictors," Journal of the American Statistical Association, American Statistical Association, vol. 97, pages 1167-1179, December.
    13. Heravi, Saeed & Osborn, Denise R. & Birchenhall, C. R., 2004. "Linear versus neural network forecasts for European industrial production series," International Journal of Forecasting, Elsevier, vol. 20(3), pages 435-446.
    14. Byron Botha & Tim Olds & Geordie Reid & Daan Steenkamp & Rossouw van Jaarsveld, 2021. "Nowcasting South African gross domestic product using a suite of statistical models," South African Journal of Economics, Economic Society of South Africa, vol. 89(4), pages 526-554, December.
    15. Troy D. Matheson, 2014. "New indicators for tracking growth in real time," OECD Journal: Journal of Business Cycle Measurement and Analysis, OECD Publishing, Centre for International Research on Economic Tendency Surveys, vol. 2013(2), pages 51-71.
    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. Krist'of N'emeth & D'aniel Hadh'azi, 2023. "GDP nowcasting with artificial neural networks: How much does long-term memory matter?," Papers 2304.05805, arXiv.org, revised Jan 2025.
    2. 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.
    3. 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.
    4. 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.
    5. Daniel Hopp, 2022. "Benchmarking Econometric and Machine Learning Methodologies in Nowcasting," Papers 2205.03318, arXiv.org.
    6. Raul Ibarra & Luis M. Gomez-Zamudio, 2017. "Are Daily Financial Data Useful for Forecasting GDP? Evidence from Mexico," Economía Journal, The Latin American and Caribbean Economic Association - LACEA, vol. 0(Spring 20), pages 173-203.
    7. Evžen Kočenda & Karen Poghosyan, 2020. "Nowcasting Real GDP Growth: Comparison between Old and New EU Countries," Eastern European Economics, Taylor & Francis Journals, vol. 58(3), pages 197-220, May.
    8. Jan Radovan & Igor Masten, 2025. "Nowcasting economic activity in a small open CESEE economy using mixed frequency data," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 52(4), pages 721-776, November.
    9. Daniel Hopp, 2024. "Benchmarking econometric and machine learning methodologies in nowcasting GDP," Empirical Economics, Springer, vol. 66(5), pages 2191-2247, May.
    10. Tesi Aliaj & Milos Ciganovic & Massimiliano Tancioni, 2023. "Nowcasting inflation with Lasso‐regularized vector autoregressions and mixed frequency data," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(3), pages 464-480, April.
    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. Dennis Kant & Andreas Pick & Jasper de Winter, 2025. "Nowcasting GDP using machine learning methods," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 109(1), pages 1-24, March.
    14. James Chapman & Ajit Desai, . "Using payments data to nowcast macroeconomic variables during the onset of Covid-19," Journal of Financial Market Infrastructures, Journal of Financial Market Infrastructures.
    15. 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.
    16. Krist'of N'emeth & D'aniel Hadh'azi, 2024. "Generating density nowcasts for U.S. GDP growth with deep learning: Bayes by Backprop and Monte Carlo dropout," Papers 2405.15579, arXiv.org.
    17. Alexander Eliseev, 2025. "Nowcasting Russian GDP in a Mixed-Frequency DSGE Model with a Panel of Non-Modelled Variables," Russian Journal of Money and Finance, Bank of Russia, vol. 84(3), pages 63-93, September.
    18. 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.
    19. Kaufmann, Daniel & Scheufele, Rolf, 2017. "Business tendency surveys and macroeconomic fluctuations," International Journal of Forecasting, Elsevier, vol. 33(4), pages 878-893.
    20. Abdić Ademir & Resić Emina & Abdić Adem, 2020. "Modelling and forecasting GDP using factor model: An empirical study from Bosnia and Herzegovina," Croatian Review of Economic, Business and Social Statistics, Sciendo, vol. 6(1), pages 10-26, May.

    More about this item

    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:wly:jforec:v:45:y:2026:i:3:p:924-963. 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: Wiley Content Delivery (email available below). General contact details of provider: http://www3.interscience.wiley.com/cgi-bin/jhome/2966 .

    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.