IDEAS home Printed from https://ideas.repec.org/a/eee/ecmode/v54y2016icp40-53.html
   My bibliography  Save this article

Oil price forecasting using gene expression programming and artificial neural networks

Author

Listed:
  • Mostafa, Mohamed M.
  • El-Masry, Ahmed A.

Abstract

This study aims to forecast oil prices using evolutionary techniques such as gene expression programming (GEP) and artificial neural network (NN) models to predict oil prices over the period from January 2, 1986 to June 12, 2012. Autoregressive integrated moving average (ARIMA) models are employed to benchmark evolutionary models. The results reveal that the GEP technique outperforms traditional statistical techniques in predicting oil prices. Further, the GEP model outperforms the NN and the ARIMA models in terms of the mean squared error, the root mean squared error and the mean absolute error. Finally, the GEP model also has the highest explanatory power as measured by the R-squared statistic. The results of this study have important implications for both theory and practice.

Suggested Citation

  • Mostafa, Mohamed M. & El-Masry, Ahmed A., 2016. "Oil price forecasting using gene expression programming and artificial neural networks," Economic Modelling, Elsevier, vol. 54(C), pages 40-53.
  • Handle: RePEc:eee:ecmode:v:54:y:2016:i:c:p:40-53
    DOI: 10.1016/j.econmod.2015.12.014
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0264999315004101
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.econmod.2015.12.014?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. Gorr, Wilpen L. & Nagin, Daniel & Szczypula, Janusz, 1994. "Comparative study of artificial neural network and statistical models for predicting student grade point averages," International Journal of Forecasting, Elsevier, vol. 10(1), pages 17-34, June.
    2. Hamilton, James D., 1996. "This is what happened to the oil price-macroeconomy relationship," Journal of Monetary Economics, Elsevier, vol. 38(2), pages 215-220, October.
    3. Salisu, Afees A. & Fasanya, Ismail O., 2013. "Modelling oil price volatility with structural breaks," Energy Policy, Elsevier, vol. 52(C), pages 554-562.
    4. Ediger, Volkan S. & Akar, Sertac & Ugurlu, Berkin, 2006. "Forecasting production of fossil fuel sources in Turkey using a comparative regression and ARIMA model," Energy Policy, Elsevier, vol. 34(18), pages 3836-3846, December.
    5. Phan, Dinh Hoang Bach & Sharma, Susan Sunila & Narayan, Paresh Kumar, 2016. "Intraday volatility interaction between the crude oil and equity markets," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 40(C), pages 1-13.
    6. Raj Aggarwal & Brian M. Lucey, 2007. "Psychological barriers in gold prices?," Review of Financial Economics, John Wiley & Sons, vol. 16(2), pages 217-230.
    7. J. Stuart McMenamin & Frank A. Monforte, 1998. "Short Term Energy Forecasting with Neural Networks," The Energy Journal, International Association for Energy Economics, vol. 0(Number 4), pages 43-61.
    8. Mohammadi, Hassan & Su, Lixian, 2010. "International evidence on crude oil price dynamics: Applications of ARIMA-GARCH models," Energy Economics, Elsevier, vol. 32(5), pages 1001-1008, September.
    9. Narayan, Paresh Kumar & Narayan, Seema, 2010. "Modelling the impact of oil prices on Vietnam's stock prices," Applied Energy, Elsevier, vol. 87(1), pages 356-361, January.
    10. de Zwart, Gerben & Markwat, Thijs & Swinkels, Laurens & van Dijk, Dick, 2009. "The economic value of fundamental and technical information in emerging currency markets," Journal of International Money and Finance, Elsevier, vol. 28(4), pages 581-604, June.
    11. Farzan Aminian & E. Suarez & Mehran Aminian & Daniel Walz, 2006. "Forecasting Economic Data with Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 28(1), pages 71-88, August.
    12. 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.
    13. Narayan, Paresh Kumar & Sharma, Susan & Poon, Wai Ching & Westerlund, Joakim, 2014. "Do oil prices predict economic growth? New global evidence," Energy Economics, Elsevier, vol. 41(C), pages 137-146.
    14. Gisser, Micha & Goodwin, Thomas H, 1986. "Crude Oil and the Macroeconomy: Tests of Some Popular Notions: A Note," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 18(1), pages 95-103, February.
    15. Kang, Wensheng & Ratti, Ronald A. & Yoon, Kyung Hwan, 2015. "The impact of oil price shocks on the stock market return and volatility relationship," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 34(C), pages 41-54.
    16. Hamilton, James D., 2003. "What is an oil shock?," Journal of Econometrics, Elsevier, vol. 113(2), pages 363-398, April.
    17. Papapetrou, Evangelia, 2001. "Oil price shocks, stock market, economic activity and employment in Greece," Energy Economics, Elsevier, vol. 23(5), pages 511-532, September.
    18. Darbellay, Georges A. & Slama, Marek, 2000. "Forecasting the short-term demand for electricity: Do neural networks stand a better chance?," International Journal of Forecasting, Elsevier, vol. 16(1), pages 71-83.
    19. Narayan, Paresh Kumar & Gupta, Rangan, 2015. "Has oil price predicted stock returns for over a century?," Energy Economics, Elsevier, vol. 48(C), pages 18-23.
    20. Jones, Charles M & Kaul, Gautam, 1996. "Oil and the Stock Markets," Journal of Finance, American Finance Association, vol. 51(2), pages 463-491, June.
    21. Narayan, Paresh Kumar & Sharma, Susan Sunila, 2011. "New evidence on oil price and firm returns," Journal of Banking & Finance, Elsevier, vol. 35(12), pages 3253-3262.
    22. Narayan, Paresh Kumar & Narayan, Seema & Popp, Stephan, 2010. "A note on the long-run elasticities from the energy consumption-GDP relationship," Applied Energy, Elsevier, vol. 87(3), pages 1054-1057, March.
    23. Roger D. Huang & Ronald W. Masulis & Hans R. Stoll, 1996. "Energy shocks and financial markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 16(1), pages 1-27, February.
    24. Ciner Cetin, 2001. "Energy Shocks and Financial Markets: Nonlinear Linkages," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 5(3), pages 1-11, October.
    25. Narayan, Paresh Kumar & Liu, Ruipeng, 2011. "Are shocks to commodity prices persistent?," Applied Energy, Elsevier, vol. 88(1), pages 409-416, January.
    26. Babai, M.Z. & Ali, M.M. & Boylan, J.E. & Syntetos, A.A., 2013. "Forecasting and inventory performance in a two-stage supply chain with ARIMA(0,1,1) demand: Theory and empirical analysis," International Journal of Production Economics, Elsevier, vol. 143(2), pages 463-471.
    27. Shambora, William E. & Rossiter, Rosemary, 2007. "Are there exploitable inefficiencies in the futures market for oil?," Energy Economics, Elsevier, vol. 29(1), pages 18-27, January.
    28. He, Angela W.W. & Kwok, Jerry T.K. & Wan, Alan T.K., 2010. "An empirical model of daily highs and lows of West Texas Intermediate crude oil prices," Energy Economics, Elsevier, vol. 32(6), pages 1499-1506, November.
    29. Hooker, Mark A., 1996. "What happened to the oil price-macroeconomy relationship?," Journal of Monetary Economics, Elsevier, vol. 38(2), pages 195-213, October.
    30. Shouhong Wang, 1995. "The Unpredictability of Standard Back Propagation Neural Networks in Classification Applications," Management Science, INFORMS, vol. 41(3), pages 555-559, March.
    31. 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.
    32. Phan, Dinh Hoang Bach & Sharma, Susan Sunila & Narayan, Paresh Kumar, 2015. "Stock return forecasting: Some new evidence," International Review of Financial Analysis, Elsevier, vol. 40(C), pages 38-51.
    33. 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.
    34. Driesprong, Gerben & Jacobsen, Ben & Maat, Benjamin, 2008. "Striking oil: Another puzzle?," Journal of Financial Economics, Elsevier, vol. 89(2), pages 307-327, August.
    35. Phan, Dinh Hoang Bach & Sharma, Susan Sunila & Narayan, Paresh Kumar, 2015. "Oil price and stock returns of consumers and producers of crude oil," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 34(C), pages 245-262.
    36. Alvarez-Ramirez, Jose & Soriano, Angel & Cisneros, Myriam & Suarez, Rodolfo, 2003. "Symmetry/anti-symmetry phase transitions in crude oil markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 322(C), pages 583-596.
    37. Paresh Kumar Narayan & Seema Narayan, 2014. "Psychological Oil Price Barrier and Firm Returns," Journal of Behavioral Finance, Taylor & Francis Journals, vol. 15(4), pages 318-333, October.
    38. Hooker, Mark A., 1996. "This is what happened to the oil price-macroeconomy relationship: Reply," Journal of Monetary Economics, Elsevier, vol. 38(2), pages 221-222, October.
    39. Mohamed M. Mostafa, 2004. "Forecasting the Suez Canal traffic: a neural network analysis," Maritime Policy & Management, Taylor & Francis Journals, vol. 31(2), pages 139-156, April.
    40. Prasad, Arti & Narayan, Paresh Kumar & Narayan, Jashwini, 2007. "Exploring the oil price and real GDP nexus for a small island economy, the Fiji Islands," Energy Policy, Elsevier, vol. 35(12), pages 6506-6513, December.
    41. Melody Y. Kiang & Ajith Kumar, 2001. "An Evaluation of Self-Organizing Map Networks as a Robust Alternative to Factor Analysis in Data Mining Applications," Information Systems Research, INFORMS, vol. 12(2), pages 177-194, June.
    42. Koutroumanidis, Theodoros & Ioannou, Konstantinos & Arabatzis, Garyfallos, 2009. "Predicting fuelwood prices in Greece with the use of ARIMA models, artificial neural networks and a hybrid ARIMA-ANN model," Energy Policy, Elsevier, vol. 37(9), pages 3627-3634, September.
    43. 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.
    44. Narayan, Paresh Kumar & Narayan, Seema & Popp, Stephan & D'Rosario, Michael, 2011. "Share price clustering in Mexico," International Review of Financial Analysis, Elsevier, vol. 20(2), pages 113-119, April.
    45. Narayan, Paresh Kumar & Sharma, Susan Sunila, 2014. "Firm return volatility and economic gains: The role of oil prices," Economic Modelling, Elsevier, vol. 38(C), pages 142-151.
    46. Philip K. Verleger, Jr., 1993. "Adjusting to Volatile Energy Prices," Peterson Institute Press: All Books, Peterson Institute for International Economics, number 41, October.
    47. Nandha, Mohan & Faff, Robert, 2008. "Does oil move equity prices? A global view," Energy Economics, Elsevier, vol. 30(3), pages 986-997, May.
    48. Adrian VISOIU, 2011. "Deriving Trading Rules Using Gene Expression Programming," Informatica Economica, Academy of Economic Studies - Bucharest, Romania, vol. 15(1), pages 22-30.
    49. Prachowny,Martin F. J., 1986. "Money in the Macroeconomy," Cambridge Books, Cambridge University Press, number 9780521315944.
    50. Pradhan, Rudra P. & Arvin, Mak B. & Ghoshray, Atanu, 2015. "The dynamics of economic growth, oil prices, stock market depth, and other macroeconomic variables: Evidence from the G-20 countries," International Review of Financial Analysis, Elsevier, vol. 39(C), pages 84-95.
    51. 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.
    52. Ghaffari, Ali & Zare, Samaneh, 2009. "A novel algorithm for prediction of crude oil price variation based on soft computing," Energy Economics, Elsevier, vol. 31(4), pages 531-536, July.
    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. 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. Chou, Kuo-Wei & Tseng, Yi-Heng, 2016. "Oil prices, exchange rate, and the price asymmetry in the Taiwanese retail gasoline market," Economic Modelling, Elsevier, vol. 52(PB), pages 733-741.
    3. Smyth, Russell & Narayan, Paresh Kumar, 2018. "What do we know about oil prices and stock returns?," International Review of Financial Analysis, Elsevier, vol. 57(C), pages 148-156.
    4. Cakan, Esin & Demiralay, Sercan & Ulusoy, Veysel, 2021. "Oil Prices and Firm Returns in an Emerging Market," American Business Review, Pompea College of Business, University of New Haven, vol. 24(1), pages 166-187, May.
    5. David C. Broadstock, Ying Fan, Qiang Ji, and Dayong Zhang, 2016. "Shocks and Stocks: A Bottom-up Assessment of the Relationship Between Oil Prices, Gasoline Prices and the Returns of Chinese Firms," The Energy Journal, International Association for Energy Economics, vol. 0(China Spe).
    6. 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).
    7. Ronald A. Ratti & M. Zahid Hasan, 2013. "Oil Price Shocks and Volatility in Australian Stock Returns," The Economic Record, The Economic Society of Australia, vol. 89, pages 67-83, June.
    8. Jaime Casassus & Freddy Higuera, 2011. "Stock Return Predictability and Oil Prices," Documentos de Trabajo 406, Instituto de Economia. Pontificia Universidad Católica de Chile..
    9. 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.
    10. Martin Enilov & Giorgio Fazio & Atanu Ghoshray, 2023. "Global connectivity between commodity prices and national stock markets: A time‐varying MIDAS analysis," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(3), pages 2607-2619, July.
    11. Filis, George & Degiannakis, Stavros & Floros, Christos, 2011. "Dynamic correlation between stock market and oil prices: The case of oil-importing and oil-exporting countries," International Review of Financial Analysis, Elsevier, vol. 20(3), pages 152-164, June.
    12. Chang, Bisharat Hussain & Sharif, Arshian & Aman, Ameenullah & Suki, Norazah Mohd & Salman, Asma & Khan, Syed Abdul Rehman, 2020. "The asymmetric effects of oil price on sectoral Islamic stocks: New evidence from quantile-on-quantile regression approach," Resources Policy, Elsevier, vol. 65(C).
    13. Suleman Sarwar & Rida Waheed & Mehnoor Amir & Muqaddas Khalid, 2018. "Role of Energy on Economy The Case of Micro to Macro Level Analysis," Economics Bulletin, AccessEcon, vol. 38(4), pages 1905-1926.
    14. Lin, Boqiang & Wesseh, Presley K. & Appiah, Michael Owusu, 2014. "Oil price fluctuation, volatility spillover and the Ghanaian equity market: Implication for portfolio management and hedging effectiveness," Energy Economics, Elsevier, vol. 42(C), pages 172-182.
    15. Phan, Dinh Hoang Bach & Sharma, Susan Sunila & Narayan, Paresh Kumar, 2015. "Stock return forecasting: Some new evidence," International Review of Financial Analysis, Elsevier, vol. 40(C), pages 38-51.
    16. Heidari, Hassan & Ebrahimi Torki, Mahyar & Babaei Balderlou, Saharnaz, 2015. "How Do Different Oil Price Shocks Affect the Relationship Between Oil and Stock Markets?," MPRA Paper 80273, University Library of Munich, Germany, revised 24 Dec 2016.
    17. Haykir, Ozkan & Yagli, Ibrahim & Aktekin Gok, Emine Dilara & Budak, Hilal, 2022. "Oil price explosivity and stock return: Do sector and firm size matter?," Resources Policy, Elsevier, vol. 78(C).
    18. 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.
    19. Bahmani-Oskooee, Mohsen & Ghodsi, Seyed Hesam & Hadzic, Muris, 2019. "Asymmetric causality between oil price and stock returns:A sectoral analysis," Economic Analysis and Policy, Elsevier, vol. 63(C), pages 165-174.
    20. Dayanandan, Ajit & Donker, Han, 2011. "Oil prices and accounting profits of oil and gas companies," International Review of Financial Analysis, Elsevier, vol. 20(5), pages 252-257.

    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:eee:ecmode:v:54:y:2016:i:c:p:40-53. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/30411 .

    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.