Developing a Time Series Forecasting Model for Monthly Gasoline Consumption in Iran: An Application of the Seasonal Unit Root Test

Document Type : Original Research

Authors
Department of Agricultural Economics, Colleges of Agriculture & Natural Resources, University of Tehran, Islamic Republic of Iran
Abstract
Energy consumption in Iran has risen sharply in recent decades, with the transportation sector as one of the largest consumers due to weak public transit and high reliance on gasoline. Limited refining capacity, sanctions, and rapid demand growth have widened the gap between production and consumption, making accurate forecasts critical for planning, budgeting, and policy design. This study forecasts monthly gasoline consumption in Iran using univariate seasonal time series models and data from April 1998 to March 2024. Seasonal unit root tests by Beaulieu–Miron and Taylor indicated a nonseasonal unit root but no seasonal unit roots, implying the need for first order differencing. Two models were then estimated: an autoregressive regression with monthly dummies and a seasonal autoregressive integrated moving average (SARIMA). out-of-sample forecasts (April 2023–March 2024) show that SARIMA outperformed the regression model with a Mean Absolute Percentage Error (MAPE) of 2.15% compared to 18.34%. Forecasts for April 2024–March 2027 indicate cumulative growth of 6.5% in gasoline consumption, averaging 2.15% annually over 115% higher than global energy growth projected by the International Energy Agency. These findings highlight the urgency of strengthening refining capacity, improving fuel efficiency, expanding public transport, and implementing rational pricing policies.
Keywords
Subjects

 
1.   Ayyıldız, E. and Murat, M. 2024. A lasso regression-based forecasting model for daily gasoline consumption: Türkiye Case. Turk. J. Eng., 8(1): 162-174. https://doi.org/10.31127/tuje.1354501
2.   Beaulieu, J.J. and Miron, J.A. 1993. Seasonal unit roots in aggregate U.S. data. J. Econom., 55: 305-328. https://doi.org/10.1016/0304-4076(93)90018-Z
3.   Box, G.E.P. and Jenkins, G.M. 1970. Time series analysis: forecasting and control. Holden-Day, San Francisco. https://books.google.com/books/about/Time_Series_Analysis.html?id=5BVfnXaq03oC
4.   Box, G.E.P., Jenkins, G.M., Reinsel, G.C. and Ljung, G.M. 2015. Time series analysis: forecasting and control (5th ed.). Wiley. https://doi.org/10.1111/jtsa.12194
5.   Brendstrup, B., Hylleberg, S., Nielsen, M., Skipper, L. and Stentoft, L. 2004. Seasonality in economic models. Macroecon. Dyn., 8: 362–394. https://doi.org/10.1017/S1365100504030111
6.   Broadhead, J. and Killmann, W. 2008. Forests and energy: key issues. FAO Forestry Paper (No. 154), Food & Agriculture Organization of the United Nations. https://www.fao.org/4/i0139e/i0139e00.htm
7.   Broni-Bediako, E., Buabeng, A. and Allotey, P. 2024. Predicting Ghana’s daily natural gas consumption using time series models. J. Pet. Sci. Eng., 8: 27-37. https://doi.org/10.11648/j.pse.20240801.14
8.   Darne, O. and Diebolt, C. 2002. A note on seasonal unit root tests. Qual. Quant., 36: 305-310. https://doi.org/10.1023/A:1016032601197
9.   Dickey, D.A. and Fuller, W.A. 1979. Distribution of the estimators for autoregressive time series with a unit root. J. Am. Stat. Assoc., 74: 427-431. https://doi.org/10.2307/2286348
10.  Enders, W. 2004. Applied econometrics time series. Second edition, John Wiley and Sons, Iowa State University. https://new.mmf.lnu.edu.ua/wpcontent/uploads/2018/03/enders_applied_econometric_time_series.pdf
11.  Franses, P.H. 1991. Seasonality, non-stationary and the forecasting of monthly time Series. Int. J. Forecast., 7: 199-208. https://doi.org/10.1016/0169-2070(91)90054-Y
12.  Franses, P.H. 1995. The effects of seasonally adjusting a periodic autoregressive process. Comput. Stat. Data Anal., 19: 683–704. https://doi.org/10.1016/0167-9473(94)00019-F
13.  Franses, P.H. and Paap, R. 2004. Periodic time series models: Advanced texts in Econometrics. Oxford University Press. https://www.amazon.com/Periodic-Models-AdvancedTextsEconometrics/dp/019924202X
14.  Ghysels, E. and Osborn, D.R. 2001. The econometric analysis of seasonal time series. Cambridge University Press. https://doi.org/10.1017/CBO9781139164009
15.  Ghysels, E., Lee, H.S. and Noh, J. 1994. Testing for unit roots in seasonal time series: some theoretical and extensions and a Monte Carlo investigation. J. Econom., 62: 415-442. https://doi.org/10.1016/0304-4076(94)90030-2
16.  Hossain, M.L., Shams, S.M.N. and Ullah, S.M. 2025. Time-series and deep learning approaches for renewable energy forecasting in Dhaka: a comparative study of ARIMA, SARIMA, and LSTM models. Discov. Sustain., 6: 775-800. https://doi.org/10.1007/s43621-025-01733-5
17.  Hylleberg, S. 1995. Tests for seasonal unit roots: General to specific or specific to general?, J. Econom., 69: 5-25. https://doi.org/10.1016/0304-4076(94)01660-R
18.  Hylleberg, S., Engle, R.F., Granger, C.W.J. and Yoo, B.S. 1990. Seasonal integration and cointegration. J. Econom., 99: 215- 238. https://doi.org/10.1017/CBO9780511753978.011
19.  Hyndman, R.J. and Athanasopoulos, G. 2021. Forecasting: principles and practice, 3rd edition, OTexts: Melbourne, Australia. https://otexts.com/fpp3/
20.  Iatsyshyn, A., Uzel, H., Alpsalaz, F., Özüpak, Y. and Aslan, E. 2025. Electricity demand prediction using SARIMA: A framework for system failure management and grid stability. CEUR Workshop Proc., AISTDS-2025, 1–15. https://ceur-ws.org/Vol-4133/S_13_Iatsyshyn.pdf
21.  International Energy Agency (IEA). 2019. World Energy Outlook. https://www.iea.org/reports/worldenergy-statistics-2019
22.  Keshavarz Haddad, G. and Mirbagheri jam, M. 2007. Estimation of residential and commercial demand for natural gas in Iran using the structural time series model. Iran. J. Econ. Res., 9: 137-160. (In Persian) https://ijer.atu.ac.ir/article_3628.html?lang=en
23.  Kim, T.Y., and Cho, S.B. 2019. Predicting residential energy consumption using CNNLSTM neural networks. Energy, 182: 72-81. https://doi.org/10.1016/j.energy.2019.05.230
24.  Lim, C. and McAleer, M. 2000. A seasonal analysis of Asian tourist arrivals to Australia. Appl. Econ., 32: 499-509. https://doi.org/10.1080/000368400322660
25.  Mehregan, N., and Ghorbani, V. 2010. Short-term and long-term gasoline demand in transportation sector. Transp. Res., 6: 367-379. (In Persian) https://sid.ir/paper/83821/en
26.  Ministry of Energy. 2024. Energy balance sheet. Vice President of Electricity and Energy Affairs, Electricity and Energy Planning Bureau. Tehran, Iran. https://moe.gov.ir/?lang=en-us
27.  Mishra, V. and Smyth, R. 2014. Is monthly us natural gas consumption stationary? New evidence from a GARCH unit root test with structural breaks. Energy Policy, 69: 258-262. https://doi.org/10.1016/j.enpol.2014.03.033
28.  National Iranian Oil Products Distribution Company (NIOC). 2024. Statistical yearbook of energy-producing petroleum products consumption (1998-2024). Tehran, Iran. https://www.niordc.ir/enUS/Portal/1/page/Home
29.  Rodrigues, P.M.M. and Franses, H. P. 2005. A sequential approach to testing seasonal unit roots in high frequency data. J. Appl. Stat., 32: 555-569. https://doi.org/10.1080/02664760500078912
30.  Rodrigues, P.M.M. and Osborn, D.R. 1999. Performance of seasonal unit root tests for monthly data. J. Appl. Stat., 26:985– 1004. https://doi.org/10.1080/02664769921981
31.  Rosado, J., Guerra, D. and Ferreira, P. 2021. Seasonality in fuel consumption: a case study of a gas station. Rev. Métodos Cuantit. Econ. Empres., 32: 3-12. https://www.econstor.eu/handle/10419/286238
32.  Rubia, A. 2001. Testing for weekly seasonal unit roots in daily electricity demand: evidence from deregulated markets. Working Papers. Serie EC 2001-21, Instituto Valenciano de Investigaciones Económicas, S.A. (Ivie). http://www.ivie.es/downloads/docs/wpasec/wpasec-2001-21.pdf
33.  Sapnken, E.F., Tamba, J.G., Essiane, S.N., Koffi, F.D. and Njomo, D. 2018. Modelling and forecasting gasoline consumption in Cameroon using linear regression models. Int. J. Energy Econ. Policy, 8: 111-120. https://www.econjournals.com/index.php/ijeep/article/download/5985/3605
34.  Suganthi, L. and Samuel, A.A. 2012. Energy models for demand forecasting-A review. Renew. Sustain. Energy Rev., 16: 1223-1240. https://doi.org/10.1016/j.rser.2011.08.014
35.  Szostek, K., Mazur, D., Drałus, G. and Kusznier, J. 2024. Analysis of the effectiveness of ARIMA, SARIMA, and SVR models in time series forecasting: A case study of wind farm energy production. Energies, 17: 4803-4821. https://doi.org/10.3390/en17194803
36.  Taylor, A.M. 1998. Testing for unit roots in monthly time series. J. Time Ser. Anal., 19: 349-368. https://doi.org/10.1111/1467-9892.00096
37.  Wooldridge, J.M. 2003. Introductory econometrics, a modern approach. Second edition, South-Western College Publishing. https://www.stata.com/bookstore/introductory-econometrics/

Articles in Press, Accepted Manuscript
Available Online from 07 October 2026