IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2106.08901.html
   My bibliography  Save this paper

Economic Nowcasting with Long Short-Term Memory Artificial Neural Networks (LSTM)

Author

Listed:
  • Daniel Hopp

Abstract

Artificial neural networks (ANNs) have been the catalyst to numerous advances in a variety of fields and disciplines in recent years. Their impact on economics, however, has been comparatively muted. One type of ANN, the long short-term memory network (LSTM), is particularly wellsuited to deal with economic time-series. Here, the architecture's performance and characteristics are evaluated in comparison with the dynamic factor model (DFM), currently a popular choice in the field of economic nowcasting. LSTMs are found to produce superior results to DFMs in the nowcasting of three separate variables; global merchandise export values and volumes, and global services exports. Further advantages include their ability to handle large numbers of input features in a variety of time frequencies. A disadvantage is the inability to ascribe contributions of input features to model outputs, common to all ANNs. In order to facilitate continued applied research of the methodology by avoiding the need for any knowledge of deep-learning libraries, an accompanying Python library was developed using PyTorch, https://pypi.org/project/nowcast-lstm/.

Suggested Citation

  • Daniel Hopp, 2021. "Economic Nowcasting with Long Short-Term Memory Artificial Neural Networks (LSTM)," Papers 2106.08901, arXiv.org.
  • Handle: RePEc:arx:papers:2106.08901
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2106.08901
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Roberto S. Mariano & Yasutomo Murasawa, 2003. "A new coincident index of business cycles based on monthly and quarterly series," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 18(4), pages 427-443.
    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. Liran Einav & Jonathan Levin, 2014. "The Data Revolution and Economic Analysis," Innovation Policy and the Economy, University of Chicago Press, vol. 14(1), pages 1-24.
    4. António José Morgado & Luis Catela Nunes & Susana Salvado, 2007. "Nowcasting an Economic Aggregate with Disaggregate Dynamic Factors: An Application to Portuguese GDP," GEE Papers 0002, Gabinete de Estratégia e Estudos, Ministério da Economia, revised Feb 2007.
    5. Doz, Catherine & Giannone, Domenico & Reichlin, Lucrezia, 2011. "A two-step estimator for large approximate dynamic factor models based on Kalman filtering," Journal of Econometrics, Elsevier, vol. 164(1), pages 188-205, September.
    6. Tony Chernis & Rodrigo Sekkel, 2017. "A dynamic factor model for nowcasting Canadian GDP growth," Empirical Economics, Springer, vol. 53(1), pages 217-234, August.
    7. Brandyn Bok & Daniele Caratelli & Domenico Giannone & Argia M. Sbordone & Andrea Tambalotti, 2018. "Macroeconomic Nowcasting and Forecasting with Big Data," Annual Review of Economics, Annual Reviews, vol. 10(1), pages 615-643, August.
    8. 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.
    9. Singh, Rama Krishna & Prajneshu, 2008. "Artificial Neural Network Methodology for Modelling and Forecasting Maize Crop Yield," Agricultural Economics Research Review, Agricultural Economics Research Association (India), vol. 21(1).
    10. Kuzin, Vladimir N. & Marcellino, Massimiliano & Schumacher, Christian, 2009. "MIDAS versus mixed-frequency VAR: nowcasting GDP in the euro area," Discussion Paper Series 1: Economic Studies 2009,07, Deutsche Bundesbank.
    11. repec:hal:journl:peer-00844811 is not listed on IDEAS
    12. Stéphanie Guichard & Elena Rusticelli, 2011. "A Dynamic Factor Model for World Trade Growth," OECD Economics Department Working Papers 874, OECD Publishing.
    13. United Nations UN, 2015. "Transforming our World: the 2030 Agenda for Sustainable Development," Working Papers id:7559, eSocialSciences.
    14. Petrella, Ivan & Antolin-Diaz, Juan & Drechsel, Thomas, 2021. "Advances in Nowcasting Economic Activity: Secular Trends, Large Shocks and New Data," CEPR Discussion Papers 15926, C.E.P.R. Discussion Papers.
    15. Edward L. Glaeser & Hyunjin Kim & Michael Luca, 2019. "Nowcasting the Local Economy: Using Yelp Data to Measure Economic Activity," NBER Chapters, in: Big Data for Twenty-First-Century Economic Statistics, pages 249-273, National Bureau of Economic Research, Inc.
    16. Yutaka Kurihara & Akio Fukushima, 2019. "AR Model or Machine Learning for Forecasting GDP and Consumer Price for G7 Countries," Applied Economics and Finance, Redfame publishing, vol. 6(3), pages 1-6, May.
    17. 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.
    18. Domenico Giannone & Lucrezia Reichlin & David Small, 2008. "Nowcasting: the real time informational content of macroeconomic data releases," ULB Institutional Repository 2013/6409, ULB -- Universite Libre de Bruxelles.
    19. James Rossiter, 2010. "Nowcasting the Global Economy," Discussion Papers 10-12, Bank of Canada.
    20. Loermann, Julius & Maas, Benedikt, 2019. "Nowcasting US GDP with artificial neural networks," MPRA Paper 95459, University Library of Munich, Germany.
    21. 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.
    22. Mark W. Watson & James H. Stock, 2004. "Combination forecasts of output growth in a seven-country data set," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 23(6), pages 405-430.
    23. 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.
    24. 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.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    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 Feb 2024.
    2. Andrius Grybauskas & Vaida Pilinkienė & Mantas Lukauskas & Alina Stundžienė & Jurgita Bruneckienė, 2023. "Nowcasting Unemployment Using Neural Networks and Multi-Dimensional Google Trends Data," Economies, MDPI, vol. 11(5), pages 1-23, April.
    3. Daniel Hopp, 2022. "Performance of long short-term memory artificial neural networks in nowcasting during the COVID-19 crisis," Papers 2203.11872, arXiv.org.
    4. Aspremont Alexandre & Ben Arous Simon & Bricongne Jean-Charles & Lietti Benjamin & Meunier Baptiste, 2023. "Satellites Turn “Concrete”: Tracking Cement with Satellite Data and Neural Networks," Working papers 916, Banque de France.

    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. 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.
    2. Daniel Hopp, 2022. "Benchmarking Econometric and Machine Learning Methodologies in Nowcasting," Papers 2205.03318, arXiv.org.
    3. Daniel Hopp, 2022. "Performance of long short-term memory artificial neural networks in nowcasting during the COVID-19 crisis," Papers 2203.11872, arXiv.org.
    4. Barış Soybilgen & Ege Yazgan, 2021. "Nowcasting US GDP Using Tree-Based Ensemble Models and Dynamic Factors," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 387-417, January.
    5. Poncela, Pilar & Ruiz, Esther & Miranda, Karen, 2021. "Factor extraction using Kalman filter and smoothing: This is not just another survey," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1399-1425.
    6. Bańbura, Marta & Belousova, Irina & Bodnár, Katalin & Tóth, Máté Barnabás, 2023. "Nowcasting employment in the euro area," Working Paper Series 2815, European Central Bank.
    7. Claudia Foroni & Massimiliano Marcellino, 2013. "A survey of econometric methods for mixed-frequency data," Economics Working Papers ECO2013/02, European University Institute.
    8. 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.
    9. 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.
    10. Bańbura, Marta & Giannone, Domenico & Modugno, Michele & Reichlin, Lucrezia, 2013. "Now-Casting and the Real-Time Data Flow," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 195-237, Elsevier.
    11. 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.
    12. Cascaldi-Garcia, Danilo & Ferreira, Thiago R.T. & Giannone, Domenico & Modugno, Michele, 2024. "Back to the present: Learning about the euro area through a now-casting model," International Journal of Forecasting, Elsevier, vol. 40(2), pages 661-686.
    13. Kaufmann, Daniel & Scheufele, Rolf, 2017. "Business tendency surveys and macroeconomic fluctuations," International Journal of Forecasting, Elsevier, vol. 33(4), pages 878-893.
    14. Andreini, Paolo & Hasenzagl, Thomas & Reichlin, Lucrezia & Senftleben-König, Charlotte & Strohsal, Till, 2023. "Nowcasting German GDP: Foreign factors, financial markets, and model averaging," International Journal of Forecasting, Elsevier, vol. 39(1), pages 298-313.
    15. Laurent Ferrara & Clément Marsilli, 2019. "Nowcasting global economic growth: A factor‐augmented mixed‐frequency approach," The World Economy, Wiley Blackwell, vol. 42(3), pages 846-875, March.
    16. Catherine Doz & Peter Fuleky, 2019. "Dynamic Factor Models," Working Papers 2019-4, University of Hawaii Economic Research Organization, University of Hawaii at Manoa.
    17. Alain Galli, 2018. "Which Indicators Matter? Analyzing the Swiss Business Cycle Using a Large-Scale Mixed-Frequency Dynamic Factor Model," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 14(2), pages 179-218, November.
    18. Jack Fosten & Daniel Gutknecht, 2021. "Horizon confidence sets," Empirical Economics, Springer, vol. 61(2), pages 667-692, August.
    19. 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.
    20. Marcellino, Massimiliano & Sivec, Vasja, 2016. "Monetary, fiscal and oil shocks: Evidence based on mixed frequency structural FAVARs," Journal of Econometrics, Elsevier, vol. 193(2), pages 335-348.

    More about this item

    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:arx:papers:2106.08901. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.