The Impact of Geopolitical Factors on Oil Market Risk Prediction Using a Machine Learning Approach
Keywords:
Oil market risk, geopolitical factors, machine learning, Random Forest, Value at Risk (VaR), volatility predictionAbstract
The global oil market, as one of the key pillars of the international economy, is influenced by complex geopolitical factors that make risk prediction a critical challenge. This study investigates the impact of geopolitical factors on oil market risk and develops a machine learning–based model to improve prediction accuracy. Daily time-series data of West Texas Intermediate (WTI) crude oil prices and geopolitical indices—including the Geopolitical Risk Index (GPRD), geopolitical acts (GPRD_ACT), and threats (GPRD_THREAT)—from May 5, 2014, to April 26, 2024, were analyzed. First, multiple linear regression revealed that geopolitical acts have a positive and significant effect on oil price volatility; however, limitations such as residual autocorrelation and non-normality reduced the model’s efficiency. Subsequently, four machine learning models—Random Forest (RF), Support Vector Regression (SVR), Decision Tree (DT), and Artificial Neural Network (ANN)—were trained. Among them, RF exhibited superior performance, achieving the lowest error in the test set (MAE: 0.005011, RMSE: 0.006188). Using the RF model, the conditional standard deviation was estimated to calculate the Value at Risk (VaR) at a 95% confidence level, and backtesting with the Kupiec and Christoffersen tests confirmed its accuracy. A comparative analysis with the GARCH model demonstrated the superiority of RF, supported by a higher Lopez statistic (4080.745 vs. 4033.800). These findings highlight the critical role of real geopolitical events in oil market volatility and show the advantage of machine learning in modeling nonlinear market dynamics. This study presents a novel framework for analyzing oil market risk, which can help reduce uncertainty and enhance economic decision-making.
Downloads
References
[1] M. Sebri, F. M. Ajide, and H. Dachraoui, "Geopolitical risk threshold in the informal economy-natural resources nexus: evidence from BRICS economies," Mineral Economics, pp. 1-18, 2025, doi: 10.1007/s13563-025-00514-w.
[2] K. Budanov, V. Vereshchak, В. Н. Кудрявцев, S. Mokliak, and K. Rubel, "Causes and Trends in Modern Geopolitical Changes and Sustainable Changes," JLSDGR, vol. 5, no. 1, p. e03925, 2025, doi: 10.47172/2965-730x.sdgsreview.v5.n01.pe03925.
[3] X. Wang, Y. Wu, and W. Xu, "Geopolitical risk and investment," Journal of Money, Credit and Banking, vol. 56, no. 8, pp. 2023-2059, 2024, doi: 10.1111/jmcb.13110.
[4] D. Zhao, M. O. Chaudhry, B. Ayub, M. Waqas, and I. Ullah, "Modeling the Nexus between geopolitical risk, oil price volatility and renewable energy investment; evidence from Chinese listed firms," Renewable Energy, vol. 225, p. 120309, 2024, doi: 10.1016/j.renene.2024.120309.
[5] J. Bouoiyour, R. Selmi, S. Hammoudeh, and M. E. Wohar, "What are the categories of geopolitical risks that could drive oil prices higher? Acts or threats?," Energy Economics, vol. 84, p. 104523, 2019, doi: 10.1016/j.eneco.2019.104523.
[6] R. Demirer, R. Gupta, Q. Ji, and A. K. Tiwari, "Geopolitical risks and the predictability of regional oil returns and volatility," OPEC Energy Review, vol. 43, no. 3, pp. 342-361, 2019, doi: 10.1111/opec.12160.
[7] J. Cunado, R. Gupta, C. K. M. Lau, and X. Sheng, "Time-varying impact of geopolitical risks on oil prices," Defence and Peace Economics, vol. 31, no. 6, pp. 692-706, 2020, doi: 10.1080/10242694.2018.1563854.
[8] L. Qian, Q. Zeng, and T. Li, "Geopolitical risk and oil price volatility: Evidence from Markov-switching model," International Review of Economics & Finance, vol. 81, pp. 29-38, 2022, doi: 10.1016/j.iref.2022.05.002.
[9] O. Ozcelebi and K. Tokmakcioglu, "Assessment of the asymmetric impacts of the geopolitical risk on oil market dynamics," International Journal of Finance & Economics, vol. 27, no. 1, pp. 275-289, 2022, doi: 10.1002/ijfe.2151.
[10] J. Liu, F. Ma, Y. Tang, and Y. Zhang, "Geopolitical risk and oil volatility: A new insight," Energy Economics, vol. 84, p. 104548, 2019, doi: 10.1016/j.eneco.2019.104548.
[11] L. A. Smales, "Geopolitical risk and volatility spillovers in oil and stock markets," The Quarterly Review of Economics and Finance, vol. 80, pp. 358-366, 2021, doi: 10.1016/j.qref.2021.03.008.
[12] A. F. Bariviera, L. Zunino, and O. A. Rosso, "Crude oil market and geopolitical events: an analysis based on information-theory-based quantifiers," 2017.
[13] V. Plakandaras, P. Gogas, and T. Papadimitriou, "The effects of geopolitical uncertainty in forecasting financial markets: A machine learning approach," Algorithms, vol. 12, no. 1, p. 1, 2018, doi: 10.3390/a12010001.
[14] M. R. Aunjum, M. Naqi, and S. Jamil, "A feedforward neural network model for forecasting crude oil prices using macroeconomic and geopolitical factors," in 2021 International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME), 2021, pp. 1-6, doi: 10.1109/ICECCME52200.2021.9591128.
[15] R. Pourmansouri, M. Fallahshams, and R. G. G. Afshani, "Designing a financial stress index based on the GHARCH-DCC approach and machine learning models," Journal of the Knowledge Economy, pp. 1-30, 2024, doi: 10.1007/s13132-024-02075-9.
[16] M. F. Fallah, R. Pourmansouri, and B. Ahmadpour, "Presenting a new deep learning-based method with the incorporation of error effects to predict certain cryptocurrencies," International Review of Financial Analysis, vol. 95, p. 103466, 2024, doi: 10.1016/j.irfa.2024.103466.
[17] N. B. Cheikh and Y. B. Zaied, "Investigating the dynamics of crude oil and clean energy markets in times of geopolitical tensions," Energy Economics, vol. 124, p. 106861, 2023, doi: 10.1016/j.eneco.2023.106861.
[18] H. Abdel-Latif and M. El-Gamal, "Financial liquidity, geopolitics, and oil prices," Energy Economics, vol. 87, p. 104482, 2020, doi: 10.1016/j.eneco.2019.104482.
[19] A. Gol-Khandan and M. S. Mohammadian, "The Asymmetric Impact of Global Geopolitical Risk Indices and Economic Uncertainty on Oil Rent in Iran," Quarterly Journal of Fiscal and Economic Policies, vol. 12, no. 45, pp. 175-211, 2024, doi: 10.61186/qjfep.12.45.175.
[20] A. Memarzadeh, "Investigating the Asymmetric Effects of Geopolitical Risks on Iran's Crude Oil Prices: New Evidence from the Econometric Modeling Approach," Quarterly Journal of Econometric Modeling, vol. 9, no. 1, 2024.
[21] F. Norouzizadeh, M. Goodarzi, and H. Masoudnia, "The Role of Geopolitics and Geoeconomics of Energy Transit (Oil and Gas) in the Persian Gulf in Advancing the Regional Policy of the Islamic Republic of Iran," Quarterly Journal of Geopolitics, vol. 18, no. 3, pp. 228-255, 2022.
[22] J. Xiao, F. Wen, and Z. He, "Impact of geopolitical risks on investor attention and speculation in the oil market: Evidence from nonlinear and time-varying analysis," Energy, vol. 267, p. 126564, 2023, doi: 10.1016/j.energy.2022.126564.
[23] J. W. Jiao, J. P. Yin, P. F. Xu, J. Zhang, and Y. Liu, "Transmission mechanisms of geopolitical risks to the crude oil market--A pioneering two-stage geopolitical risk analysis approach," Energy, vol. 283, p. 128449, 2023, doi: 10.1016/j.energy.2023.128449.
Downloads
Published
Submitted
Revised
Accepted
Issue
Section
License
Copyright (c) 2026 Zahra Majdi, Farhad Hanifi, Mir Feiz Fallahshams (Author)

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