Skip to main content

Forecasting Crude Oil Prices: A Machine Learning Perspective

  • Conference paper
  • First Online:
Computing, Communication and Learning (CoCoLe 2023)

Abstract

The crude oil price (COP) has substantial implications on world economy, as it impacts industries ranging from transportation to manufacturing. Given the volatile nature of COP, accurate forecasting is very much crucial for businesses and policymakers alike. Forecasting crude oil prices is a challenging task for the complex and volatile nature of the global oil market. As a result, estimating the price of crude oil has been a challenging and crucial component of forecasting research. In this study, we employ fourteen machine learning (ML) models for predicting the weekly and daily crude oil price. To evaluate the effectiveness of ML models, four performance measure metrics are utilized, including “mean absolute scaled error (MASE), symmetric mean absolute percentage error (SMAPE), root mean square error (RMSE), and mean absolute error (MAE)”. Detailed statistical analyses of data obtained using the Wilcoxon Signed-Rank test demonstrate that the linear support vector regression (SVR) model for weekly COP data, and linear regression for daily COP data are statistically more effective in predicting COPs than other models considered. The linear regression model acquires the statistically best rank across three accuracy metrics (SMAPE, MAE, MASE) and Gradient Boosting acquires the best rank based on RMSE accuracy metrics considering both weekly and daily COP data according to the Friedman and Nemenyi hypothesis test.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Nigam, S.: Single Multiplicative Neuron Model in Reinforcement Learning. In: Neha Yadav, Anupam Yadav, Jagdish Chand Bansal, Kusum Deep, Joong Hoon Kim, (ed.) Harmony Search and Nature Inspired Optimization Algorithms. AISC, vol. 741, pp. 889–895. Springer, Singapore (2019). https://doi.org/10.1007/978-981-13-0761-4_84

    Chapter  Google Scholar 

  2. Jayaswal, R.: India’s crude oil import bill soars 76% to $90.3 billion in April-September. Hindustan Times (2022). https://www.hindustantimes.com/india-news/indias-crude-oil-import-bill-soars-76-to-90-3-billion-in-aprilseptember-101666983745873.html

  3. Cavalcanti, T., Jalles, J.T.: Macroeconomic effects of oil price shocks in Brazil and in the United States. Appl. Energy 104, 475–486 (2013)

    Article  Google Scholar 

  4. Bahrammirzaee, A.: A comparative survey of artificial intelligence applications in finance: artificial neural networks, expert system and hybrid intelligent systems. Neural Comput. Appl. 19(8), 1165–1195 (2010)

    Article  Google Scholar 

  5. Amano, A.: A small forecasting model of the world oil market. J. Policy Model. 9(4), 615–635 (1987)

    Article  Google Scholar 

  6. Drachal, K.: Forecasting crude oil real prices with averaging time-varying VAR models. Resour. Policy 74, 102244 (2021)

    Article  Google Scholar 

  7. Gulen, S.G.: Efficiency in the crude oil futures market. J. Energy Finance Dev. Elsevier 3(1), 13–21 (1998)

    Article  Google Scholar 

  8. Abramson, B., Finizza, A.: Probabilistic forecasts from probabilistic models: a case study in the oil market. Int. J. Forecast. 11(1), 63–72 (1995)

    Article  Google Scholar 

  9. Lanza, A., Manera, M., Giovannini, M.: Modeling and forecasting cointegrated relationships among heavy oil and product prices. Energy Econ. 27, 831–848 (2005)

    Article  Google Scholar 

  10. Cabedo, J.D., Moya, I.: Estimating oil price ‘Value at Risk’ using the historical simulation approach. Energy Econ. 25, 239–253 (2003)

    Article  Google Scholar 

  11. Morana, C.: A semiparametric approach to short-term oil price forecasting. Energy Econ. 23, 325–338 (2001)

    Article  Google Scholar 

  12. Høg, E., Tsiaras, L.: Density forecasts of crude-oil prices using option-implied and ARCH-type models. J. Futur. Mark. 31(8), 727–754 (2011)

    Article  Google Scholar 

  13. Abdullah, S.N., Zeng, X.: Machine learning approach for crude oil price prediction with artificial neural networks-quantitative (ANN-Q) model. In: The 2010 International Joint Conference on Neural Networks (IJCNN), pp. 1–8. IEEE (2010)

    Google Scholar 

  14. Abdel-Aal, R.E.: Univariate modeling and forecasting of monthly energy demand time series using abductive and neural networks. Comput. Ind. Eng. 54, 903–917 (2008)

    Article  Google Scholar 

  15. Xu, W., Wang, J., Zhang, X., Zhang, W., Wang, S.: A new hybrid approach for analysis of factors affecting crude oil price. In: Shi, Y., van Albada, G.D., Dongarra, J., Sloot, P.M.A. (eds.) ICCS 2007. LNCS, vol. 4489, pp. 964–971. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-72588-6_154

    Chapter  Google Scholar 

  16. Karasu, S., Altan, A., Bekiros, S., Ahmad, W.: A new forecasting model with wrapper-based feature selection approach using multi-objective optimization technique for chaotic crude oil time series. Energy 212, 118750 (2020)

    Article  Google Scholar 

  17. Gupta, N., Nigam, S.: Crude oil price prediction using artificial neural network. Procedia Comput. Sci. 170, 642–647 (2020)

    Article  Google Scholar 

  18. Crude Oil WTI Futures Historical Prices. (n.d.). Investing.com India. https://in.investing.com/commodities/crude-oil-historical-data?interval_sec=daily

  19. Karali, Y., Panigrahi, S., Behera, H.S.: A novel differential evolution based algorithm for higher order neural network training. J. Theor. Appl. Inf. Technol. 56, 355–361 (2013)

    Google Scholar 

  20. Panigrahi, S., Behera, H.S.: Time series forecasting using differential evolution-based ANN modelling scheme. Arab. J. Sci. Eng. 45, 11129–11146 (2020)

    Article  Google Scholar 

  21. Panigrahi, S., Behera, H.S.: Nonlinear time series forecasting using a novel self-adaptive TLBO-MFLANN model. Int. J. Comput. Intell. Stud. 8, 4–26 (2019)

    Google Scholar 

  22. Huang, Y., Deng, Y.: A new crude oil price forecasting model based on variational mode decomposition. Knowl.-Based Syst. 213, 106669 (2021)

    Article  Google Scholar 

  23. Wang, B., Wang, J.: Energy futures and spots prices forecasting by hybrid SW-GRU with EMD and error evaluation. Energy Econ. 90, 104827 (2020)

    Article  Google Scholar 

  24. Srivastava, M., Rao, A., Parihar, J.S., Chavriya, S., Singh, S.: What do the AI methods tell us about predicting price volatility of key natural resources: evidence from hyperparameter tuning. Resour. Policy 80, 103249 (2023)

    Article  Google Scholar 

  25. Abdollahi, H.: A novel hybrid model for forecasting crude oil price based on time series decomposition. Appl. Energy 267, 115035 (2020)

    Article  Google Scholar 

  26. Karasu, S., Altan, A.: Crude oil time series prediction model based on LSTM network with chaotic Henry gas solubility optimisation. Energy 242, 122964 (2022)

    Article  Google Scholar 

  27. Zou, Y., Yu, L., Tso, G.K., He, K.: Risk forecasting in the crude oil market: a multiscale convolutional neural network approach. Physica A 541, 123360 (2020)

    Article  Google Scholar 

  28. Zhang, C., Ma, H., Hua, L., Sun, W., Nazir, M.S., Peng, T.: An evolutionary deep learning model based on TVFEMD, improved sine cosine algorithm, CNN and BiLSTM for wind speed prediction, Energy, 124250 (2022)

    Google Scholar 

  29. Purohit, S.K., Panigrahi, S. Sethy, P.K., Behera. S. K.: Time series forecasting of price of agricultural products using hybrid methods. Appl. Artif. Intell. 35(15) 1–19 (2021)

    Google Scholar 

  30. Panigrahi, S., Behera, H.S.: A study on leading machine learning techniques for high order fuzzy time series forecasting. Eng. Appl. Artif. Intell. 87, 103245 (2020)

    Article  Google Scholar 

  31. Pattanayak, R.M., Behera, H.S., Panigrahi, S.: A novel probabilistic intuitionistic fuzzy set based model for high order fuzzy time series forecasting. Eng. Appl. Artif. Intell. 99, 104136 (2021)

    Article  Google Scholar 

  32. Pattanayak, R.M., Panigrahi, S., Behera, H.S.: High-order fuzzy time series forecasting by using membership values along with Data and Support Vector Machine. Arab. J. Sci. Eng. 45, 10311–10325 (2020)

    Article  Google Scholar 

  33. Panigrahi, S., Behera, H.S.: A computationally efficient method for high order fuzzy time series forecasting. J. Theor. Appl. Inf. Technol. 96, 7215–7226 (2018)

    Google Scholar 

  34. Pattanayak, R.M., Behera, H.S., Panigrahi. S.: A non-probabilistic neutrosophic entropy-based method for high-order fuzzy time-series forecasting. Arabian J. Sci. Eng. 47(2), 1–23 (2021)

    Google Scholar 

  35. Pattanayak, R.M., Behera, H.S., Panigrahi, S.: A novel high order hesitant fuzzy time series forecasting by using mean aggregated membership value with support vector machine. Inf. Sci. 626, 494–523 (2023)

    Article  Google Scholar 

Download references

Acknowledgements

This research paper is catalyzed and supported by the Science and Engineering Research Board (SERB), DST, Government of India with Grant No. CRG/2021/006122.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sibarama Panigrahi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Purohit, S.K., Panigrahi, S. (2024). Forecasting Crude Oil Prices: A Machine Learning Perspective. In: Panda, S.K., Rout, R.R., Bisi, M., Sadam, R.C., Li, KC., Piuri, V. (eds) Computing, Communication and Learning. CoCoLe 2023. Communications in Computer and Information Science, vol 1892. Springer, Cham. https://doi.org/10.1007/978-3-031-56998-2_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-56998-2_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-56997-5

  • Online ISBN: 978-3-031-56998-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics