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. Salisu, Afees A. & Fasanya, Ismail O., 2013. "Modelling oil price volatility with structural breaks," Energy Policy, Elsevier, vol. 52(C), pages 554-562.
    2. 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.
    3. Susanto Basu & Brent Bundick, 2017. "Uncertainty Shocks in a Model of Effective Demand," Econometrica, Econometric Society, vol. 85, pages 937-958, May.
    4. Wang, Yu Shan, 2013. "Oil price effects on personal consumption expenditures," Energy Economics, Elsevier, vol. 36(C), pages 198-204.
    5. Charles, Amélie & Darné, Olivier, 2014. "Volatility persistence in crude oil markets," Energy Policy, Elsevier, vol. 65(C), pages 729-742.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. repec:ipg:wpaper:2014-569 is not listed on IDEAS
    11. 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.
    12. 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.
    13. Hamilton, James D., 2003. "What is an oil shock?," Journal of Econometrics, Elsevier, vol. 113(2), pages 363-398, April.
    14. 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.
    15. 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.
    16. Dutta, Anupam & Bouri, Elie & Saeed, Tareq, 2021. "News-based equity market uncertainty and crude oil volatility," Energy, Elsevier, vol. 222(C).
    17. 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.
    18. Charles, Amélie & Darné, Olivier, 2017. "Forecasting crude-oil market volatility: Further evidence with jumps," Energy Economics, Elsevier, vol. 67(C), pages 508-519.
    19. 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.
    20. 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.
    21. Cerqueti, Roy & Fanelli, Viviana & Rotundo, Giulia, 2019. "Long run analysis of crude oil portfolios," Energy Economics, Elsevier, vol. 79(C), pages 183-205.
    22. 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.
    23. 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.
    24. Aloui, Riadh & Gupta, Rangan & Miller, Stephen M., 2016. "Uncertainty and crude oil returns," Energy Economics, Elsevier, vol. 55(C), pages 92-100.
    25. 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.
    26. 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.
    27. 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.
    28. 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.
    29. Wang, Kai-Hua & Su, Chi-Wei & Umar, Muhammad, 2021. "Geopolitical risk and crude oil security: A Chinese perspective," Energy, Elsevier, vol. 219(C).
    30. 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.
    31. 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.
    32. 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.
    33. 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.
    34. 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.
    35. 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).
    36. 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.
    37. Abdollahi, Hooman, 2020. "A novel hybrid model for forecasting crude oil price based on time series decomposition," Applied Energy, Elsevier, vol. 267(C).
    38. 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).
    39. 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).
    40. 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.
    41. 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.
    42. 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.
    43. 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.
    44. Chen, Shiu-Sheng & Chen, Hung-Chyn, 2007. "Oil prices and real exchange rates," Energy Economics, Elsevier, vol. 29(3), pages 390-404, May.
    45. 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.
    46. 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.
    47. 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.
    48. 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.
    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. 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. 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).
    6. Bonnier, Jean-Baptiste, 2022. "Forecasting crude oil volatility with exogenous predictors: As good as it GETS?," Energy Economics, Elsevier, vol. 111(C).
    7. 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).
    8. 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).
    9. 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).
    10. 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).
    11. 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).
    12. 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.
    13. 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).
    14. 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.
    15. 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).
    16. Turhan, M. Ibrahim & Sensoy, Ahmet & Ozturk, Kevser & Hacihasanoglu, Erk, 2014. "A view to the long-run dynamic relationship between crude oil and the major asset classes," International Review of Economics & Finance, Elsevier, vol. 33(C), pages 286-299.
    17. Zhao, Jing, 2022. "Exploring the influence of the main factors on the crude oil price volatility: An analysis based on GARCH-MIDAS model with Lasso approach," Resources Policy, Elsevier, vol. 79(C).
    18. Ribeiro Scarcioffolo, Alexandre & Etienne, Xiaoli L., 2018. "Does Economic Policy Uncertainty Affect Energy Market Volatility and Vice-Versa?," 2018 Annual Meeting, August 5-7, Washington, D.C. 273976, Agricultural and Applied Economics Association.
    19. Chen, Yixiang & Ma, Feng & Zhang, Yaojie, 2019. "Good, bad cojumps and volatility forecasting: New evidence from crude oil and the U.S. stock markets," Energy Economics, Elsevier, vol. 81(C), pages 52-62.
    20. Das, Debojyoti & Kannadhasan, M., 2020. "The asymmetric oil price and policy uncertainty shock exposure of emerging market sectoral equity returns: A quantile regression approach," International Review of Economics & Finance, Elsevier, vol. 69(C), pages 563-581.

    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.