IDEAS home Printed from https://ideas.repec.org/a/spr/snbeco/v3y2023i1d10.1007_s43546-022-00384-2.html
   My bibliography  Save this article

Predicting inflation component drivers in Nigeria: a stacked ensemble approach

Author

Listed:
  • Emmanuel O. Akande

    (CAPE Economic Research and Consulting)

  • Elijah O. Akanni

    (Central Bank of Nigeria)

  • Oyedamola F. Taiwo

    (Central Bank of Nigeria)

  • Jeremiah D. Joshua

    (Central Bank of Nigeria)

  • Abel Anthony

    (Central Bank of Nigeria)

Abstract

Our study examined the disaggregation of inflation components in Nigeria using the stacked ensemble approach, a machine learning algorithm capable of compensating the weakness of an ensemble and a base learner with the strength of another. This approach gives flexibility of a synergistic performance of stacking each base learner and produces a formidable model that yields a high level of accuracy and predictive ability. We analyzed the test data, out-of-sample, and our analyses reveals a robust inflation prediction results. In particular, we show that food CPI is the most important driver for headline urban, and rural inflation while bread and cereals is the most important driver for food inflation in Nigeria. Also, biscuits, agric rice, garri white were found to be among the top main drivers of bread and cereal inflation. Our study further shows that some components of the CPI baskets that majorly drive inflation were assigned lower weights. Hence, attention to CPI weights only, without recourse to understanding the tipping source, may undermined a successful control of inflation in Nigeria. Tracing and tracking the source of inflation to the least sub-component will help resolve inflation problem.

Suggested Citation

  • Emmanuel O. Akande & Elijah O. Akanni & Oyedamola F. Taiwo & Jeremiah D. Joshua & Abel Anthony, 2023. "Predicting inflation component drivers in Nigeria: a stacked ensemble approach," SN Business & Economics, Springer, vol. 3(1), pages 1-32, January.
  • Handle: RePEc:spr:snbeco:v:3:y:2023:i:1:d:10.1007_s43546-022-00384-2
    DOI: 10.1007/s43546-022-00384-2
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s43546-022-00384-2
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s43546-022-00384-2?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. James H. Stock & Mark W. Watson, 2008. "Phillips curve inflation forecasts," Conference Series ; [Proceedings], Federal Reserve Bank of Boston.
    2. James B. Bullard, 2011. "Headline vs. core inflation: a look at some issues," The Regional Economist, Federal Reserve Bank of St. Louis, issue Apr, pages 1-3.
    3. Inoue, Atsushi & Kilian, Lutz, 2008. "How Useful Is Bagging in Forecasting Economic Time Series? A Case Study of U.S. Consumer Price Inflation," Journal of the American Statistical Association, American Statistical Association, vol. 103, pages 511-522, June.
    4. De Graeve, Ferre & Emiris, Marina & Wouters, Raf, 2009. "A structural decomposition of the US yield curve," Journal of Monetary Economics, Elsevier, vol. 56(4), pages 545-559, May.
    5. Stock, James H. & Watson, Mark W., 1999. "Forecasting inflation," Journal of Monetary Economics, Elsevier, vol. 44(2), pages 293-335, October.
    6. 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.
    7. 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.
    8. Ashraf, Quamrul & Gershman, Boris & Howitt, Peter, 2016. "How Inflation Affects Macroeconomic Performance: An Agent-Based Computational Investigation," Macroeconomic Dynamics, Cambridge University Press, vol. 20(2), pages 558-581, March.
    9. Garcia, Márcio G.P. & Medeiros, Marcelo C. & Vasconcelos, Gabriel F.R., 2017. "Real-time inflation forecasting with high-dimensional models: The case of Brazil," International Journal of Forecasting, Elsevier, vol. 33(3), pages 679-693.
    10. Necati Tekatli, 2010. "A New Core Inflation Indicator for Turkey," Central Bank Review, Research and Monetary Policy Department, Central Bank of the Republic of Turkey, vol. 10(2), pages 9-21.
    11. Olusanya E. Olubusoye & Rasheed Oyaromade, 2008. "Modelling the Inflation Process in Nigeria," Working Papers 182, African Economic Research Consortium, Research Department.
    12. Stock, James H. & Watson, Mark, 2011. "Dynamic Factor Models," Scholarly Articles 28469541, Harvard University Department of Economics.
    13. Freeman, Donald G., 1998. "Do core inflation measures help forecast inflation?," Economics Letters, Elsevier, vol. 58(2), pages 143-147, February.
    14. Andrés González & Kirstin Hubrich & Timo Teräsvirta, 2009. "Forecasting inflation with gradual regime shifts and exogenous information," CREATES Research Papers 2009-03, Department of Economics and Business Economics, Aarhus University.
    15. Hilde C. Bjørnland & Karsten Gerdrup & Anne Sofie Jore & Christie Smith & Leif Anders Thorsrud, 2012. "Does Forecast Combination Improve Norges Bank Inflation Forecasts?," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 74(2), pages 163-179, April.
    16. Kapetanios, George & Marcellino, Massimiliano & Papailias, Fotis, 2016. "Forecasting inflation and GDP growth using heuristic optimisation of information criteria and variable reduction methods," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 369-382.
    17. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    18. Jose Luis Nolazco & Pablo Pincheira & Jorge Selaive, 2016. "The evasive predictive ability of core inflation," Working Papers 15/34, BBVA Bank, Economic Research Department.
    19. James H. Stock & Mark W. Watson, 2007. "Why Has U.S. Inflation Become Harder to Forecast?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(s1), pages 3-33, February.
    20. Roma, Moreno & Skudelny, Frauke & Benalal, Nicholai & Diaz del Hoyo, Juan Luis & Landau, Bettina, 2004. "To aggregate or not to aggregate? Euro area inflation forecasting," Working Paper Series 374, European Central Bank.
    21. Tule, Moses K. & Salisu, Afees A. & Ebuh, Godday U., 2020. "A test for inflation persistence in Nigeria using fractional integration & fractional cointegration techniques," Economic Modelling, Elsevier, vol. 87(C), pages 225-237.
    22. Theodore M. Crone & N. Neil K. Khettry & Loretta J. Mester & Jason A. Novak, 2013. "Core Measures of Inflation as Predictors of Total Inflation," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 45(2‐3), pages 505-519, March.
    23. Timothy Cogley & Argia M. Sbordone, 2008. "Trend Inflation, Indexation, and Inflation Persistence in the New Keynesian Phillips Curve," American Economic Review, American Economic Association, vol. 98(5), pages 2101-2126, December.
    24. Ikechukwu Kelikume & Adedoyin Salami, 2014. "Time Series Modeling and Forecasting Information: Evidence from Nigeria," The International Journal of Business and Finance Research, The Institute for Business and Finance Research, vol. 8(2), pages 41-51.
    25. Todd E. Clark & Taeyoung Doh, 2011. "A Bayesian evaluation of alternative models of trend inflation," Working Papers (Old Series) 1134, Federal Reserve Bank of Cleveland.
    26. Giannone, Domenico & Lenza, Michele & Momferatou, Daphne & Onorante, Luca, 2014. "Short-term inflation projections: A Bayesian vector autoregressive approach," International Journal of Forecasting, Elsevier, vol. 30(3), pages 635-644.
    27. Capistrán, Carlos & Constandse, Christian & Ramos-Francia, Manuel, 2010. "Multi-horizon inflation forecasts using disaggregated data," Economic Modelling, Elsevier, vol. 27(3), pages 666-677, May.
    28. James H. Stock & Mark W. Watson, 2007. "Erratum to "Why Has U.S. Inflation Become Harder to Forecast?"," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(7), pages 1849-1849, October.
    29. repec:mcb:jmoncb:v:45:y:2013:i::p:505-519 is not listed on IDEAS
    30. Andreja Pufnik & Davor Kunovac, 2006. "Short-Term Forecasting of Inflation in Croatia with Seasonal ARIMA Processes," Working Papers 16, The Croatian National Bank, Croatia.
    31. James H. Stock & Mark W. Watson, 2007. "Erratum to “Why Has U.S. Inflation Become Harder to Forecast?”," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(7), pages 1849-1849, October.
    32. Michael F. Bryan & Stephen G. Cecchetti & Rodney L. Wiggins II, 1997. "Efficient Inflation Estimation," NBER Working Papers 6183, National Bureau of Economic Research, Inc.
    33. Ivan Baybuza, 2018. "Inflation Forecasting Using Machine Learning Methods," Russian Journal of Money and Finance, Bank of Russia, vol. 77(4), pages 42-59, December.
    34. Gary G. Moser, 1995. "The Main Determinants of Inflation in Nigeria," IMF Staff Papers, Palgrave Macmillan, vol. 42(2), pages 270-289, June.
    35. Akash Malhotra & Mayank Maloo, 2017. "Understanding food inflation in India: A Machine Learning approach," Papers 1701.08789, arXiv.org.
    36. Junttila, Juha & Korhonen, Marko, 2011. "Utilizing financial market information in forecasting real growth, inflation and real exchange rate," International Review of Economics & Finance, Elsevier, vol. 20(2), pages 281-301, April.
    37. Marcelo C. Medeiros & Gabriel F. R. Vasconcelos & Álvaro Veiga & Eduardo Zilberman, 2021. "Forecasting Inflation in a Data-Rich Environment: The Benefits of Machine Learning Methods," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(1), pages 98-119, January.
    38. Le Bihan, Herve & Sedillot, Franck, 2000. "Do core inflation measures help forecast inflation?: Out-of-sample evidence from French data," Economics Letters, Elsevier, vol. 69(3), pages 261-266, December.
    39. James H. Stock & Mark W. Watson, 2007. "Why Has U.S. Inflation Become Harder to Forecast?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(s1), pages 3-33, February.
    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. 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.
    2. Faust, Jon & Wright, Jonathan H., 2013. "Forecasting Inflation," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 2-56, Elsevier.
    3. Philippe Goulet Coulombe, 2021. "The Macroeconomy as a Random Forest," Working Papers 21-05, Chair in macroeconomics and forecasting, University of Quebec in Montreal's School of Management.
    4. Bhattacharya, Rudrani & Kapoor, Mrigankshi, 2020. "Forecasting Consumer Price Index Inflation in India: Vector Error Correction Mechanism Vs. Dynamic Factor Model Approach for Non-Stationary Time Series," Working Papers 20/323, National Institute of Public Finance and Policy.
    5. Pincheira-Brown, Pablo & Selaive, Jorge & Nolazco, Jose Luis, 2019. "Forecasting inflation in Latin America with core measures," International Journal of Forecasting, Elsevier, vol. 35(3), pages 1060-1071.
    6. Araujo, Gustavo Silva & Gaglianone, Wagner Piazza, 2023. "Machine learning methods for inflation forecasting in Brazil: New contenders versus classical models," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 4(2).
    7. Francesco Bianchi & Giovanni Nicolo & Dongho Song, 2023. "Inflation and Real Activity over the Business Cycle," Finance and Economics Discussion Series 2023-038, Board of Governors of the Federal Reserve System (U.S.).
    8. Tumala, Mohammed M & Olubusoye, Olusanya E & Yaaba, Baba N & Yaya, OlaOluwa S & Akanbi, Olawale B, 2017. "Forecasting Nigerian Inflation using Model Averaging methods: Modelling Frameworks to Central Banks," MPRA Paper 88754, University Library of Munich, Germany, revised Feb 2018.
    9. Philippe Goulet Coulombe & Mikael Frenette & Karin Klieber, 2023. "From Reactive to Proactive Volatility Modeling with Hemisphere Neural Networks," Papers 2311.16333, arXiv.org.
    10. Afees A. Salisu & Raymond Swaray & Hadiza Sa'id, 2021. "Improving forecasting accuracy of the Phillips curve in OECD countries: The role of commodity prices," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(2), pages 2946-2975, April.
    11. Hauzenberger, Niko & Huber, Florian & Klieber, Karin, 2023. "Real-time inflation forecasting using non-linear dimension reduction techniques," International Journal of Forecasting, Elsevier, vol. 39(2), pages 901-921.
    12. Gary Koop & Dimitris Korobilis, 2012. "Forecasting Inflation Using Dynamic Model Averaging," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 53(3), pages 867-886, August.
    13. Philippe Goulet Coulombe, 2020. "The Macroeconomy as a Random Forest," Papers 2006.12724, arXiv.org, revised Mar 2021.
    14. Nima Nonejad, 2021. "An Overview Of Dynamic Model Averaging Techniques In Time‐Series Econometrics," Journal of Economic Surveys, Wiley Blackwell, vol. 35(2), pages 566-614, April.
    15. 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.
    16. Verbrugge, Randal & Zaman, Saeed, 2023. "The hard road to a soft landing: Evidence from a (modestly) nonlinear structural model," Energy Economics, Elsevier, vol. 123(C).
    17. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    18. James M. Nason & Gregor W. Smith, 2021. "Measuring the slowly evolving trend in US inflation with professional forecasts," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 36(1), pages 1-17, January.
    19. Jan Prüser, 2021. "Forecasting US inflation using Markov dimension switching," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(3), pages 481-499, April.
    20. Lukmanova, Elizaveta & Rabitsch, Katrin, 2023. "Evidence on monetary transmission and the role of imperfect information: Interest rate versus inflation target shocks," European Economic Review, Elsevier, vol. 158(C).

    More about this item

    Keywords

    Headline inflation; Stacked ensemble; Machine learning; Base learner;
    All these keywords.

    JEL classification:

    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • 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
    • E50 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - 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:spr:snbeco:v:3:y:2023:i:1:d:10.1007_s43546-022-00384-2. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.