IDEAS home Printed from https://ideas.repec.org/p/bdi/opques/qef_1026_26.html

Nowcasting the Italian consumer price index using online prices and machine learning

Author

Listed:
  • Luca Bacco

    (Universita' Campus Bio-Medico di Roma)

  • Tiziana Laureti

    (University of Tuscia)

  • Juri Marcucci

    (Bank of Italy)

  • Luigi Palumbo

    (Bank of Italy)

  • Daniele Sasso

    (Universita' Campus Bio-Medico di Roma)

  • Luca Vollero

    (Universita' Campus Bio-Medico di Roma)

Abstract

Timely and accurate forecasts of the Consumer Price Index (CPI), an essential economic indicator measuring consumer prices over time, are crucial for central banks. Traditional forecasting models often struggle to incorporate real-time data and to adapt to rapid changes in the economic environment, leading to potential inaccuracies in short-term forecasts. In this paper, we explore the potential of using online food price data obtained from 20 supermarkets across several major cities of a well-known chain in Italy, from December 2020 to March 2023. Our objective is exploring the feasibility and accuracy of forecasting the CPI for specific food categories using real-time, web-scraped data, particularly in periods of high macroeconomic uncertainty like those following the COVID-19 pandemic and the onset of the war in Ukraine. Our analysis demonstrates the potential of real-time web-scraped data for predicting official CPIs and offers valuable insights for researchers and practitioners interested in this specific approach. Specifically, our results suggest that web-based price data can complement traditional statistical sources, providing more granular and timely indicators that are especially useful during periods of economic volatility.

Suggested Citation

  • Luca Bacco & Tiziana Laureti & Juri Marcucci & Luigi Palumbo & Daniele Sasso & Luca Vollero, 2026. "Nowcasting the Italian consumer price index using online prices and machine learning," Questioni di Economia e Finanza (Occasional Papers) 1026, Bank of Italy, Economic Research and International Relations Area.
  • Handle: RePEc:bdi:opques:qef_1026_26
    as

    Download full text from publisher

    File URL: https://www.bancaditalia.it/pubblicazioni/qef/2026-1026/QEF_1026_26.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jens Mehrhoff, 2019. "Introduction – The Value Chain of Scanner and Web Scraped Data," Economie et Statistique / Economics and Statistics, Institut National de la Statistique et des Etudes Economiques (INSEE), issue 509, pages 5-11.
    2. Lars E O Svensson, 2005. "Monetary Policy with Judgment: Forecast Targeting," International Journal of Central Banking, International Journal of Central Banking, vol. 1(1), May.
    3. José‐María Montero & Tiziana Laureti & Román Mínguez & Gema Fernández‐Avilés, 2020. "A Stochastic Model with Penalized Coefficients for Spatial Price Comparisons: An Application to Regional Price Indexes in Italy," Review of Income and Wealth, International Association for Research in Income and Wealth, vol. 66(3), pages 512-533, September.
    4. Alberto Cavallo & Roberto Rigobon, 2016. "The Billion Prices Project: Using Online Prices for Measurement and Research," Journal of Economic Perspectives, American Economic Association, vol. 30(2), pages 151-178, Spring.
    5. Aparicio, Diego & Bertolotto, Manuel I., 2020. "Forecasting inflation with online prices," International Journal of Forecasting, Elsevier, vol. 36(2), pages 232-247.
    6. Jensen, Kimberly L. & Yenerall, Jackie & Chen, Xuqi & Yu, T. Edward, 2021. "US Consumers’ Online Shopping Behaviors and Intentions During and After the COVID-19 Pandemic," Journal of Agricultural and Applied Economics, Cambridge University Press, vol. 53(3), pages 416-434, August.
    7. Michael Woodford, 2004. "Inflation targeting and optimal monetary policy," Review, Federal Reserve Bank of St. Louis, vol. 86(Jul), pages 15-42.
    8. Lorenzo Menculini & Andrea Marini & Massimiliano Proietti & Alberto Garinei & Alessio Bozza & Cecilia Moretti & Marcello Marconi, 2021. "Comparing Prophet and Deep Learning to ARIMA in Forecasting Wholesale Food Prices," Forecasting, MDPI, vol. 3(3), pages 1-19, September.
    9. Luigi Biggeri & Tiziana Laureti & Federico Polidoro, 2017. "Computing Sub-national PPPs with CPI Data: An Empirical Analysis on Italian Data Using Country Product Dummy Models," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 131(1), pages 93-121, March.
    10. Alberto Cavallo, 2017. "Are Online and Offline Prices Similar? Evidence from Large Multi-channel Retailers," American Economic Review, American Economic Association, vol. 107(1), pages 283-303, January.
    11. Barkan, Oren & Benchimol, Jonathan & Caspi, Itamar & Cohen, Eliya & Hammer, Allon & Koenigstein, Noam, 2023. "Forecasting CPI inflation components with Hierarchical Recurrent Neural Networks," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 39(3), pages 1145-1162.
    12. Michael J. Boskin, 1998. "Consumer Prices, the Consumer Price Index, and the Cost of Living," Journal of Economic Perspectives, American Economic Association, vol. 12(1), pages 3-26, Winter.
    13. Cavallo, Alberto, 2013. "Online and official price indexes: Measuring Argentina's inflation," Journal of Monetary Economics, Elsevier, vol. 60(2), pages 152-165.
    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. Benchimol, Jonathan & Palumbo, Luigi, 2024. "Sanctions and Russian online prices," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 225, pages 483-521.
    2. Macias, Paweł & Stelmasiak, Damian & Szafranek, Karol, 2023. "Nowcasting food inflation with a massive amount of online prices," International Journal of Forecasting, Elsevier, vol. 39(2), pages 809-826.
    3. Ilaria Benedetti & Tiziana Laureti & Luigi Palumbo & Brandon M. Rose, 2022. "Computation of High-Frequency Sub-National Spatial Consumer Price Indexes Using Web Scraping Techniques," Economies, MDPI, vol. 10(4), pages 1-20, April.
    4. Barış Soybilgen & M. Ege Yazgan & Hüseyin Kaya, 2023. "Nowcasting Turkish Food Inflation Using Daily Online Prices," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 19(2), pages 171-190, September.
    5. Bajari, P. & Cen, Z. & Chernozhukov, V. & Manukonda, M. & Vijaykumar, S. & Wang, J. & Huerta, R. & Li, J. & Leng, L. & Monokroussos, G. & Wang, S., 2025. "Hedonic prices and quality adjusted price indices powered by AI," Journal of Econometrics, Elsevier, vol. 251(C).
    6. W. Erwin Diewert & Kevin J. Fox, 2020. "Measuring Real Consumption and CPI Bias under Lockdown Conditions," NBER Working Papers 27144, National Bureau of Economic Research, Inc.
    7. Strasser, Georg & Wieland, Elisabeth & Macias, Paweł & Błażejowska, Aneta & Szafranek, Karol & Wittekopf, David & Franke, Jörn & Henkel, Lukas & Osbat, Chiara, 2023. "E-commerce and price setting: evidence from Europe," Occasional Paper Series 320, European Central Bank.
    8. Beck, Günter W. & Carstensen, Kai & Menz, Jan-Oliver & Schnorrenberger, Richard & Wieland, Elisabeth, 2023. "Nowcasting consumer price inflation using high-frequency scanner data: Evidence from Germany," Discussion Papers 34/2023, Deutsche Bundesbank.
    9. Resce, Giuliano & Maynard, Diana, 2018. "What matters most to people around the world? Retrieving Better Life Index priorities on Twitter," Technological Forecasting and Social Change, Elsevier, vol. 137(C), pages 61-75.
    10. Gonzalo Bueno, 2026. "Inflation and price dynamics analysis using high-frequency data from supermarkets: evidence from Peru," IFC Bulletins chapters, in: Bank for International Settlements (ed.), Statistics and beyond: new data for decision making in central banks, volume 66, Bank for International Settlements.
    11. Alexey S. Evseev & Rodion R. Latypov & Egor A. Postolit & Elena S. Sinelnikova-Muryleva, 2022. "Техданные О Ценах Онлайн-Ритейлеров Обладают Огромной Ценностью С Точки Зрения Экономической Науки: Их Использование Позволяет Уточнять Прогнозы Инфляции И Предвосхищать Будущие Тенденции В Моменте, Корректировать Оценки Жесткости Цен И Выводы Теорет," Russian Economic Development (in Russian), Gaidar Institute for Economic Policy, issue 11, pages 36-45, November.
    12. Aparicio, Diego & Bertolotto, Manuel I., 2020. "Forecasting inflation with online prices," International Journal of Forecasting, Elsevier, vol. 36(2), pages 232-247.
    13. Harchaoui, Tarek M. & Janssen, Robert V., 2018. "How can big data enhance the timeliness of official statistics?," International Journal of Forecasting, Elsevier, vol. 34(2), pages 225-234.
    14. Zhang, Tao & Tang, Ke & Liu, Taoxiong & Jiang, Tingfeng, 2025. "High frequency online inflation and term structure of interest rates: Evidence from China," Journal of Empirical Finance, Elsevier, vol. 83(C).
    15. Alexey S. Evseev & Rodion R. Latypov & Egor A. Postolit & Elena S. Sinelnikova-Muryleva, 2022. "Technical and Methodological Challenges of Collecting Price Data from Online Retailers [Технические И Методологические Проблемы Сбора Данных О Ценах Онлайн-Ритейлеров]," Russian Economic Development, Gaidar Institute for Economic Policy, issue 11, pages 36-45, November.
    16. Hillen, Judith, "undated". "Web Scraping For Food Price Research," 58th Annual Conference, Kiel, Germany, September 12-14, 2018 275840, German Association of Agricultural Economists (GEWISOLA).
    17. Diego Aparicio & Alberto Cavallo, 2021. "Targeted Price Controls on Supermarket Products," The Review of Economics and Statistics, MIT Press, vol. 103(1), pages 60-71, March.
    18. Karol Szafranek & Paweł Macias & Damian Stelmasiak & Aneta Błażejowska, 2025. "Is Big Data a Big Help? Evidence From Nowcasting Food Inflation During Covid‐19 and Wartime," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 44(8), pages 2346-2363, December.
    19. Nason, Guy P. & Palasciano, Henry Antonio, 2026. "Forecasting UK consumer price inflation with RaGNAR: Random generalised network autoregressive processes," International Journal of Forecasting, Elsevier, vol. 42(1), pages 181-202.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • E31 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Price Level; Inflation; Deflation
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications

    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:bdi:opques:qef_1026_26. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/bdigvit.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.