IDEAS home Printed from https://ideas.repec.org/a/ibn/ijefaa/v16y2024i6p92.html
   My bibliography  Save this article

Improvement in Inflation Forecasting: Ensembling Text Mining with Macro Data in Machine Learning Models

Author

Listed:
  • Pijush Kanti Das
  • Prabir Kumar Das

Abstract

We forecast inflation using a large news corpus and machine learning methods. Over 3.9 million daily newspaper headlines from January 2001 to June, 2023 are decomposed into monthly time series and integrated with machine learning models to predict inflation. The addition of Text mining in models outperformed the numerical predictions based on the machine learning models without text mining as published by the authors earlier in Das and Das (2024). In addition, the variable importance while analyzing the predictors provides further insights into new variables came out from text mining for which structured data was not available earlier. A dictionary of words sentimental to inflation forecasting has been prepared possibly for the first time. The forecasting model that used text words sentimental to inflation as additional inputs in artificial neural network performed better than all the other models in terms of forecast accuracy. Overall, we provide a novel representation of improvements in adding text mining in machine learning models in inflation forecasting.

Suggested Citation

  • Pijush Kanti Das & Prabir Kumar Das, 2024. "Improvement in Inflation Forecasting: Ensembling Text Mining with Macro Data in Machine Learning Models," International Journal of Economics and Finance, Canadian Center of Science and Education, vol. 16(6), pages 1-92, June.
  • Handle: RePEc:ibn:ijefaa:v:16:y:2024:i:6:p:92
    as

    Download full text from publisher

    File URL: https://ccsenet.org/journal/index.php/ijef/article/download/0/0/50265/54408
    Download Restriction: no

    File URL: https://ccsenet.org/journal/index.php/ijef/article/view/0/50265
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. D’Amuri, Francesco & Marcucci, Juri, 2017. "The predictive power of Google searches in forecasting US unemployment," International Journal of Forecasting, Elsevier, vol. 33(4), pages 801-816.
    2. Jan J. J. Groen & Richard Paap & Francesco Ravazzolo, 2013. "Real-Time Inflation Forecasting in a Changing World," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 31(1), pages 29-44, January.
    3. Olivier Coibion & Yuriy Gorodnichenko, 2015. "Information Rigidity and the Expectations Formation Process: A Simple Framework and New Facts," American Economic Review, American Economic Association, vol. 105(8), pages 2644-2678, August.
    4. Eleni Kalamara & Arthur Turrell & Chris Redl & George Kapetanios & Sujit Kapadia, 2022. "Making text count: Economic forecasting using newspaper text," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(5), pages 896-919, August.
    5. Amrendra Pandey & Jagadish Shettigar & Amarnath Bose, 2021. "Evaluation of the Inflation Forecasting Process of the Reserve Bank of India: A Text Analysis Approach," SAGE Open, , vol. 11(3), pages 21582440211, July.
    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. Mikhaylov, Dmitry, 2023. "Macroeconomic Forecasting with the Use of News Data," Working Papers w20220250, Russian Presidential Academy of National Economy and Public Administration.
    2. Berge, Travis J., 2018. "Understanding survey-based inflation expectations," International Journal of Forecasting, Elsevier, vol. 34(4), pages 788-801.
    3. Massimiliano Marcellino & Dalibor Stevanovic, 2022. "The demand and supply of information about inflation," Working Papers 22-06, Chair in macroeconomics and forecasting, University of Quebec in Montreal's School of Management, revised Nov 2022.
    4. Francesco Cusano & Giuseppe Marinelli & Stefano Piermattei, 2022. "Learning from revisions: an algorithm to detect errors in banks’ balance sheet statistical reporting," Quality & Quantity: International Journal of Methodology, Springer, vol. 56(6), pages 4025-4059, December.
    5. Klein, Tony, 2022. "Agree to disagree? Predictions of U.S. nonfarm payroll changes between 2008 and 2020 and the impact of the COVID19 labor shock," Journal of Economic Behavior & Organization, Elsevier, vol. 194(C), pages 264-286.
    6. Sebastian Doerr & Leonardo Gambacorta & José María Serena Garralda, 2021. "Big data and machine learning in central banking," BIS Working Papers 930, Bank for International Settlements.
    7. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    8. Kohns, David & Bhattacharjee, Arnab, 2023. "Nowcasting growth using Google Trends data: A Bayesian Structural Time Series model," International Journal of Forecasting, Elsevier, vol. 39(3), pages 1384-1412.
    9. Maria Elena Bontempi & Michele Frigeri & Roberto Golinelli & Matteo Squadrani, 2021. "EURQ: A New Web Search‐based Uncertainty Index," Economica, London School of Economics and Political Science, vol. 88(352), pages 969-1015, October.
    10. Olivier Coibion & Dimitris Georgarakos & Yuriy Gorodnichenko & Maarten van Rooij, 2023. "How Does Consumption Respond to News about Inflation? Field Evidence from a Randomized Control Trial," American Economic Journal: Macroeconomics, American Economic Association, vol. 15(3), pages 109-152, July.
    11. Joshy Easaw & Roberto Golinelli, 2022. "Professionals Inflation Forecasts: The Two Dimensions Of Forecaster Inattentiveness [“Sectoral and aggregate inflation dynamics in the euro area”]," Oxford Economic Papers, Oxford University Press, vol. 74(3), pages 701-720.
    12. Müller, Karsten, 2020. "German forecasters' narratives: How informative are German business cycle forecast reports?," Working Papers 23, German Research Foundation's Priority Programme 1859 "Experience and Expectation. Historical Foundations of Economic Behaviour", Humboldt University Berlin.
    13. Davide Pettenuzzo & Francesco Ravazzolo, 2016. "Optimal Portfolio Choice Under Decision‐Based Model Combinations," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(7), pages 1312-1332, November.
    14. George-Marios Angeletos & Chen Lian, 2018. "Forward Guidance without Common Knowledge," American Economic Review, American Economic Association, vol. 108(9), pages 2477-2512, September.
    15. Bel, K. & Paap, R., 2013. "Modeling the impact of forecast-based regime switches on macroeconomic time series," Econometric Institute Research Papers EI 2013-25, Erasmus University Rotterdam, Erasmus School of Economics (ESE), Econometric Institute.
    16. Olivier Coibion & Yuriy Gorodnichenko & Saten Kumar, 2018. "How Do Firms Form Their Expectations? New Survey Evidence," American Economic Review, American Economic Association, vol. 108(9), pages 2671-2713, September.
    17. Dräger, Lena & Lamla, Michael J. & Pfajfar, Damjan, 2020. "The Hidden Heterogeneity of Inflation and Interest Rate Expectations: The Role of Preferences," Hannover Economic Papers (HEP) dp-666, Leibniz Universität Hannover, Wirtschaftswissenschaftliche Fakultät, revised Feb 2023.
    18. Benjamin Born & Francesco D’Ascanio & Gernot J. Müller & Johannes Pfeifer, 2024. "Mr. Keynes Meets the Classics: Government Spending and the Real Exchange Rate," Journal of Political Economy, University of Chicago Press, vol. 132(5), pages 1642-1683.
    19. Juan Angel Garcia & Sebastian Werner, 2018. "Inflation News and Euro Area Inflation Expectations," IMF Working Papers 2018/167, International Monetary Fund.
    20. Crump, Richard K. & Eusepi, Stefano & Tambalotti, Andrea & Topa, Giorgio, 2022. "Subjective intertemporal substitution," Journal of Monetary Economics, Elsevier, vol. 126(C), pages 118-133.

    More about this item

    JEL classification:

    • R00 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - General - - - General
    • Z0 - Other Special Topics - - General

    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:ibn:ijefaa:v:16:y:2024:i:6:p:92. 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: Canadian Center of Science and Education (email available below). General contact details of provider: https://edirc.repec.org/data/cepflch.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.