Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Modelling Petrol Prices in Kenya from 2014 to 2023 Using Sarimax Model: A Case Study of Nairobi County

View through CrossRef
The requirement for petrol price information is crucial for majority of enterprises. This is because fluctuations in petrol prices impact inflation hence affecting daily lives of citizens. In analyzing the prices of petrol, researchers have employed several models but encountered various limitations. These limitations include; the Error Correction Model can examine only one co-integrating association. The Vector Autoregression (VAR) model does not account for the structural changes in the data. Additionally, the AutoRegressive Integrated Moving Average (ARIMA) model does not take into consideration the seasonal component in the data. The Generalized Autoregressive Conditional Heteroskedasticity (GARCH) model assumes that over time the volatility is constant. Moreover, the Seasonal Autoregressive Integrated Moving Average (SARIMA) model does not integrate the external factors. Hence in this study Seasonal Autoregressive Integrated Moving Average with Exogenous Variables (SARIMAX) model was employed since it captures seasonality in data and incorporates the exogenous variables. The research’s aim was to model prices of petrol in Kenya for the period between 2014 to 2023 with exchange rates as an external factor. Secondary data was obtained from Energy and Petroleum Regulatory Authority (EPRA), Kenya National Bureau of Statistics (KNBS) and Central Bank of Kenya (CBK) websites. R software was used to analyze the data. By the use of historical data of petrol prices and exchange rates, the study sought to fit the best Seasonal Autoregressive Integrated Moving Average with Exogenous Variables (SARIMAX) model, validate the model and predict the petrol prices. The petrol price data was found to be non-stationary using Augmented Dickey Fuller test (ADF). Regular differencing was conducted to make the data stationary. Seasonal differencing due to seasonality component available in the data was also performed. Best SARIMAX model was chosen from various SARIMAX models according to Box-Jenkins methodology which uses least Akaike Information Criterion (AIC) value. SARIMAX (0,1,1)(2,1,2)<sub>12</sub> model was selected since it had least Akaike Information Criterion (AIC) value of 656.3733 and the model validated using the hold out technique. The forecasts errors from the training set were; Mean Squared Error (MSE)=10.4970, Root Mean Square Error (RMSE)=3.239911, Mean Absolute Percentage Error (MAPE)=2.309268% while those from the testing set were; Mean Squared Error (MSE)=3271.1012, Root Mean Square Error (RMSE)=57.193542, Mean Absolute Percentage Error (MAPE)=26.695390%. There was less error in the training set than in the testing set as it was expected hence the model suited the data well and could be used for future predictions. The model was then used for five year forecast into the future. This study’s findings will offer sound suggestions to policymakers, businesses and consumers. This study recommends a model to be fitted using other factors affecting petrol prices and fitting Fourier terms, Behavioral Assessment Tools (BATS) and Trigonometric Box-Cox ARMA Trend Seasonal (TBATS) models.
Title: Modelling Petrol Prices in Kenya from 2014 to 2023 Using Sarimax Model: A Case Study of Nairobi County
Description:
The requirement for petrol price information is crucial for majority of enterprises.
This is because fluctuations in petrol prices impact inflation hence affecting daily lives of citizens.
In analyzing the prices of petrol, researchers have employed several models but encountered various limitations.
These limitations include; the Error Correction Model can examine only one co-integrating association.
The Vector Autoregression (VAR) model does not account for the structural changes in the data.
Additionally, the AutoRegressive Integrated Moving Average (ARIMA) model does not take into consideration the seasonal component in the data.
The Generalized Autoregressive Conditional Heteroskedasticity (GARCH) model assumes that over time the volatility is constant.
Moreover, the Seasonal Autoregressive Integrated Moving Average (SARIMA) model does not integrate the external factors.
Hence in this study Seasonal Autoregressive Integrated Moving Average with Exogenous Variables (SARIMAX) model was employed since it captures seasonality in data and incorporates the exogenous variables.
The research’s aim was to model prices of petrol in Kenya for the period between 2014 to 2023 with exchange rates as an external factor.
Secondary data was obtained from Energy and Petroleum Regulatory Authority (EPRA), Kenya National Bureau of Statistics (KNBS) and Central Bank of Kenya (CBK) websites.
R software was used to analyze the data.
By the use of historical data of petrol prices and exchange rates, the study sought to fit the best Seasonal Autoregressive Integrated Moving Average with Exogenous Variables (SARIMAX) model, validate the model and predict the petrol prices.
The petrol price data was found to be non-stationary using Augmented Dickey Fuller test (ADF).
Regular differencing was conducted to make the data stationary.
Seasonal differencing due to seasonality component available in the data was also performed.
Best SARIMAX model was chosen from various SARIMAX models according to Box-Jenkins methodology which uses least Akaike Information Criterion (AIC) value.
SARIMAX (0,1,1)(2,1,2)<sub>12</sub> model was selected since it had least Akaike Information Criterion (AIC) value of 656.
3733 and the model validated using the hold out technique.
The forecasts errors from the training set were; Mean Squared Error (MSE)=10.
4970, Root Mean Square Error (RMSE)=3.
239911, Mean Absolute Percentage Error (MAPE)=2.
309268% while those from the testing set were; Mean Squared Error (MSE)=3271.
1012, Root Mean Square Error (RMSE)=57.
193542, Mean Absolute Percentage Error (MAPE)=26.
695390%.
There was less error in the training set than in the testing set as it was expected hence the model suited the data well and could be used for future predictions.
The model was then used for five year forecast into the future.
This study’s findings will offer sound suggestions to policymakers, businesses and consumers.
This study recommends a model to be fitted using other factors affecting petrol prices and fitting Fourier terms, Behavioral Assessment Tools (BATS) and Trigonometric Box-Cox ARMA Trend Seasonal (TBATS) models.

Related Results

Breast Carcinoma within Fibroadenoma: A Systematic Review
Breast Carcinoma within Fibroadenoma: A Systematic Review
Abstract Introduction Fibroadenoma is the most common benign breast lesion; however, it carries a potential risk of malignant transformation. This systematic review provides an ove...
Influence of Audit Committee Competence on Financial Performance of Deposit-Taking SACCOs in Nairobi County, Kenya
Influence of Audit Committee Competence on Financial Performance of Deposit-Taking SACCOs in Nairobi County, Kenya
There is a continued trend of fraud and poor performance in most SACCOs in Kenya. Despite the presence of audit committees in SACCOs, members'/shareholders' savings have been left ...
A Novel WD-SARIMAX Model for Temperature Forecasting Using Daily Delhi Climate Dataset
A Novel WD-SARIMAX Model for Temperature Forecasting Using Daily Delhi Climate Dataset
Forecasting is defined as the process of estimating the change in uncertain situations. One of the most vital aspects of many applications is temperature forecasting. Using the Dai...
Rainfall Prediction using the SARIMAX and LSTM Methods in Semarang City
Rainfall Prediction using the SARIMAX and LSTM Methods in Semarang City
The purpose of this study is to predict the decade rainfall in Semarang City using two main methods, namely Seasonal Autoregressive Integrated Moving Average with Exogenous Variabl...
Challenges Facing the Directorate of Criminal Investigation On Management of Criminal Gang Activities in Nairobi County, Kenya
Challenges Facing the Directorate of Criminal Investigation On Management of Criminal Gang Activities in Nairobi County, Kenya
Abstract This paper uses data collected for an MA Thesis on the challenges facing the Directorate of Criminal Investigation Department on management of criminal gang activiti...
Hydatid Disease of The Brain Parenchyma: A Systematic Review
Hydatid Disease of The Brain Parenchyma: A Systematic Review
Abstarct Introduction Isolated brain hydatid disease (BHD) is an extremely rare form of echinococcosis. A prompt and timely diagnosis is a crucial step in disease management. This ...
Petrol Fiyatları ve Döviz Kuru İlişkisi: Seçilmiş Petrol İhracatçısı Ülkeleri için Panel Veri Analizi
Petrol Fiyatları ve Döviz Kuru İlişkisi: Seçilmiş Petrol İhracatçısı Ülkeleri için Panel Veri Analizi
Petrol fiyatlarında meydana gelen değişimler hem petrol ihracatçısı hem petrol ithalatçısı ülkelerinin makroekonomik değişkenleri üzerinde etkili olabilmektedir. Petrol fiyatlarınd...
Board Composition and Dividend Decisions of Companies Listed at the Nairobi Securities Exchange Kenya
Board Composition and Dividend Decisions of Companies Listed at the Nairobi Securities Exchange Kenya
Boards play a vital role in the field of corporate governance in corporate by acting as the overall governing body on all affairs of an organization. Dividend decisions determine t...

Back to Top