IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0341496.html

Forecasting crude oil futures price with energy uncertainty: Evidence from machine learning methods

Author

Listed:
  • Xiaolu Wei

Abstract

Energy related uncertainty has significant influence on crude oil market. To explore the influence, this paper investigates the predictive ability of the Energy-Related Uncertainty Index (EUI), over and above standard macroeconomic predictors, in forecasting crude oil prices using an array of machine learning methods. We find that EUI has a significant impact on crude oil prices. Moreover, machine learning methods combined with EUI performed better than the linear regression method due to a lower rate of prediction errors. Among these methods, the Random Forest (RF) model with EUI performs better in the short term, while the Attention-enhanced Long Short-Term Memory (Attention-LSTM) model with EUI has more substantial predictive power in the long term. These empirical results pass a series of robustness tests. Our findings have important implications for both regulators and investors in the crude oil market.

Suggested Citation

  • Xiaolu Wei, 2026. "Forecasting crude oil futures price with energy uncertainty: Evidence from machine learning methods," PLOS ONE, Public Library of Science, vol. 21(2), pages 1-29, February.
  • Handle: RePEc:plo:pone00:0341496
    DOI: 10.1371/journal.pone.0341496
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0341496
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0341496&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0341496?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Monika Roman & Aleksandra Górecka & Joanna Domagała, 2020. "The Linkages between Crude Oil and Food Prices," Energies, MDPI, vol. 13(24), pages 1-18, December.
    2. Dai, Peng-Fei & Xiong, Xiong & Zhang, Jin & Zhou, Wei-Xing, 2022. "The role of global economic policy uncertainty in predicting crude oil futures volatility: Evidence from a two-factor GARCH-MIDAS model," Resources Policy, Elsevier, vol. 78(C).
    3. Muhammad Shahbaz & Arshian Sharif & Fateh Belaid & Xuan Vinh Vo, 2023. "Long‐run co‐variability between oil prices and economic policy uncertainty," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 1308-1326, April.
    4. Yan Ding & Yue Liu & Pierre Failler, 2022. "The Impact of Uncertainties on Crude Oil Prices: Based on a Quantile-on-Quantile Method," Energies, MDPI, vol. 15(10), pages 1-35, May.
    5. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    6. Li, Xiafei & Liang, Chao & Chen, Zhonglu & Umar, Muhammad, 2022. "Forecasting crude oil volatility with uncertainty indicators: New evidence," Energy Economics, Elsevier, vol. 108(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Xie, Yutang & Cao, Yujia & Li, Xiaotao, 2023. "The importance of trade policy uncertainty to energy consumption in a changing world," Finance Research Letters, Elsevier, vol. 52(C).
    2. Lu, Fei & Ma, Feng & Li, Pan & Huang, Dengshi, 2022. "Natural gas volatility predictability in a data-rich world," International Review of Financial Analysis, Elsevier, vol. 83(C).
    3. Dong, Xiyong & Xiong, Youlin & Nie, Siyue & Yoon, Seong-Min, 2023. "Can bonds hedge stock market risks? Green bonds vs conventional bonds," Finance Research Letters, Elsevier, vol. 52(C).
    4. Wen, Jun & Khalid, Samia & Mahmood, Hamid & Zakaria, Muhammad, 2021. "Symmetric and asymmetric impact of economic policy uncertainty on food prices in China: A new evidence," Resources Policy, Elsevier, vol. 74(C).
    5. Liu, Xiaoqin & Wojewodzki, Michal & Cai, Yifei & Sharma, Satish, 2023. "The dynamic relationships between carbon prices and policy uncertainties," Technological Forecasting and Social Change, Elsevier, vol. 188(C).
    6. Li, Dongxin & Zhang, Li & Li, Lihong, 2023. "Forecasting stock volatility with economic policy uncertainty: A smooth transition GARCH-MIDAS model," International Review of Financial Analysis, Elsevier, vol. 88(C).
    7. Xu, Yongan & Li, Ming & Yan, Wen & Bai, Jiancheng, 2022. "Predictability of the renewable energy market returns: The informational gains from the climate policy uncertainty," Resources Policy, Elsevier, vol. 79(C).
    8. Li, Houjian & Li, Yanjiao & Luo, Fangyuan, 2025. "Unveiling the gold-oil whirl amidst market uncertainty shocks in China," The North American Journal of Economics and Finance, Elsevier, vol. 76(C).
    9. Wu, Bangzheng, 2025. "The global supply pressure and oil supply–demand shocks: A time-scale and quantile analysis," Energy Economics, Elsevier, vol. 147(C).
    10. Dai, Xingyu & Yousaf, Imran & Wang, Jiqian & Wang, Qunwei & Lau, Chi Keung Marco, 2025. "The pass-through of macro variable to volatility co-movement among U.S. currency and commodity futures markets system," Journal of Commodity Markets, Elsevier, vol. 38(C).
    11. Xie, Qichang & Bai, Yu & Jia, Nanfei & Xu, Xin, 2024. "Do macroprudential policies reduce risk spillovers between energy markets?: Evidence from time-frequency domain and mixed-frequency methods," Energy Economics, Elsevier, vol. 134(C).
    12. Fameliti Stavroula & Skintzi Vasiliki, 2024. "Macroeconomic attention and commodity market volatility," Empirical Economics, Springer, vol. 67(5), pages 1967-2007, November.
    13. Li, Zepei & Huang, Haizhen, 2023. "Challenges for volatility forecasts of US fossil energy spot markets during the COVID-19 crisis," International Review of Economics & Finance, Elsevier, vol. 86(C), pages 31-45.
    14. Youness EL amine & Mounir benboubker, 2025. "Analyzing the dynamics of oil price volatility: a comparative study of market fundamentals and global uncertainty," Economia Politica: Journal of Analytical and Institutional Economics, Springer;Fondazione Edison, vol. 42(3), pages 829-851, October.
    15. Wen, Danyan & He, Mengxi & Wang, Yudong & Zhang, Yaojie, 2024. "Forecasting crude oil market volatility: A comprehensive look at uncertainty variables," International Journal of Forecasting, Elsevier, vol. 40(3), pages 1022-1041.
    16. Ioannis Dokas & Georgios Oikonomou & Minas Panagiotidis & Eleftherios Spyromitros, 2023. "Macroeconomic and Uncertainty Shocks’ Effects on Energy Prices: A Comprehensive Literature Review," Energies, MDPI, vol. 16(3), pages 1-35, February.
    17. Mahmoud Qadan & Gil Cohen, 2024. "Uncertainty about interest rates and crude oil prices," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-14, December.
    18. Akadiri, Seyi Saint & Ozkan, Oktay, 2025. "Risk across the spectrum: Unpacking the nexus of global oil uncertainty, geopolitical tensions, energy volatility, and US-China trade tensions," Energy Policy, Elsevier, vol. 202(C).
    19. Shen, Lihua & Hong, Yanran, 2023. "Can geopolitical risks excite Germany economic policy uncertainty: Rethinking in the context of the Russia-Ukraine conflict," Finance Research Letters, Elsevier, vol. 51(C).
    20. Mei, Dexiang & Xie, Yutang, 2022. "U.S. grain commodity futures price volatility: Does trade policy uncertainty matter?," Finance Research Letters, Elsevier, vol. 48(C).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0341496. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.