•  
  •  
 

CBN Journal of Applied Statistics (JAS)

Keywords

Inflation forecasting, K-Nearest Neighbours, Long Short-Term Memory, Hidden Markov Model, Regime switching, Nigeria

Abstract

This study compares the forecasting performance of the K-Nearest Neighbours (KNN) model and Long Short-Term Memory integrated with a Hidden Markov Model(LSTM HMM), for predicting inflation in Nigeria. Annual data on inflation rate, gross domestic product (GDP) and GDP per capita covering 1960–2022 were used. In flation was classified into low, moderate and high regimes, with the transition be haviour captured using the Hidden Markov component. The estimated steady-state probabilities were 32%, 59% and 9% for low, moderate and high inflation regimes, respectively, indicating that Nigeria’s inflation process was more likely to remain in a moderate inflation state in the long run. The model comparison showed that the KNN model outperformed the regime-switching LSTM model, with lower MAPE, RMSE, SEM, and MSE. The findings suggest that the simpler non-parametric KNN model provided more accurate forecasts, while the LSTM-HMM framework better explained regime-dependent inflation behaviour. The study also shows that GDP per capita contributes meaningfully to inflation prediction, implying that policies aimed at improving real per-person output and stabilising macroeconomic conditions may support more effective inflation management in Nigeria.

Issue

2

Volume

16

First Page

79

Last Page

107

Share

COinS
 
 

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.