Evaluating and forecasting conventional gasoline price fluctuations using Garch models with two distributions and machine learning methods
Abstract
Conventional gasoline price can affect the government and society as a strategic commodity in the community. Conventional gasoline price fluctuations have economic, political, social, cultural, and environmental effects. Thus, the prediction of its volatility is essential but there is not any study to examine the price fluctuations. This study aims to hybridize and propose different Garch models based on two distributions and various algorithms in machine learning, such as random forest, ridge regression, support vector regression (SVR), and elastic-net for predicting weekly gasoline price volatility. The results depict Garch and GJRgarch models based on t-student distribution can predict volatility. The combination of ridge regression and GJRgarch model can better predict volatility for the seven-step-ahead. The RMSE scale has been used to compare results that the scale value is 0.01475 in the hybrid method. In fact, combining the ridge regression with t-student-GJRgarch model has the slightest error prediction or the most accuracy among different Garch models and machine learning algorithms.
Keywords:
Garch models, Machine learning, Gasoline price, Volatility, DistributionReferences
- [1] Setyawan, D. (2014). The impacts of the domestic fuel increases on prices of the Indonesian economic sectors. Energy procedia, 47, 47–55. https://doi.org/10.1016/j.egypro.2014.01.195
- [2] Kpodar, K., & Liu, B. (2022). The distributional implications of the impact of fuel price increases on inflation. Energy economics, 108, 105909. https://doi.org/10.1016/j.eneco.2022.105909
- [3] Norouzia, N. (2019). Short-term and long-term effects of fuel carrier’s price rise on consumer price inflation in Iran. Technology transfer and entrepreneurship, 1–13. https://B2n.ir/ww5979
- [4] Jansen, D. J., & Jonker, N. (2018). Fuel tourism in Dutch border regions: Are only salient price differentials relevant? Energy economics, 74, 143–153. https://doi.org/10.1016/j.eneco.2018.05.036
- [5] Kilian, L., & Zhou, X. (2020). Oil prices, gasoline prices and inflation expectations: A new model and new facts. https://hdl.handle.net/10419/223588
- [6] Rodrigues, N., Losekann, L., & Silveira Filho, G. (2018). Demand of automotive fuels in Brazil: underlying energy demand trend and asymmetric price response. Energy economics, 74, 644–655. https://doi.org/10.1016/j.eneco.2018.07.005
- [7] Bagnai, A., & Ospina, C. A. M. (2015). Long-and short-run price asymmetries and hysteresis in the Italian gasoline market. Energy policy, 78, 41–50. https://doi.org/10.1016/j.enpol.2014.12.017
- [8] Bagnai, A., & Ospina, C. A. M. (2016). “Asymmetric asymmetries” in Eurozone markets gasoline pricing. The journal of economic asymmetries, 13, 89–99. DOI:https://doi.org/10.1016/j.jeca.2016.03.004
- [9] Ou, S., Lin, Z., Xu, G., Hao, X., Li, H., Gao, Z., Bouchard, J. (2020). The retailed gasoline price in China: Time-series analysis and future trend projection. Energy, 191, 116544. https://doi.org/10.1016/j.energy.2019.116544
- [10] Bastianin, A., Galeotti, M., & Manera, M. (2014). Forecasting the oil-gasoline price relationship: Do asymmetries help? Energy economics, 46, S44--S56. https://doi.org/10.1016/j.eneco.2014.08.006
- [11] Escribano, Á., & Wang, D. (2021). Mixed random forest, cointegration, and forecasting gasoline prices. International journal of forecasting, 37(4), 1442–1462. https://doi.org/10.1016/j.ijforecast.2020.12.008
- [12] Kolesnikova, A., & Fantazzini, D. (2021). Asymmetry and hysteresis in the Russian gasoline market: The rationale for green energy exports. Energy policy, 157, 112466. https://doi.org/10.1016/j.enpol.2021.112466
- [13] Hammoudeh, S., Li, H., & Jeon, B. (2003). Causality and volatility spillovers among petroleum prices of WTI, gasoline and heating oil in different locations. The north american journal of economics and finance, 14(1), 89–114. https://doi.org/10.1016/S1062-9408(02)00112-2
- [14] An, J., Mikhaylov, A., & Moiseev, N. (2019). Oil price predictors: machine learning approach. International journal of energy economics and policy, 9(5), 1–6. https://www.econjournals.net.tr/index.php/ijeep/article/view/7597
- [15] Gabralla, L. A., Jammazi, R., & Abraham, A. (2013). Oil price prediction using ensemble machine learning. 2013 International conference on computing, electrical and electronic engineering (ICCEEE) (pp. 674–679). IEEE. https://doi.org/10.1109/ICCEEE.2013.6634021
- [16] Gumus, M., & Kiran, M. S. (2017). Crude oil price forecasting using xgboost. 2017 international conference on computer science and engineering (ubmk) (pp. 1100–1103). IEEE. https://doi.org/10.1109/UBMK.2017.8093500
- [17] Busari, G. A., & Lim, D. H. (2021). Crude oil price prediction: A comparison between AdaBoost-LSTM and AdaBoost-GRU for improving forecasting performance. Computers & chemical engineering, 155, 107513. https://doi.org/10.1016/j.compchemeng.2021.107513
- [18] Orojo, O., Tepper, J., McGinnity, T. M., & Mahmud, M. (2019). A multi-recurrent network for crude oil price prediction. 2019 IEEE symposium series on computational intelligence (SSCI) (pp. 2940–2945). IEEE. https://doi.org/10.1109/SSCI44817.2019.9002841
- [19] Jovanovic, L., Jovanovic, D., Bacanin, N., Jovancai Stakic, A., Antonijevic, M., Magd, H., … Zivkovic, M. (2022). Multi-step crude oil price prediction based on lstm approach tuned by salp swarm algorithm with disputation operator. Sustainability, 14(21), 14616. https://doi.org/10.3390/su142114616
- [20] Hao, J., Feng, Q., Yuan, J., Sun, X., & Li, J. (2022). A dynamic ensemble learning with multi-objective optimization for oil prices prediction. Resources policy, 79, 102956. https://doi.org/10.1016/j.resourpol.2022.102956
- [21] Lu, H., Ma, X., Ma, M., & Zhu, S. (2021). Energy price prediction using data-driven models: A decade review. Computer science review, 39, 100356.https://doi.org/10.1016/j.cosrev.2020.100356
- [22] Lahmiri, S., & Boukadoum, M. (2015). An ensemble system based on hybrid EGARCH-ANN with different distributional assumptions to predict S&P 500 intraday volatility. Fluctuation and noise letters, 14(01), 1550001. https://doi.org/10.1142/S0219477515500017
- [23] Bildirici, M., & Ersin, Ö. Ö. (2009). Improving forecasts of GARCH family models with the artificial neural networks: An application to the daily returns in Istanbul stock exchange. Expert systems with applications, 36(4), 7355–7362. https://doi.org/10.1016/j.eswa.2008.09.051
- [24] Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica: journal of the econometric society, 987–1007. https://doi.org/10.2307/1912773
- [25] Glosten, L. R., Jagannathan, R., & Runkle, D. E. (1993). On the relation between the expected value and the volatility of the nominal excess return on stocks. The journal of finance, 48(5), 1779–1801. https://doi.org/10.1111/j.1540-6261.1993.tb05128.x
- [26] Nelson, D. B. (1991). Conditional heteroskedasticity in asset returns: A new approach. Econometrica: journal of the econometric society, 347–370. https://doi.org/10.2307/2938260
- [27] Uğurlu, E. (2019). Research data analysis using EViews: an empirical example of modeling volatility. In Research data access and management in modern libraries (pp. 292–324). IGI Global. https://doi.org/10.4018/978-1-5225-8437-7.ch014
- [28] Thomas, S., & Mitchell, H. (2005). GARCH modeling of high-frequency volatility in Australia’s National Electricity Market. System, 1–39. https://B2n.ir/fy4358
- [29] Cover, T. M. (1999). Elements of information theory. John Wiley & Sons. https://doi.org/10.1002/047174882X
- [30] Hurst, S. (1995). The characteristic function of the Student t distribution. https://B2n.ir/fu2748
- [31] Breiman, L. (2001). Random forests. machine learning. Machine learning, 45, 5–32. https://doi.org/10.1023/A:1010933404324
- [32] Dudek, G., Fiszeder, P., & Kobus Pawełand Orzeszko, W. (2024). Forecasting cryptocurrencies volatility using statistical and machine learning methods: A comparative study. Applied soft computing, 151, 111132. https://doi.org/10.1016/j.asoc.2023.111132
- [33] James, G., Witten, D., Hastie, T., Tibshirani, R. (2013). An introduction to statistical learning (Vol. 112). Springer. https://doi.org/10.1007/978-3-031-38747-0
- [34] Hilt, D. E., & Seegrist, D. W. (1977). Ridge, a computer program for calculating ridge regression estimates (Vol. 236). Department of Agriculture, Forest Service, Northeastern Forest Experiment. https://research.fs.usda.gov/treesearch/19260
- [35] Vapnik, V., Golowich, S., & Smola, A. (1996). Support vector method for function approximation, regression estimation and signal processing. Advances in neural information processing systems (Vol. 9). https://B2n.ir/rt8212
- [36] Gavrishchaka, V. V, & Ganguli, S. B. (2003). Volatility forecasting from multiscale and high-dimensional market data. Neurocomputing, 55(1–2), 285–305. https://doi.org/10.1016/S0925-2312(03)00381-3
- [37] Zou, H., & Hastie, T. (2005). Regularization and variable selection via the elastic net. Journal of the royal statistical society series b: statistical methodology, 67(2), 301–320. https://doi.org/10.1111/j.1467-9868.2005.00503.x
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Transactions on Quantitative Finance and Beyond

This work is licensed under a Creative Commons Attribution 4.0 International License.