IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v53y2019i2d10.1007_s10614-017-9764-7.html
   My bibliography  Save this article

Forecasting Crude Oil Prices: A Comparison Between Artificial Neural Networks and Vector Autoregressive Models

Author

Listed:
  • Sepehr Ramyar

    (Sharif University of Technology)

  • Farhad Kianfar

    (Sharif University of Technology)

Abstract

Given the importance of crude oil prices for businesses, governments and policy makers, this paper investigates predictability of oil prices using artificial neural networks taking into account the exhaustible nature of crude oil and impact of monetary policy along with other major drivers of crude oil prices. A multilayer perceptron neural network is developed and trained with historical data from 1980 to 2014 and using mean square error for testing data, optimal number of hidden layer neurons is determined and the designed MLP neural network is used for estimation of the forecasting model. Meanwhile, an economic model for crude oil prices is developed and estimated using a vector autoregressive model. Results from the proposed ANN are then compared to those of the vector autoregressive model and based on the corresponding R-squared for each model, it is concluded that the MLP neural network can more accurately predict crude oil prices than a VAR model. It is shown, via empirical analysis, that with a combination of appropriate neural network design, feature engineering, and incorporation of crude oil market realities in the model, an accurate prediction of crude oil prices can be attained.

Suggested Citation

  • Sepehr Ramyar & Farhad Kianfar, 2019. "Forecasting Crude Oil Prices: A Comparison Between Artificial Neural Networks and Vector Autoregressive Models," Computational Economics, Springer;Society for Computational Economics, vol. 53(2), pages 743-761, February.
  • Handle: RePEc:kap:compec:v:53:y:2019:i:2:d:10.1007_s10614-017-9764-7
    DOI: 10.1007/s10614-017-9764-7
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-017-9764-7
    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-017-9764-7?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. Ron Alquist & Lutz Kilian, 2010. "What do we learn from the price of crude oil futures?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 25(4), pages 539-573.
    2. Mr. Noureddine Krichene, 2006. "World Crude Oil Markets: Monetary Policy and the Recent Oil Shock," IMF Working Papers 2006/062, International Monetary Fund.
    3. Gurkaynak, Refet S. & Sack, Brian T. & Swanson, Eric P., 2007. "Market-Based Measures of Monetary Policy Expectations," Journal of Business & Economic Statistics, American Statistical Association, vol. 25, pages 201-212, April.
    4. Kilian, Lutz & Taylor, Mark P., 2003. "Why is it so difficult to beat the random walk forecast of exchange rates?," Journal of International Economics, Elsevier, vol. 60(1), pages 85-107, May.
    5. Askari, Hossein & Krichene, Noureddine, 2010. "The impact of monetary policy on oil process parameters and market expectations," Global Finance Journal, Elsevier, vol. 21(2), pages 186-200.
    6. James D. Hamilton, 2009. "Understanding Crude Oil Prices," The Energy Journal, International Association for Energy Economics, vol. 0(Number 2), pages 179-206.
    7. Sarno,Lucio & Taylor,Mark P., 2003. "The Economics of Exchange Rates," Cambridge Books, Cambridge University Press, number 9780521485845.
    8. Atsushi Inoue & Lutz Kilian, 2005. "In-Sample or Out-of-Sample Tests of Predictability: Which One Should We Use?," Econometric Reviews, Taylor & Francis Journals, vol. 23(4), pages 371-402.
    9. Steven A. Gabriel & Andy S. Kydes & Peter Whitman, 2001. "The National Energy Modeling System: A Large-Scale Energy-Economic Equilibrium Model," Operations Research, INFORMS, vol. 49(1), pages 14-25, February.
    10. Leduc, Sylvain & Sill, Keith, 2004. "A quantitative analysis of oil-price shocks, systematic monetary policy, and economic downturns," Journal of Monetary Economics, Elsevier, vol. 51(4), pages 781-808, May.
    11. Lutz Kilian, 2009. "Not All Oil Price Shocks Are Alike: Disentangling Demand and Supply Shocks in the Crude Oil Market," American Economic Review, American Economic Association, vol. 99(3), pages 1053-1069, June.
    12. van Amano, Robert A & Norden, Simon, 1998. "Exchange Rates and Oil Prices," Review of International Economics, Wiley Blackwell, vol. 6(4), pages 683-694, November.
    13. Yousefi, Ayoub & Wirjanto, Tony S., 2004. "The empirical role of the exchange rate on the crude-oil price formation," Energy Economics, Elsevier, vol. 26(5), pages 783-799, September.
    14. Askari, Hossein & Krichene, Noureddine, 2010. "An oil demand and supply model incorporating monetary policy," Energy, Elsevier, vol. 35(5), pages 2013-2021.
    15. Cheong, Chin Wen, 2009. "Modeling and forecasting crude oil markets using ARCH-type models," Energy Policy, Elsevier, vol. 37(6), pages 2346-2355, June.
    16. Maslyuk, Svetlana & Smyth, Russell, 2008. "Unit root properties of crude oil spot and futures prices," Energy Policy, Elsevier, vol. 36(7), pages 2591-2600, July.
    17. Brandt, Adam R., 2010. "Review of mathematical models of future oil supply: Historical overview and synthesizing critique," Energy, Elsevier, vol. 35(9), pages 3958-3974.
    18. Neumayer, Eric, 2000. "Scarce or Abundant? The Economics of Natural Resource Availability," Journal of Economic Surveys, Wiley Blackwell, vol. 14(3), pages 307-335, July.
    19. Mingming, Tang & Jinliang, Zhang, 2012. "A multiple adaptive wavelet recurrent neural network model to analyze crude oil prices," Journal of Economics and Business, Elsevier, vol. 64(4), pages 275-286.
    20. Wei, Yu & Wang, Yudong & Huang, Dengshi, 2010. "Forecasting crude oil market volatility: Further evidence using GARCH-class models," Energy Economics, Elsevier, vol. 32(6), pages 1477-1484, November.
    21. Hirotugu Akaike, 1969. "Fitting autoregressive models for prediction," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 21(1), pages 243-247, December.
    22. Park, Jungwook & Ratti, Ronald A., 2008. "Oil price shocks and stock markets in the U.S. and 13 European countries," Energy Economics, Elsevier, vol. 30(5), pages 2587-2608, September.
    23. Eric Neumayer, 2000. "Scarce or Abundant? The Economics of Natural Resource Availability," Journal of Economic Surveys, Wiley Blackwell, vol. 14(3), pages 307-335, July.
    24. Hossein Askari & Noureddine Krichene, 2010. "Monetary policy and world commodity markets: 2000-2007," PSL Quarterly Review, Economia civile, vol. 63(253), pages 145-177.
    25. 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.
    26. Alfred Greiner & Willi Semmler & Tobias Mette, 2012. "An Economic Model of Oil Exploration and Extraction," Computational Economics, Springer;Society for Computational Economics, vol. 40(4), pages 387-399, December.
    27. Stiglitz, Joseph E, 1976. "Monopoly and the Rate of Extraction of Exhaustible Resources," American Economic Review, American Economic Association, vol. 66(4), pages 655-661, September.
    28. Godarzi, Ali Abbasi & Amiri, Rohollah Madadi & Talaei, Alireza & Jamasb, Tooraj, 2014. "Predicting oil price movements: A dynamic Artificial Neural Network approach," Energy Policy, Elsevier, vol. 68(C), pages 371-382.
    29. Movagharnejad, Kamyar & Mehdizadeh, Bahman & Banihashemi, Morteza & Kordkheili, Masoud Sheikhi, 2011. "Forecasting the differences between various commercial oil prices in the Persian Gulf region by neural network," Energy, Elsevier, vol. 36(7), pages 3979-3984.
    30. Aloui, Chaker & Jammazi, Rania, 2009. "The effects of crude oil shocks on stock market shifts behaviour: A regime switching approach," Energy Economics, Elsevier, vol. 31(5), pages 789-799, September.
    31. Askari, Hossein & Krichene, Noureddine, 2008. "Oil price dynamics (2002-2006)," Energy Economics, Elsevier, vol. 30(5), pages 2134-2153, September.
    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. 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.
    2. Alameer, Zakaria & Fathalla, Ahmed & Li, Kenli & Ye, Haiwang & Jianhua, Zhang, 2020. "Multistep-ahead forecasting of coal prices using a hybrid deep learning model," Resources Policy, Elsevier, vol. 65(C).
    3. Yi-Ting Chen & Edward W. Sun & Yi-Bing Lin, 2020. "Machine learning with parallel neural networks for analyzing and forecasting electricity demand," Computational Economics, Springer;Society for Computational Economics, vol. 56(2), pages 569-597, August.
    4. Hosseini, Seyed Hossein & Shakouri G., Hamed & Kazemi, Aliyeh, 2021. "Oil price future regarding unconventional oil production and its near-term deployment: A system dynamics approach," Energy, Elsevier, vol. 222(C).
    5. 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).
    6. Bouteska, Ahmed & Hajek, Petr & Fisher, Ben & Abedin, Mohammad Zoynul, 2023. "Nonlinearity in forecasting energy commodity prices: Evidence from a focused time-delayed neural network," Research in International Business and Finance, Elsevier, vol. 64(C).
    7. Wang, Delu & Tian, Cuicui & Mao, Jinqi & Chen, Fan, 2023. "Forecasting coal demand in key coal consuming industries based on the data-characteristic-driven decomposition ensemble model," Energy, Elsevier, vol. 282(C).
    8. Abbas Haider & Hui Wang & Bryan Scotney & Glenn Hawe, 2022. "Predictive Market Making via Machine Learning," SN Operations Research Forum, Springer, vol. 3(1), pages 1-21, March.
    9. Mustafa Ozguven & Chong Yan Gao & Mohamed Yacine Si Tayeb, 2021. "The Utilization of Autoregressive Forecasting Models in Strategic Management," International Journal of Science and Business, IJSAB International, vol. 5(7), pages 170-185.
    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. Jiang, Zhe & Zhang, Lin & Zhang, Lingling & Wen, Bo, 2022. "Investor sentiment and machine learning: Predicting the price of China's crude oil futures market," Energy, Elsevier, vol. 247(C).
    12. Ghaemi Asl, Mahdi & Adekoya, Oluwasegun Babatunde & Rashidi, Muhammad Mahdi & Ghasemi Doudkanlou, Mohammad & Dolatabadi, Ali, 2022. "Forecast of Bayesian-based dynamic connectedness between oil market and Islamic stock indices of Islamic oil-exporting countries: Application of the cascade-forward backpropagation network," Resources Policy, Elsevier, vol. 77(C).
    13. Sandip Garai & Ranjit Kumar Paul & Debopam Rakshit & Md Yeasin & Walid Emam & Yusra Tashkandy & Christophe Chesneau, 2023. "Wavelets in Combination with Stochastic and Machine Learning Models to Predict Agricultural Prices," Mathematics, MDPI, vol. 11(13), pages 1-18, June.

    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. Zhang, Hui Jun & Dufour, Jean-Marie & Galbraith, John W., 2016. "Exchange rates and commodity prices: Measuring causality at multiple horizons," Journal of Empirical Finance, Elsevier, vol. 36(C), pages 100-120.
    3. Kyritsis, Evangelos & Serletis, Apostolos, 2018. "The zero lower bound and market spillovers: Evidence from the G7 and Norway," Research in International Business and Finance, Elsevier, vol. 44(C), pages 100-123.
    4. Broadstock, David C. & Filis, George, 2014. "Oil price shocks and stock market returns: New evidence from the United States and China," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 33(C), pages 417-433.
    5. Beckmann, Joscha & Czudaj, Robert, 2013. "Is there a homogeneous causality pattern between oil prices and currencies of oil importers and exporters?," Energy Economics, Elsevier, vol. 40(C), pages 665-678.
    6. Angelidis, Timotheos & Degiannakis, Stavros & Filis, George, 2015. "US stock market regimes and oil price shocks," Global Finance Journal, Elsevier, vol. 28(C), pages 132-146.
    7. repec:zbw:rwirep:0431 is not listed on IDEAS
    8. Manel Hamdi & Chaker Aloui, 2015. "Forecasting Crude Oil Price Using Artificial Neural Networks: A Literature Survey," Economics Bulletin, AccessEcon, vol. 35(2), pages 1339-1359.
    9. Abhay Abhyankar, Bing Xu, and Jiayue Wang, 2013. "Oil Price Shocks and the Stock Market: Evidence from Japan," The Energy Journal, International Association for Energy Economics, vol. 0(Number 2).
    10. Sun, Shaolong & Sun, Yuying & Wang, Shouyang & Wei, Yunjie, 2018. "Interval decomposition ensemble approach for crude oil price forecasting," Energy Economics, Elsevier, vol. 76(C), pages 274-287.
    11. Joscha Beckmann & Robert Czudaj, 2013. "Is there a Homogeneous Causality Pattern between Oil Prices and Currencies of Oil Importers and Exporters?," Ruhr Economic Papers 0431, Rheinisch-Westfälisches Institut für Wirtschaftsforschung, Ruhr-Universität Bochum, Universität Dortmund, Universität Duisburg-Essen.
    12. Qadan, Mahmoud & Idilbi-Bayaa, Yasmeen, 2020. "Risk appetite and oil prices," Energy Economics, Elsevier, vol. 85(C).
    13. Degiannakis, Stavros & Filis, George, 2018. "Forecasting oil prices: High-frequency financial data are indeed useful," Energy Economics, Elsevier, vol. 76(C), pages 388-402.
    14. Yudong Wang & Li Liu, 2016. "Crude oil and world stock markets: volatility spillovers, dynamic correlations, and hedging," Empirical Economics, Springer, vol. 50(4), pages 1481-1509, June.
    15. Qi Zhang & Yi Hu & Jianbin Jiao & Shouyang Wang, 2022. "Exploring the Trend of Commodity Prices: A Review and Bibliometric Analysis," Sustainability, MDPI, vol. 14(15), pages 1-22, August.
    16. Jaime Casassus & Freddy Higuera, 2011. "Stock Return Predictability and Oil Prices," Documentos de Trabajo 406, Instituto de Economia. Pontificia Universidad Católica de Chile..
    17. Ahmadi, Maryam & Manera, Matteo & Sadeghzadeh, Mehdi, 2016. "Global oil market and the U.S. stock returns," Energy, Elsevier, vol. 114(C), pages 1277-1287.
    18. Drachal, Krzysztof, 2016. "Forecasting spot oil price in a dynamic model averaging framework — Have the determinants changed over time?," Energy Economics, Elsevier, vol. 60(C), pages 35-46.
    19. Chevillon, Guillaume & Rifflart, Christine, 2009. "Physical market determinants of the price of crude oil and the market premium," Energy Economics, Elsevier, vol. 31(4), pages 537-549, July.
    20. Stavros Degiannakis, George Filis, and Vipin Arora, 2018. "Oil Prices and Stock Markets: A Review of the Theory and Empirical Evidence," The Energy Journal, International Association for Energy Economics, vol. 0(Number 5).
    21. Xiafei Li & Yu Wei & Xiaodan Chen & Feng Ma & Chao Liang & Wang Chen, 2022. "Which uncertainty is powerful to forecast crude oil market volatility? New evidence," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(4), pages 4279-4297, October.

    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:53:y:2019:i:2:d:10.1007_s10614-017-9764-7. 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.