IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v62y2023i2d10.1007_s10614-022-10305-y.html
   My bibliography  Save this article

Do Gas Price and Uncertainty Indices Forecast Crude Oil Prices? Fresh Evidence Through XGBoost Modeling

Author

Listed:
  • Kais Tissaoui

    (University of Ha’il, Applied College
    University of Tunis El Manar)

  • Taha Zaghdoudi

    (University of Ha’il, Applied College
    University of Carthage)

  • Abdelaziz Hakimi

    (University of Jendouba and V.P.N.C Lab FSJEG)

  • Mariem Nsaibi

    (University of Ha’il, Applied College)

Abstract

This study examines the forecasting power of the gas price and uncertainty indices for crude oil prices. The complex characteristics of crude oil price such as a non-linear structure, time-varying, and non-stationarity motivate us to use a newly proposed approach of machine learning tools called XGBoost Modelling. This intelligent tool is applied against the SVM and ARIMAX (p,d,q) models to assess the complex relationships between crude oil prices and their forecasters. Empirical evidence shows that machine learning models, such as the SVM and XGBoost models, dominate traditional models, such as ARIMAX, to provide accurate forecasts of crude oil prices. Performance assessment reveals that the XGBoost model displays superior prediction capacity over the SVM model in terms of accuracy and convergence. The superior performance of XGBoost is due to its lower complexity and costs, high accuracy, and rapid processing times. The feature importance analysis conducted by the Shapley additive explanation method (SHAP) highlights that the different uncertainty indexes and the gas price display a significant ability to forecast future WTI crude prices. Additionally, the SHAP values suggest that the oil implied volatility captures valuable forecasting information of gas prices and other uncertainty indices that affect the WTI crude oil price.

Suggested Citation

  • Kais Tissaoui & Taha Zaghdoudi & Abdelaziz Hakimi & Mariem Nsaibi, 2023. "Do Gas Price and Uncertainty Indices Forecast Crude Oil Prices? Fresh Evidence Through XGBoost Modeling," Computational Economics, Springer;Society for Computational Economics, vol. 62(2), pages 663-687, August.
  • Handle: RePEc:kap:compec:v:62:y:2023:i:2:d:10.1007_s10614-022-10305-y
    DOI: 10.1007/s10614-022-10305-y
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-022-10305-y
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-022-10305-y?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Li, Ranran & Hu, Yucai & Heng, Jiani & Chen, Xueli, 2021. "A novel multiscale forecasting model for crude oil price time series," Technological Forecasting and Social Change, Elsevier, vol. 173(C).
    2. Charles, Amélie & Darné, Olivier, 2017. "Forecasting crude-oil market volatility: Further evidence with jumps," Energy Economics, Elsevier, vol. 67(C), pages 508-519.
    3. Stephen P. A. Brown & Mine K. Yucel, 2008. "What Drives Natural Gas Prices?," The Energy Journal, International Association for Energy Economics, vol. 0(Number 2), pages 45-60.
    4. Salisu, Afees A. & Fasanya, Ismail O., 2013. "Modelling oil price volatility with structural breaks," Energy Policy, Elsevier, vol. 52(C), pages 554-562.
    5. Liu, Jing & Ma, Feng & Yang, Ke & Zhang, Yaojie, 2018. "Forecasting the oil futures price volatility: Large jumps and small jumps," Energy Economics, Elsevier, vol. 72(C), pages 321-330.
    6. Hao, Xianfeng & Zhao, Yuyang & Wang, Yudong, 2020. "Forecasting the real prices of crude oil using robust regression models with regularization constraints," Energy Economics, Elsevier, vol. 86(C).
    7. Jiang Wu & Feng Miu & Taiyong Li, 2020. "Daily Crude Oil Price Forecasting Based on Improved CEEMDAN, SCA, and RVFL: A Case Study in WTI Oil Market," Energies, MDPI, vol. 13(7), pages 1-20, April.
    8. Aloui, Riadh & Gupta, Rangan & Miller, Stephen M., 2016. "Uncertainty and crude oil returns," Energy Economics, Elsevier, vol. 55(C), pages 92-100.
    9. 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.
    10. Sami Ben Jabeur & Rabeh Khalfaoui & Wissal Ben Arfi, 2021. "The effect of green energy, global environmental indexes, and stock markets in predicting oil price crashes: Evidence from explainable machine learning," Post-Print hal-03797577, HAL.
    11. Anupam Dutta, 2017. "Modeling and forecasting oil price risk: the role of implied volatility index," Journal of Economic Studies, Emerald Group Publishing Limited, vol. 44(6), pages 1003-1016, November.
    12. Climent, Francisco & Momparler, Alexandre & Carmona, Pedro, 2019. "Anticipating bank distress in the Eurozone: An Extreme Gradient Boosting approach," Journal of Business Research, Elsevier, vol. 101(C), pages 885-896.
    13. Phan, Dinh Hoang Bach & Tran, Vuong Thao & Nguyen, Dat Thanh, 2019. "Crude oil price uncertainty and corporate investment: New global evidence," Energy Economics, Elsevier, vol. 77(C), pages 54-65.
    14. Hamilton, James D, 1983. "Oil and the Macroeconomy since World War II," Journal of Political Economy, University of Chicago Press, vol. 91(2), pages 228-248, April.
    15. repec:ipg:wpaper:2014-569 is not listed on IDEAS
    16. Herrera, Gabriel Paes & Constantino, Michel & Tabak, Benjamin Miranda & Pistori, Hemerson & Su, Jen-Je & Naranpanawa, Athula, 2019. "Long-term forecast of energy commodities price using machine learning," Energy, Elsevier, vol. 179(C), pages 214-221.
    17. Batten, Jonathan A. & Ciner, Cetin & Lucey, Brian M., 2017. "The dynamic linkages between crude oil and natural gas markets," Energy Economics, Elsevier, vol. 62(C), pages 155-170.
    18. Cerqueti, Roy & Fanelli, Viviana & Rotundo, Giulia, 2019. "Long run analysis of crude oil portfolios," Energy Economics, Elsevier, vol. 79(C), pages 183-205.
    19. Susanto Basu & Brent Bundick, 2017. "Uncertainty Shocks in a Model of Effective Demand," Econometrica, Econometric Society, vol. 85, pages 937-958, May.
    20. Yang, Lu, 2019. "Connectedness of economic policy uncertainty and oil price shocks in a time domain perspective," Energy Economics, Elsevier, vol. 80(C), pages 219-233.
    21. Hamilton, James D., 2003. "What is an oil shock?," Journal of Econometrics, Elsevier, vol. 113(2), pages 363-398, April.
    22. Zhu, Hui-Ming & Li, Rong & Li, Sufang, 2014. "Modelling dynamic dependence between crude oil prices and Asia-Pacific stock market returns," International Review of Economics & Finance, Elsevier, vol. 29(C), pages 208-223.
    23. Lyu, Yongjian & Tuo, Siwei & Wei, Yu & Yang, Mo, 2021. "Time-varying effects of global economic policy uncertainty shocks on crude oil price volatility:New evidence," Resources Policy, Elsevier, vol. 70(C).
    24. Taiyong Li & Zhenda Hu & Yanchi Jia & Jiang Wu & Yingrui Zhou, 2018. "Forecasting Crude Oil Prices Using Ensemble Empirical Mode Decomposition and Sparse Bayesian Learning," Energies, MDPI, vol. 11(7), pages 1-23, July.
    25. Wang, Yu Shan, 2013. "Oil price effects on personal consumption expenditures," Energy Economics, Elsevier, vol. 36(C), pages 198-204.
    26. Sami Ben Jabeur & Salma Mefteh-Wali & Jean-Laurent Viviani, 2021. "Forecasting gold price with the XGBoost algorithm and SHAP interaction values," Post-Print hal-03331805, HAL.
    27. Lubos Pástor & Pietro Veronesi, 2012. "Uncertainty about Government Policy and Stock Prices," Journal of Finance, American Finance Association, vol. 67(4), pages 1219-1264, August.
    28. Charles, Amélie & Darné, Olivier, 2014. "Volatility persistence in crude oil markets," Energy Policy, Elsevier, vol. 65(C), pages 729-742.
    29. Wang, Yudong & Wu, Chongfeng, 2012. "Energy prices and exchange rates of the U.S. dollar: Further evidence from linear and nonlinear causality analysis," Economic Modelling, Elsevier, vol. 29(6), pages 2289-2297.
    30. Yang, Cai & Gong, Xu & Zhang, Hongwei, 2019. "Volatility forecasting of crude oil futures: The role of investor sentiment and leverage effect," Resources Policy, Elsevier, vol. 61(C), pages 548-563.
    31. Abdollahi, Hooman, 2020. "A novel hybrid model for forecasting crude oil price based on time series decomposition," Applied Energy, Elsevier, vol. 267(C).
    32. Zhang, Jin-Liang & Zhang, Yue-Jun & Zhang, Lu, 2015. "A novel hybrid method for crude oil price forecasting," Energy Economics, Elsevier, vol. 49(C), pages 649-659.
    33. Chen, Shiu-Sheng & Chen, Hung-Chyn, 2007. "Oil prices and real exchange rates," Energy Economics, Elsevier, vol. 29(3), pages 390-404, May.
    34. Tissaoui, Kais, 2019. "Forecasting implied volatility risk indexes: International evidence using Hammerstein-ARX approach," International Review of Financial Analysis, Elsevier, vol. 64(C), pages 232-249.
    35. Wang, Jie & Wang, Jun, 2016. "Forecasting energy market indices with recurrent neural networks: Case study of crude oil price fluctuations," Energy, Elsevier, vol. 102(C), pages 365-374.
    36. Fenghua Wen & Feng Min & Yue‐Jun Zhang & Can Yang, 2019. "Crude oil price shocks, monetary policy, and China's economy," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 24(2), pages 812-827, April.
    37. Wang, Kai-Hua & Su, Chi-Wei & Umar, Muhammad, 2021. "Geopolitical risk and crude oil security: A Chinese perspective," Energy, Elsevier, vol. 219(C).
    38. Gatfaoui, Hayette, 2016. "Linking the gas and oil markets with the stock market: Investigating the U.S. relationship," Energy Economics, Elsevier, vol. 53(C), pages 5-16.
    39. Taiyong Li & Min Zhou & Chaoqi Guo & Min Luo & Jiang Wu & Fan Pan & Quanyi Tao & Ting He, 2016. "Forecasting Crude Oil Price Using EEMD and RVM with Adaptive PSO-Based Kernels," Energies, MDPI, vol. 9(12), pages 1-21, December.
    40. Chen, Wang & Ma, Feng & Wei, Yu & Liu, Jing, 2020. "Forecasting oil price volatility using high-frequency data: New evidence," International Review of Economics & Finance, Elsevier, vol. 66(C), pages 1-12.
    41. Atil, Ahmed & Lahiani, Amine & Nguyen, Duc Khuong, 2014. "Asymmetric and nonlinear pass-through of crude oil prices to gasoline and natural gas prices," Energy Policy, Elsevier, vol. 65(C), pages 567-573.
    42. Soojin Jo, 2014. "The Effects of Oil Price Uncertainty on Global Real Economic Activity," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 46(6), pages 1113-1135, September.
    43. Dutta, Anupam & Bouri, Elie & Saeed, Tareq, 2021. "News-based equity market uncertainty and crude oil volatility," Energy, Elsevier, vol. 222(C).
    44. Chai, Jian & Xing, Li-Min & Zhou, Xiao-Yang & Zhang, Zhe George & Li, Jie-Xun, 2018. "Forecasting the WTI crude oil price by a hybrid-refined method," Energy Economics, Elsevier, vol. 71(C), pages 114-127.
    45. Wang, Qingfeng & Sun, Xu, 2017. "Crude oil price: Demand, supply, economic activity, economic policy uncertainty and wars – From the perspective of structural equation modelling (SEM)," Energy, Elsevier, vol. 133(C), pages 483-490.
    46. Conrad, Christian & Loch, Karin & Rittler, Daniel, 2014. "On the macroeconomic determinants of long-term volatilities and correlations in U.S. stock and crude oil markets," Journal of Empirical Finance, Elsevier, vol. 29(C), pages 26-40.
    47. Ine Van Robays, 2016. "Macroeconomic Uncertainty and Oil Price Volatility," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 78(5), pages 671-693, October.
    48. Lu, Feng-bin & Hong, Yong-miao & Wang, Shou-yang & Lai, Kin-keung & Liu, John, 2014. "Time-varying Granger causality tests for applications in global crude oil markets," Energy Economics, Elsevier, vol. 42(C), pages 289-298.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Haykel Tlili & Kais Tissaoui & Bassem Kahouli & Rabab Triki, 2024. "How volatility in the oil market and uncertainty shocks affect Saudi economy: a frequency approach," Palgrave Communications, Palgrave Macmillan, vol. 11(1), pages 1-24, December.

    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. Kais Tissaoui & Taha Zaghdoudi & Abdelaziz Hakimi & Ousama Ben-Salha & Lamia Ben Amor, 2022. "Does Uncertainty Forecast Crude Oil Volatility before and during the COVID-19 Outbreak? Fresh Evidence Using Machine Learning Models," Energies, MDPI, vol. 15(15), pages 1-20, August.
    2. Zied Ftiti & Kais Tissaoui & Sahbi Boubaker, 2022. "On the relationship between oil and gas markets: a new forecasting framework based on a machine learning approach," Annals of Operations Research, Springer, vol. 313(2), pages 915-943, June.
    3. Scarcioffolo, Alexandre R. & Etienne, Xiaoli L., 2021. "Regime-switching energy price volatility: The role of economic policy uncertainty," International Review of Economics & Finance, Elsevier, vol. 76(C), pages 336-356.
    4. Bakas, Dimitrios & Triantafyllou, Athanasios, 2018. "The impact of uncertainty shocks on the volatility of commodity prices," Journal of International Money and Finance, Elsevier, vol. 87(C), pages 96-111.
    5. Le, Thai-Ha & Boubaker, Sabri & Bui, Manh Tien & Park, Donghyun, 2023. "On the volatility of WTI crude oil prices: A time-varying approach with stochastic volatility," Energy Economics, Elsevier, vol. 117(C).
    6. Mensi, Walid & Rehman, Mobeen Ur & Maitra, Debasish & Al-Yahyaee, Khamis Hamed & Vo, Xuan Vinh, 2021. "Oil, natural gas and BRICS stock markets: Evidence of systemic risks and co-movements in the time-frequency domain," Resources Policy, Elsevier, vol. 72(C).
    7. Lyu, Yongjian & Yi, Heling & Hu, Yingyi & Yang, Mo, 2021. "Economic uncertainty shocks and China's commodity futures returns: A time-varying perspective," Resources Policy, Elsevier, vol. 70(C).
    8. Tiwari, Aviral Kumar & Sharma, Gagan Deep & Rao, Amar & Hossain, Mohammad Razib & Dev, Dhairya, 2024. "Unraveling the crystal ball: Machine learning models for crude oil and natural gas volatility forecasting," Energy Economics, Elsevier, vol. 134(C).
    9. Wang, Yilei & Cheng, Sheng & Cao, Yan, 2022. "How does economic policy uncertainty respond to the global oil price fluctuations? Evidence from BRICS countries," Resources Policy, Elsevier, vol. 79(C).
    10. 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.
    11. Kisswani, Khalid M., 2021. "(A)symmetric time-varying effects of uncertainty fluctuations on oil price volatility: A nonlinear ARDL investigation," Resources Policy, Elsevier, vol. 73(C).
    12. Cheng, Xian & Wu, Peng & Liao, Stephen Shaoyi & Wang, Xuelian, 2023. "An integrated model for crude oil forecasting: Causality assessment and technical efficiency," Energy Economics, Elsevier, vol. 117(C).
    13. Bonnier, Jean-Baptiste, 2022. "Forecasting crude oil volatility with exogenous predictors: As good as it GETS?," Energy Economics, Elsevier, vol. 111(C).
    14. Zhang, Zhikai & Wang, Yudong & Xiao, Jihong & Zhang, Yaojie, 2023. "Not all geopolitical shocks are alike: Identifying price dynamics in the crude oil market under tensions," Resources Policy, Elsevier, vol. 80(C).
    15. Athanasios Triantafyllou & Dimitrios Bakas & Marilou Ioakimidis, 2023. "Commodity price uncertainty as a leading indicator of economic activity," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(4), pages 4194-4219, October.
    16. Donghua Wang & Tianhui Fang, 2022. "Forecasting Crude Oil Prices with a WT-FNN Model," Energies, MDPI, vol. 15(6), pages 1-21, March.
    17. Liu, Fangying & Su, Chi Wei & Tao, Ran & Lobonţ, Oana-Ramona, 2024. "Does economic and climate policy uncertainty matter the oil market?," Resources Policy, Elsevier, vol. 95(C).
    18. Liu, Zhenhua & Zhang, Huiying & Ding, Zhihua & Lv, Tao & Wang, Xu & Wang, Deqing, 2022. "When are the effects of economic policy uncertainty on oil–stock correlations larger? Evidence from a regime-switching analysis," Economic Modelling, Elsevier, vol. 114(C).
    19. Radosław Puka & Bartosz Łamasz & Marek Michalski, 2021. "Effectiveness of Artificial Neural Networks in Hedging against WTI Crude Oil Price Risk," Energies, MDPI, vol. 14(11), pages 1-26, June.
    20. Lin, Boqiang & Bai, Rui, 2021. "Oil prices and economic policy uncertainty: Evidence from global, oil importers, and exporters’ perspective," Research in International Business and Finance, Elsevier, vol. 56(C).

    More about this item

    Keywords

    Crude oil price; Gas price; Uncertainty indexes; Complex relationship; eXtreme Gradient Boosting; Shapley additive explanation method;
    All these keywords.

    JEL classification:

    • Q47 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Energy - - - Energy Forecasting
    • Q43 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Energy - - - Energy and the Macroeconomy
    • D81 - Microeconomics - - Information, Knowledge, and Uncertainty - - - Criteria for Decision-Making under Risk and Uncertainty
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods

    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:kap:compec:v:62:y:2023:i:2:d:10.1007_s10614-022-10305-y. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.