IDEAS home Printed from https://ideas.repec.org/p/fau/wpaper/wp2015_25.html
   My bibliography  Save this paper

Forecasting the Term Structure of Crude Oil Futures Prices with Neural Networks

Author

Listed:
  • Jozef Barunik

    (Institute of Economic Studies, Faculty of Social Sciences, Charles University in Prague, Smetanovo nabrezi 6, 111 01 Prague 1, Czech Republic
    Institute of Information Theory and Automation, Academy of Sciences of the Czech Republic, Pod Vodarenskou Vezi 4, 182 00, Prague, Czech Republic)

  • Barbora Malinska

    (Institute of Economic Studies, Faculty of Social Sciences, Charles University in Prague, Smetanovo nabrezi 6, 111 01 Prague 1, Czech Republic)

Abstract

The paper contributes to the rare literature modeling term structure of crude oil markets. We explain term structure of crude oil prices using dynamic Nelson-Siegel model, and propose to forecast them with the generalized regression framework based on neural networks. The newly proposed framework is empirically tested on 24 years of crude oil futures prices covering several important recessions and crisis periods. We find 1-month, 3-month, 6-month and 12-month-ahead forecasts obtained from focused time-delay neural network to be significantly more accurate than forecasts from other benchmark models. The proposed forecasting strategy produces the lowest errors across all times to maturity.

Suggested Citation

  • Jozef Barunik & Barbora Malinska, 2015. "Forecasting the Term Structure of Crude Oil Futures Prices with Neural Networks," Working Papers IES 2015/25, Charles University Prague, Faculty of Social Sciences, Institute of Economic Studies, revised Nov 2015.
  • Handle: RePEc:fau:wpaper:wp2015_25
    as

    Download full text from publisher

    File URL: http://ies.fsv.cuni.cz/sci/publication/show/id/5382/lang/cs
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Baumeister, Christiane & Guérin, Pierre & Kilian, Lutz, 2015. "Do high-frequency financial data help forecast oil prices? The MIDAS touch at work," International Journal of Forecasting, Elsevier, vol. 31(2), pages 238-252.
    2. Narayan, Paresh Kumar & Narayan, Seema & Zheng, Xinwei, 2010. "Gold and oil futures markets: Are markets efficient?," Applied Energy, Elsevier, vol. 87(10), pages 3299-3303, October.
    3. James D. Hamilton, 2009. "Causes and Consequences of the Oil Shock of 2007-08," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 40(1 (Spring), pages 215-283.
    4. Heidorn, Thomas & Mokinski, Frieder & Rühl, Christoph & Schmaltz, Christian, 2015. "The impact of fundamental and financial traders on the term structure of oil," Energy Economics, Elsevier, vol. 48(C), pages 276-287.
    5. Bassam Fattouh, Lutz Kilian, and Lavan Mahadeva, 2013. "The Role of Speculation in Oil Markets: What Have We Learned So Far?," The Energy Journal, International Association for Energy Economics, vol. 0(Number 3).
    6. Diebold, Francis X. & Li, Canlin, 2006. "Forecasting the term structure of government bond yields," Journal of Econometrics, Elsevier, vol. 130(2), pages 337-364, February.
    7. Hansen, Peter Reinhard, 2005. "A Test for Superior Predictive Ability," Journal of Business & Economic Statistics, American Statistical Association, vol. 23, pages 365-380, October.
    8. Xiong, Tao & Bao, Yukun & Hu, Zhongyi, 2013. "Beyond one-step-ahead forecasting: Evaluation of alternative multi-step-ahead forecasting models for crude oil prices," Energy Economics, Elsevier, vol. 40(C), pages 405-415.
    9. Nikos K. Nomikos & Panos K. Pouliasis, 2015. "Petroleum Term Structure Dynamics and the Role of Regimes," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 35(2), pages 163-185, February.
    10. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    11. Peter R. Hansen & Asger Lunde & James M. Nason, 2011. "The Model Confidence Set," Econometrica, Econometric Society, vol. 79(2), pages 453-497, March.
    12. Wang, Yudong & Wu, Chongfeng, 2012. "Forecasting energy market volatility using GARCH models: Can multivariate models beat univariate models?," Energy Economics, Elsevier, vol. 34(6), pages 2167-2181.
    13. Yu, Lean & Wang, Shouyang & Lai, Kin Keung, 2008. "Forecasting crude oil price with an EMD-based neural network ensemble learning paradigm," Energy Economics, Elsevier, vol. 30(5), pages 2623-2635, September.
    14. Jozef Barunik & Tomáš Krehlik, 2014. "Coupling high-frequency data with nonlinear models in multiple-step-ahead forecasting of energy markets' volatility," Working Papers IES 2014/30, Charles University Prague, Faculty of Social Sciences, Institute of Economic Studies, revised Sep 2014.
    15. Schwartz, Eduardo S, 1997. "The Stochastic Behavior of Commodity Prices: Implications for Valuation and Hedging," Journal of Finance, American Finance Association, vol. 52(3), pages 923-973, July.
    16. repec:dau:papers:123456789/5465 is not listed on IDEAS
    17. Patrick Hagan & Graeme West, 2006. "Interpolation Methods for Curve Construction," Applied Mathematical Finance, Taylor & Francis Journals, vol. 13(2), pages 89-129.
    18. James M. Steeley, 2008. "Testing Term Structure Estimation Methods: Evidence from the UK STRIPS Market," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 40(7), pages 1489-1512, October.
    19. Nomikos, Nikos K. & Pouliasis, Panos K., 2011. "Forecasting petroleum futures markets volatility: The role of regimes and market conditions," Energy Economics, Elsevier, vol. 33(2), pages 321-337, March.
    20. Litzenberger, Robert H & Rabinowitz, Nir, 1995. "Backwardation in Oil Futures Markets: Theory and Empirical Evidence," Journal of Finance, American Finance Association, vol. 50(5), pages 1517-1545, December.
    21. Daniel Vela, 2013. "Forecasting Latin-American yield curves: An artificial neural network approach," Borradores de Economia 10502, Banco de la Republica.
    22. Chiroma, Haruna & Abdulkareem, Sameem & Herawan, Tutut, 2015. "Evolutionary Neural Network model for West Texas Intermediate crude oil price prediction," Applied Energy, Elsevier, vol. 142(C), pages 266-273.
    23. An, Haizhong & Gao, Xiangyun & Fang, Wei & Ding, Yinghui & Zhong, Weiqiong, 2014. "Research on patterns in the fluctuation of the co-movement between crude oil futures and spot prices: A complex network approach," Applied Energy, Elsevier, vol. 136(C), pages 1067-1075.
    24. Tang, Bao-jun & Shen, Cheng & Gao, Chao, 2013. "The efficiency analysis of the European CO2 futures market," Applied Energy, Elsevier, vol. 112(C), pages 1544-1547.
    25. Bahattin Buyuksahin & Jeffrey H. Harris, 2011. "Do Speculators Drive Crude Oil Futures Prices?," The Energy Journal, International Association for Energy Economics, vol. 0(Number 2), pages 167-202.
    26. Jammazi, Rania & Aloui, Chaker, 2012. "Crude oil price forecasting: Experimental evidence from wavelet decomposition and neural network modeling," Energy Economics, Elsevier, vol. 34(3), pages 828-841.
    27. Robert R. Bliss, 1996. "Testing term structure estimation methods," FRB Atlanta Working Paper 96-12, Federal Reserve Bank of Atlanta.
    28. Brennan, Michael J & Schwartz, Eduardo S, 1985. "Evaluating Natural Resource Investments," The Journal of Business, University of Chicago Press, vol. 58(2), pages 135-157, April.
    29. Brailsford, Timothy J. & Faff, Robert W., 1996. "An evaluation of volatility forecasting techniques," Journal of Banking & Finance, Elsevier, vol. 20(3), pages 419-438, April.
    30. Harold Hotelling, 1931. "The Economics of Exhaustible Resources," Journal of Political Economy, University of Chicago Press, vol. 39, pages 137-137.
    31. Cortazar, Gonzalo & Schwartz, Eduardo S., 2003. "Implementing a stochastic model for oil futures prices," Energy Economics, Elsevier, vol. 25(3), pages 215-238, May.
    32. Keles, Dogan & Scelle, Jonathan & Paraschiv, Florentina & Fichtner, Wolf, 2016. "Extended forecast methods for day-ahead electricity spot prices applying artificial neural networks," Applied Energy, Elsevier, vol. 162(C), pages 218-230.
    33. Papadimitriou, Theophilos & Gogas, Periklis & Stathakis, Efthimios, 2014. "Forecasting energy markets using support vector machines," Energy Economics, Elsevier, vol. 44(C), pages 135-142.
    34. Narayan, Paresh Kumar & Narayan, Seema & Popp, Stephan, 2011. "Investigating price clustering in the oil futures market," Applied Energy, Elsevier, vol. 88(1), pages 397-402, January.
    35. Daniel Vela, 2013. "Forecasting Latin-American yield curves: An artificial neural network approach," Borradores de Economia 761, Banco de la Republica de Colombia.
    36. Siami-Irdemoosa, Elnaz & Dindarloo, Saeid R., 2015. "Prediction of fuel consumption of mining dump trucks: A neural networks approach," Applied Energy, Elsevier, vol. 151(C), pages 77-84.
    37. Joseph G. Haubrich & Patrick C. Higgins & Janet Miller, 2004. "Oil prices: backward to the future?," Economic Commentary, Federal Reserve Bank of Cleveland, issue Dec.
    38. Lutz Kilian & Daniel P. Murphy, 2014. "The Role Of Inventories And Speculative Trading In The Global Market For Crude Oil," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(3), pages 454-478, April.
    39. Kialashaki, Arash & Reisel, John R., 2013. "Modeling of the energy demand of the residential sector in the United States using regression models and artificial neural networks," Applied Energy, Elsevier, vol. 108(C), pages 271-280.
    40. Nelson, Charles R & Siegel, Andrew F, 1987. "Parsimonious Modeling of Yield Curves," The Journal of Business, University of Chicago Press, vol. 60(4), pages 473-489, October.
    41. Zhang, Yue-Jun, 2013. "Speculative trading and WTI crude oil futures price movement: An empirical analysis," Applied Energy, Elsevier, vol. 107(C), pages 394-402.
    42. Halbert White, 2000. "A Reality Check for Data Snooping," Econometrica, Econometric Society, vol. 68(5), pages 1097-1126, September.
    43. Darrell Duffie & Rui Kan, 1996. "A Yield‐Factor Model Of Interest Rates," Mathematical Finance, Wiley Blackwell, vol. 6(4), pages 379-406, October.
    44. Fan, Ying & Liang, Qiang & Wei, Yi-Ming, 2008. "A generalized pattern matching approach for multi-step prediction of crude oil price," Energy Economics, Elsevier, vol. 30(3), pages 889-904, May.
    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. Guo, Lili & Huang, Xinya & Li, Yanjiao & Li, Houjian, 2023. "Forecasting crude oil futures price using machine learning methods: Evidence from China," Energy Economics, Elsevier, vol. 127(PA).
    2. Fanelli, Viviana & Maddalena, Lucia & Musti, Silvana, 2016. "Modelling electricity futures prices using seasonal path-dependent volatility," Applied Energy, Elsevier, vol. 173(C), pages 92-102.
    3. Chai, Jian & Lu, Quanying & Hu, Yi & Wang, Shouyang & Lai, Kin Keung & Liu, Hongtao, 2018. "Analysis and Bayes statistical probability inference of crude oil price change point," Technological Forecasting and Social Change, Elsevier, vol. 126(C), pages 271-283.
    4. Horváth, Lajos & Liu, Zhenya & Rice, Gregory & Wang, Shixuan, 2020. "A functional time series analysis of forward curves derived from commodity futures," International Journal of Forecasting, Elsevier, vol. 36(2), pages 646-665.
    5. Mei-Teing Chong & Chin-Hong Puah & Shazali Abu Mansor, 2018. "Oil Price Dynamics Forecasting: An Indicator-Pivoted Paradigm," International Journal of Energy Economics and Policy, Econjournals, vol. 8(3), pages 307-311.
    6. Mario Figueiredo & Yuri F. Saporito, 2023. "Forecasting the term structure of commodities future prices using machine learning," Digital Finance, Springer, vol. 5(1), pages 57-90, March.
    7. Mustanen, Dmitri & Maaitah, Ahmad & Mishra, Tapas & Parhi, Mamata, 2022. "The power of investors’ optimism and pessimism in oil market forecasting," Energy Economics, Elsevier, vol. 114(C).
    8. Oguzhan Cepni, Duc Khuong Nguyen, and Ahmet Sensoy, 2022. "News Media and Attention Spillover across Energy Markets: A Powerful Predictor of Crude Oil Futures Prices," The Energy Journal, International Association for Energy Economics, vol. 0(Special I).
    9. Bredin, Don & O'Sullivan, Conall & Spencer, Simon, 2021. "Forecasting WTI crude oil futures returns: Does the term structure help?," Energy Economics, Elsevier, vol. 100(C).
    10. Butler, Sunil & Kokoszka, Piotr & Miao, Hong & Shang, Han Lin, 2021. "Neural network prediction of crude oil futures using B-splines," Energy Economics, Elsevier, vol. 94(C).
    11. Xiaojun Chen & Yun Shi & Xiaozhou Wang, 2020. "Equilibrium Oil Market Share under the COVID-19 Pandemic," Papers 2007.15265, arXiv.org.
    12. Bekiroglu, Korkut & Duru, Okan & Gulay, Emrah & Su, Rong & Lagoa, Constantino, 2018. "Predictive analytics of crude oil prices by utilizing the intelligent model search engine," Applied Energy, Elsevier, vol. 228(C), pages 2387-2397.
    13. Yingrui Zhou & Taiyong Li & Jiayi Shi & Zijie Qian, 2019. "A CEEMDAN and XGBOOST-Based Approach to Forecast Crude Oil Prices," Complexity, Hindawi, vol. 2019, pages 1-15, February.
    14. Wang, Jue & Zhou, Hao & Hong, Tao & Li, Xiang & Wang, Shouyang, 2020. "A multi-granularity heterogeneous combination approach to crude oil price forecasting," Energy Economics, Elsevier, vol. 91(C).
    15. Taiyong Li & Yingrui Zhou & Xinsheng Li & Jiang Wu & Ting He, 2019. "Forecasting Daily Crude Oil Prices Using Improved CEEMDAN and Ridge Regression-Based Predictors," Energies, MDPI, vol. 12(19), pages 1-25, September.
    16. Pablo Cansado-Bravo & Carlos Rodríguez-Monroy, 2018. "Persistence of Oil Prices in Gas Import Prices and the Resilience of the Oil-Indexation Mechanism. The Case of Spanish Gas Import Prices," Energies, MDPI, vol. 11(12), pages 1-17, December.
    17. Gao, Xiangyun & Fang, Wei & An, Feng & Wang, Yue, 2017. "Detecting method for crude oil price fluctuation mechanism under different periodic time series," Applied Energy, Elsevier, vol. 192(C), pages 201-212.
    18. Wang, Jue & Athanasopoulos, George & Hyndman, Rob J. & Wang, Shouyang, 2018. "Crude oil price forecasting based on internet concern using an extreme learning machine," International Journal of Forecasting, Elsevier, vol. 34(4), pages 665-677.

    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. Lang, Korbinian & Auer, Benjamin R., 2020. "The economic and financial properties of crude oil: A review," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    2. Degiannakis, Stavros & Filis, George, 2018. "Forecasting oil prices: High-frequency financial data are indeed useful," Energy Economics, Elsevier, vol. 76(C), pages 388-402.
    3. Wang, Minggang & Zhao, Longfeng & Du, Ruijin & Wang, Chao & Chen, Lin & Tian, Lixin & Eugene Stanley, H., 2018. "A novel hybrid method of forecasting crude oil prices using complex network science and artificial intelligence algorithms," Applied Energy, Elsevier, vol. 220(C), pages 480-495.
    4. Zhao, Yang & Li, Jianping & Yu, Lean, 2017. "A deep learning ensemble approach for crude oil price forecasting," Energy Economics, Elsevier, vol. 66(C), pages 9-16.
    5. Wang, Yudong & Liu, Li & Diao, Xundi & Wu, Chongfeng, 2015. "Forecasting the real prices of crude oil under economic and statistical constraints," Energy Economics, Elsevier, vol. 51(C), pages 599-608.
    6. Wang, Yudong & Hao, Xianfeng, 2022. "Forecasting the real prices of crude oil: A robust weighted least squares approach," Energy Economics, Elsevier, vol. 116(C).
    7. Wei, Yu & Liu, Jing & Lai, Xiaodong & Hu, Yang, 2017. "Which determinant is the most informative in forecasting crude oil market volatility: Fundamental, speculation, or uncertainty?," Energy Economics, Elsevier, vol. 68(C), pages 141-150.
    8. Zhao, Geya & Xue, Minggao & Cheng, Li, 2023. "A new hybrid model for multi-step WTI futures price forecasting based on self-attention mechanism and spatial–temporal graph neural network," Resources Policy, Elsevier, vol. 85(PB).
    9. Gary S. Anderson & Alena Audzeyeva, 2019. "A Coherent Framework for Predicting Emerging Market Credit Spreads with Support Vector Regression," Finance and Economics Discussion Series 2019-074, Board of Governors of the Federal Reserve System (U.S.).
    10. Liu, Li & Wang, Yudong & Wu, Chongfeng & Wu, Wenfeng, 2016. "Disentangling the determinants of real oil prices," Energy Economics, Elsevier, vol. 56(C), pages 363-373.
    11. Ederington, Louis H. & Fernando, Chitru S. & Hoelscher, Seth A. & Lee, Thomas K. & Linn, Scott C., 2019. "Characteristics of petroleum product prices: A survey," Journal of Commodity Markets, Elsevier, vol. 14(C), pages 1-15.
    12. Ding, Yishan, 2018. "A novel decompose-ensemble methodology with AIC-ANN approach for crude oil forecasting," Energy, Elsevier, vol. 154(C), pages 328-336.
    13. Cheng, Fangzheng & Li, Tian & Wei, Yi-ming & Fan, Tijun, 2019. "The VEC-NAR model for short-term forecasting of oil prices," Energy Economics, Elsevier, vol. 78(C), pages 656-667.
    14. Li, Jinchao & Zhu, Shaowen & Wu, Qianqian, 2019. "Monthly crude oil spot price forecasting using variational mode decomposition," Energy Economics, Elsevier, vol. 83(C), pages 240-253.
    15. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    16. Degiannakis, Stavros & Filis, George, 2017. "Forecasting oil price realized volatility using information channels from other asset classes," Journal of International Money and Finance, Elsevier, vol. 76(C), pages 28-49.
    17. Krzysztof Drachal, 2018. "Determining Time-Varying Drivers of Spot Oil Price in a Dynamic Model Averaging Framework," Energies, MDPI, vol. 11(5), pages 1-24, May.
    18. Wang, Yudong & Hao, Xianfeng, 2023. "Forecasting the real prices of crude oil: What is the role of parameter instability?," Energy Economics, Elsevier, vol. 117(C).
    19. 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.
    20. Qin, Quande & Xie, Kangqiang & He, Huangda & Li, Li & Chu, Xianghua & Wei, Yi-Ming & Wu, Teresa, 2019. "An effective and robust decomposition-ensemble energy price forecasting paradigm with local linear prediction," Energy Economics, Elsevier, vol. 83(C), pages 402-414.

    More about this item

    Keywords

    term structure; Nelson-Siegel model; dynamic neural networks; crude oil futures;
    All these keywords.

    JEL classification:

    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • G02 - Financial Economics - - General - - - Behavioral Finance: Underlying Principles
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:fau:wpaper:wp2015_25. 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: Natalie Svarcova (email available below). General contact details of provider: https://edirc.repec.org/data/icunicz.html .

    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.