IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v13y2020i10p2440-d357298.html
   My bibliography  Save this article

Forecasting Crude Oil Market Crashes Using Machine Learning Technologies

Author

Listed:
  • Yulian Zhang

    (Graduate School of Economics, Kobe University, 2-1, Rokkodai, Nada-Ku, Kobe 657-8501, Japan)

  • Shigeyuki Hamori

    (Graduate School of Economics, Kobe University, 2-1, Rokkodai, Nada-Ku, Kobe 657-8501, Japan)

Abstract

To the best of our knowledge, this study provides new insight into the forecasting of crude oil futures price crashes in America, employing a moving window. One is the fixed-length window and the other is the expanding-length window, which has never been reported in the past. We aimed to investigate if there is any difference when historical data are discarded. As the explanatory variables, we adapted 13 variables to obtain two datasets, 16 explanatory variables for Dataset1 and 121 explanatory variables for Dataset2. We try to observe results from the different-sized sets of explanatory variables. Specifically, we leverage the merits of a series of machine learning techniques, which include random forests, logistic regression, support vector machines, and extreme gradient boosting (XGBoost). Finally, we employ the evaluation metrics that are broadly used to assess the discriminatory power of imbalanced datasets. Our results indicate that we should occasionally discard distant historical data, and that XGBoost outperforms the other employed approaches, achieving a detection rate as high as 86% using the fixed-length moving window for Dataset2.

Suggested Citation

  • Yulian Zhang & Shigeyuki Hamori, 2020. "Forecasting Crude Oil Market Crashes Using Machine Learning Technologies," Energies, MDPI, vol. 13(10), pages 1-14, May.
  • Handle: RePEc:gam:jeners:v:13:y:2020:i:10:p:2440-:d:357298
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/13/10/2440/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/13/10/2440/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Katsuyuki Tanaka & Takuo Higashide & Takuji Kinkyo & Shigeyuki Hamori, 2019. "Analyzing Industry‐Level Vulnerability By Predicting Financial Bankruptcy," Economic Inquiry, Western Economic Association International, vol. 57(4), pages 2017-2034, October.
    2. Alquist, Ron & Kilian, Lutz & Vigfusson, Robert J., 2013. "Forecasting the Price of Oil," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 427-507, Elsevier.
    3. Babecký, Jan & Havránek, Tomáš & Matějů, Jakub & Rusnák, Marek & Šmídková, Kateřina & Vašíček, Bořek, 2014. "Banking, debt, and currency crises in developed countries: Stylized facts and early warning indicators," Journal of Financial Stability, Elsevier, vol. 15(C), pages 1-17.
    4. Koch, Nicolas & Fuss, Sabine & Grosjean, Godefroy & Edenhofer, Ottmar, 2014. "Causes of the EU ETS price drop: Recession, CDM, renewable policies or a bit of everything?—New evidence," Energy Policy, Elsevier, vol. 73(C), pages 676-685.
    5. Christiane Baumeister & Lutz Kilian, 2015. "Forecasting the Real Price of Oil in a Changing World: A Forecast Combination Approach," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(3), pages 338-351, July.
    6. Davis, E. Philip & Karim, Dilruba, 2008. "Comparing early warning systems for banking crises," Journal of Financial Stability, Elsevier, vol. 4(2), pages 89-120, June.
    7. Saeed Moshiri & Faezeh Foroutan, 2006. "Forecasting Nonlinear Crude Oil Futures Prices," The Energy Journal, International Association for Energy Economics, vol. 0(Number 4), pages 81-96.
    8. Geng, Ruibin & Bose, Indranil & Chen, Xi, 2015. "Prediction of financial distress: An empirical study of listed Chinese companies using data mining," European Journal of Operational Research, Elsevier, vol. 241(1), pages 236-247.
    9. Sevim, Cuneyt & Oztekin, Asil & Bali, Ozkan & Gumus, Serkan & Guresen, Erkam, 2014. "Developing an early warning system to predict currency crises," European Journal of Operational Research, Elsevier, vol. 237(3), pages 1095-1104.
    10. Lean Yu & Kin Keung Lai & Shou-Yang Wang, 2006. "Currency Crisis Forecasting With General Regression Neural Networks," International Journal of Information Technology & Decision Making (IJITDM), World Scientific Publishing Co. Pte. Ltd., vol. 5(03), pages 437-454.
    11. Bluedorn, John C. & Decressin, Jörg & Terrones, Marco E., 2016. "Do asset price drops foreshadow recessions?," International Journal of Forecasting, Elsevier, vol. 32(2), pages 518-526.
    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. 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.
    14. Ohlson, Ja, 1980. "Financial Ratios And The Probabilistic Prediction Of Bankruptcy," Journal of Accounting Research, Wiley Blackwell, vol. 18(1), pages 109-131.
    15. Niemira, Michael P. & Saaty, Thomas L., 2004. "An Analytic Network Process model for financial-crisis forecasting," International Journal of Forecasting, Elsevier, vol. 20(4), pages 573-587.
    16. Ye, Michael & Zyren, John & Shore, Joanne, 2006. "Forecasting short-run crude oil price using high- and low-inventory variables," Energy Policy, Elsevier, vol. 34(17), pages 2736-2743, November.
    17. 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.
    18. Aman Saggu & Witada Anukoonwattaka, 2015. "Commodity Price Crash: Risks to Exports and Economic Growth in Asia-Pacific LDCs and LLDCs," Trade Insights Series 6, United Nations Economic and Social Commission for Asia and the Pacific (ESCAP).
    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. Zhang, Yaojie & Wahab, M.I.M. & Wang, Yudong, 2023. "Forecasting crude oil market volatility using variable selection and common factor," International Journal of Forecasting, Elsevier, vol. 39(1), pages 486-502.
    2. Sabri Boubaker & Zhenya Liu & Yaosong Zhan, 2022. "Risk management for crude oil futures: an optimal stopping-timing approach," Annals of Operations Research, Springer, vol. 313(1), pages 9-27, June.
    3. Antulov-Fantulin, Nino & Lagravinese, Raffaele & Resce, Giuliano, 2021. "Predicting bankruptcy of local government: A machine learning approach," Journal of Economic Behavior & Organization, Elsevier, vol. 183(C), pages 681-699.
    4. Lu, Xinjie & Ma, Feng & Xu, Jin & Zhang, Zehui, 2022. "Oil futures volatility predictability: New evidence based on machine learning models11All the authors contribute to the paper equally," International Review of Financial Analysis, Elsevier, vol. 83(C).

    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. 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.
    2. 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.
    3. 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).
    4. Naser, Hanan, 2016. "Estimating and forecasting the real prices of crude oil: A data rich model using a dynamic model averaging (DMA) approach," Energy Economics, Elsevier, vol. 56(C), pages 75-87.
    5. Yuanrong Wang & Yinsen Miao & Alexander CY Wong & Nikita P Granger & Christian Michler, 2023. "Domain-adapted Learning and Interpretability: DRL for Gas Trading," Papers 2301.08359, arXiv.org, revised Sep 2023.
    6. 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.
    7. 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).
    8. Stéphane Goutte & David Guerreiro & Bilel Sanhaji & Sophie Saglio & Julien Chevallier, 2019. "International Financial Markets," Post-Print halshs-02183053, HAL.
    9. Ding, Yishan, 2018. "A novel decompose-ensemble methodology with AIC-ANN approach for crude oil forecasting," Energy, Elsevier, vol. 154(C), pages 328-336.
    10. Safari, Ali & Davallou, Maryam, 2018. "Oil price forecasting using a hybrid model," Energy, Elsevier, vol. 148(C), pages 49-58.
    11. 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.
    12. Cortazar, Gonzalo & Ortega, Hector & Valencia, Consuelo, 2021. "How good are analyst forecasts of oil prices?," Energy Economics, Elsevier, vol. 102(C).
    13. Wang, Yudong & Hao, Xianfeng, 2022. "Forecasting the real prices of crude oil: A robust weighted least squares approach," Energy Economics, Elsevier, vol. 116(C).
    14. Lin, Ling & Jiang, Yong & Xiao, Helu & Zhou, Zhongbao, 2020. "Crude oil price forecasting based on a novel hybrid long memory GARCH-M and wavelet analysis model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 543(C).
    15. Han, Liyan & Lv, Qiuna & Yin, Libo, 2017. "Can investor attention predict oil prices?," Energy Economics, Elsevier, vol. 66(C), pages 547-558.
    16. Wenting Zhang & Shigeyuki Hamori, 2020. "Do Machine Learning Techniques and Dynamic Methods Help Forecast US Natural Gas Crises?," Energies, MDPI, vol. 13(9), pages 1-22, May.
    17. Marcos Álvarez-Díaz, 2020. "Is it possible to accurately forecast the evolution of Brent crude oil prices? An answer based on parametric and nonparametric forecasting methods," Empirical Economics, Springer, vol. 59(3), pages 1285-1305, September.
    18. Liu, Li & Wang, Yudong & Yang, Li, 2018. "Predictability of crude oil prices: An investor perspective," Energy Economics, Elsevier, vol. 75(C), pages 193-205.
    19. 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).
    20. Funk, Christoph, 2018. "Forecasting the real price of oil - Time-variation and forecast combination," Energy Economics, Elsevier, vol. 76(C), pages 288-302.

    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:gam:jeners:v:13:y:2020:i:10:p:2440-:d:357298. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.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.