IDEAS home Printed from https://ideas.repec.org/p/zbw/qmsrps/202104.html
   My bibliography  Save this paper

Forecasting Realized Volatility of Crude Oil Futures Prices based on Machine Learning

Author

Listed:
  • Luo, Jiawen
  • Klein, Tony
  • Walther, Thomas
  • Ji, Qiang

Abstract

Extending the popular HAR model with additional information channels to forecast realized volatility of WTI futures prices, we show that machine learning generated forecasts provide better forecasting quality and that portfolios which are constructed with these forecasts outperform their competing models and resulting in economic gains. Analyzing the selection process, we show that information channels vary across forecasting horizon. Variable selection produces clusters and provides evidence that there are structural changes with regard to the significance of information channels.

Suggested Citation

  • Luo, Jiawen & Klein, Tony & Walther, Thomas & Ji, Qiang, 2021. "Forecasting Realized Volatility of Crude Oil Futures Prices based on Machine Learning," QBS Working Paper Series 2021/04, Queen's University Belfast, Queen's Business School.
  • Handle: RePEc:zbw:qmsrps:202104
    DOI: 10.2139/ssrn.3701000
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/271249/1/qms-rp2021-04.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.2139/ssrn.3701000?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
    ---><---

    References listed on IDEAS

    as
    1. Dimitris Korobilis, 2013. "Var Forecasting Using Bayesian Variable Selection," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 28(2), pages 204-230, March.
    2. Xavier Gabaix, 2014. "A Sparsity-Based Model of Bounded Rationality," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 129(4), pages 1661-1710.
    3. Sizova, Natalia, 2011. "Integrated variance forecasting: Model based vs. reduced form," Journal of Econometrics, Elsevier, vol. 162(2), pages 294-311, June.
    4. Zhang, Yaojie & Ma, Feng & Wang, Yudong, 2019. "Forecasting crude oil prices with a large set of predictors: Can LASSO select powerful predictors?," Journal of Empirical Finance, Elsevier, vol. 54(C), pages 97-117.
    5. Inoue, Atsushi & Kilian, Lutz, 2008. "How Useful Is Bagging in Forecasting Economic Time Series? A Case Study of U.S. Consumer Price Inflation," Journal of the American Statistical Association, American Statistical Association, vol. 103, pages 511-522, June.
    6. Fulvio Corsi & Roberto Renò, 2012. "Discrete-Time Volatility Forecasting With Persistent Leverage Effect and the Link With Continuous-Time Volatility Modeling," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 30(3), pages 368-380, January.
    7. Yacine Ait-Sahalia & Jialin Yu, 2008. "High Frequency Market Microstructure Noise Estimates and Liquidity Measures," NBER Working Papers 13825, National Bureau of Economic Research, Inc.
    8. Degiannakis, Stavros & Filis, George & Klein, Tony & Walther, Thomas, 2022. "Forecasting realized volatility of agricultural commodities," International Journal of Forecasting, Elsevier, vol. 38(1), pages 74-96.
    9. Duc Khuong Nguyen & Thomas Walther, 2020. "Modeling and forecasting commodity market volatility with long‐term economic and financial variables," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(2), pages 126-142, March.
    10. Luo, Jiawen & Klein, Tony & Ji, Qiang & Hou, Chenghan, 2022. "Forecasting realized volatility of agricultural commodity futures with infinite Hidden Markov HAR models," International Journal of Forecasting, Elsevier, vol. 38(1), pages 51-73.
    11. 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.
    12. Fong, Wai Mun & See, Kim Hock, 2002. "A Markov switching model of the conditional volatility of crude oil futures prices," Energy Economics, Elsevier, vol. 24(1), pages 71-95, January.
    13. Peter R. Hansen & Asger Lunde & James M. Nason, 2011. "The Model Confidence Set," Econometrica, Econometric Society, vol. 79(2), pages 453-497, March.
    14. Fattouh, Bassam, 2010. "The dynamics of crude oil price differentials," Energy Economics, Elsevier, vol. 32(2), pages 334-342, March.
    15. Liu, Lily Y. & Patton, Andrew J. & Sheppard, Kevin, 2015. "Does anything beat 5-minute RV? A comparison of realized measures across multiple asset classes," Journal of Econometrics, Elsevier, vol. 187(1), pages 293-311.
    16. Narajewski, Michał & Ziel, Florian, 2020. "Econometric modelling and forecasting of intraday electricity prices," Journal of Commodity Markets, Elsevier, vol. 19(C).
    17. Jeff Fleming & Chris Kirby & Barbara Ostdiek, 2001. "The Economic Value of Volatility Timing," Journal of Finance, American Finance Association, vol. 56(1), pages 329-352, February.
    18. Luo, Yulei & Young, Eric R., 2016. "Induced uncertainty, market price of risk, and the dynamics of consumption and wealth," Journal of Economic Theory, Elsevier, vol. 163(C), pages 1-41.
    19. Fernandez, Carmen & Ley, Eduardo & Steel, Mark F. J., 2001. "Benchmark priors for Bayesian model averaging," Journal of Econometrics, Elsevier, vol. 100(2), pages 381-427, February.
    20. Gary Koop & Dimitris Korobilis, 2023. "Bayesian Dynamic Variable Selection In High Dimensions," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 64(3), pages 1047-1074, August.
    21. Fulvio Corsi, 2009. "A Simple Approximate Long-Memory Model of Realized Volatility," Journal of Financial Econometrics, Oxford University Press, vol. 7(2), pages 174-196, Spring.
    22. Ferreira, Miguel A. & Santa-Clara, Pedro, 2011. "Forecasting stock market returns: The sum of the parts is more than the whole," Journal of Financial Economics, Elsevier, vol. 100(3), pages 514-537, June.
    23. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    24. Afkhami, Mohamad & Cormack, Lindsey & Ghoddusi, Hamed, 2017. "Google search keywords that best predict energy price volatility," Energy Economics, Elsevier, vol. 67(C), pages 17-27.
    25. 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.
    26. Hamilton, James D., 2003. "What is an oil shock?," Journal of Econometrics, Elsevier, vol. 113(2), pages 363-398, April.
    27. Christopher J. Neely & David E. Rapach & Jun Tu & Guofu Zhou, 2014. "Forecasting the Equity Risk Premium: The Role of Technical Indicators," Management Science, INFORMS, vol. 60(7), pages 1772-1791, July.
    28. Luo, Jiawen & Ji, Qiang & Klein, Tony & Todorova, Neda & Zhang, Dayong, 2020. "On realized volatility of crude oil futures markets: Forecasting with exogenous predictors under structural breaks," Energy Economics, Elsevier, vol. 89(C).
    29. Francesco Audrino & Marcelo C. Medeiros, 2011. "Modeling and forecasting short‐term interest rates: The benefits of smooth regimes, macroeconomic variables, and bagging," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 26(6), pages 999-1022, September.
    30. 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.
    31. James H. Stock & Mark W. Watson, 2012. "Generalized Shrinkage Methods for Forecasting Using Many Predictors," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 30(4), pages 481-493, June.
    32. Reboredo, Juan C., 2011. "How do crude oil prices co-move?: A copula approach," Energy Economics, Elsevier, vol. 33(5), pages 948-955, September.
    33. Lee, Tae-Hwy & Yang, Yang, 2006. "Bagging binary and quantile predictors for time series," Journal of Econometrics, Elsevier, vol. 135(1-2), pages 465-497.
    34. John Y. Campbell & Samuel B. Thompson, 2008. "Predicting Excess Stock Returns Out of Sample: Can Anything Beat the Historical Average?," The Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1509-1531, July.
    35. Ederington, Louis H. & Guan, Wei, 2010. "Longer-Term Time-Series Volatility Forecasts," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 45(4), pages 1055-1076, August.
    36. Marcel Prokopczuk & Lazaros Symeonidis & Chardin Wese Simen, 2016. "Do Jumps Matter for Volatility Forecasting? Evidence from Energy Markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 36(8), pages 758-792, August.
    37. Blair, Bevan J. & Poon, Ser-Huang & Taylor, Stephen J., 2001. "Forecasting S&P 100 volatility: the incremental information content of implied volatilities and high-frequency index returns," Journal of Econometrics, Elsevier, vol. 105(1), pages 5-26, November.
    38. Klein, Tony & Todorova, Neda, 2021. "Night trading with futures in China: The case of Aluminum and Copper," Resources Policy, Elsevier, vol. 73(C).
    39. Klein, Tony, 2018. "Trends and contagion in WTI and Brent crude oil spot and futures markets - The role of OPEC in the last decade," Energy Economics, Elsevier, vol. 75(C), pages 636-646.
    40. Ma, Feng & Liu, Jing & Wahab, M.I.M. & Zhang, Yaojie, 2018. "Forecasting the aggregate oil price volatility in a data-rich environment," Economic Modelling, Elsevier, vol. 72(C), pages 320-332.
    41. Elder, John & Miao, Hong & Ramchander, Sanjay, 2014. "Price discovery in crude oil futures," Energy Economics, Elsevier, vol. 46(S1), pages 18-27.
    42. Klein, Tony & Walther, Thomas, 2016. "Oil price volatility forecast with mixture memory GARCH," Energy Economics, Elsevier, vol. 58(C), pages 46-58.
    43. Kaufmann, Robert K. & Banerjee, Shayan, 2014. "A unified world oil market: Regions in physical, economic, geographic, and political space," Energy Policy, Elsevier, vol. 74(C), pages 235-242.
    44. Korobilis, Dimitris, 2017. "Quantile regression forecasts of inflation under model uncertainty," International Journal of Forecasting, Elsevier, vol. 33(1), pages 11-20.
    45. Klein, Tony, 2018. "Trends and Contagion in WTI and Brent Crude Oil Spot and Futures Markets - The Role of OPEC in the last Decade," QBS Working Paper Series 2018/05, Queen's University Belfast, Queen's Business School.
    46. Fleming, Jeff & Kirby, Chris & Ostdiek, Barbara, 2003. "The economic value of volatility timing using "realized" volatility," Journal of Financial Economics, Elsevier, vol. 67(3), pages 473-509, March.
    47. Zhang, Yaojie & Wei, Yu & Zhang, Yi & Jin, Daxiang, 2019. "Forecasting oil price volatility: Forecast combination versus shrinkage method," Energy Economics, Elsevier, vol. 80(C), pages 423-433.
    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. Luo, Jiawen & Ji, Qiang & Klein, Tony & Todorova, Neda & Zhang, Dayong, 2020. "On realized volatility of crude oil futures markets: Forecasting with exogenous predictors under structural breaks," Energy Economics, Elsevier, vol. 89(C).
    2. Luo, Jiawen & Demirer, Riza & Gupta, Rangan & Ji, Qiang, 2022. "Forecasting oil and gold volatilities with sentiment indicators under structural breaks," Energy Economics, Elsevier, vol. 105(C).
    3. Hardik A. Marfatia & Qiang Ji & Jiawen Luo, 2022. "Forecasting the volatility of agricultural commodity futures: The role of co‐volatility and oil volatility," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(2), pages 383-404, March.
    4. 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.
    5. Bonnier, Jean-Baptiste, 2022. "Forecasting crude oil volatility with exogenous predictors: As good as it GETS?," Energy Economics, Elsevier, vol. 111(C).
    6. Yaojie Zhang & Mengxi He & Yuqi Zhao & Xianfeng Hao, 2023. "Predicting stock realized variance based on an asymmetric robust regression approach," Bulletin of Economic Research, Wiley Blackwell, vol. 75(4), pages 1022-1047, October.
    7. Lyócsa, Štefan & Todorova, Neda & Výrost, Tomáš, 2021. "Predicting risk in energy markets: Low-frequency data still matter," Applied Energy, Elsevier, vol. 282(PA).
    8. Lyócsa, Štefan & Todorova, Neda, 2021. "What drives volatility of the U.S. oil and gas firms?," Energy Economics, Elsevier, vol. 100(C).
    9. Danyan Wen & Mengxi He & Yaojie Zhang & Yudong Wang, 2022. "Forecasting realized volatility of Chinese stock market: A simple but efficient truncated approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(2), pages 230-251, March.
    10. Chen, Yixiang & Ma, Feng & Zhang, Yaojie, 2019. "Good, bad cojumps and volatility forecasting: New evidence from crude oil and the U.S. stock markets," Energy Economics, Elsevier, vol. 81(C), pages 52-62.
    11. Zhang, Yaojie & Ma, Feng & Wei, Yu, 2019. "Out-of-sample prediction of the oil futures market volatility: A comparison of new and traditional combination approaches," Energy Economics, Elsevier, vol. 81(C), pages 1109-1120.
    12. Qianjie Geng & Xianfeng Hao & Yudong Wang, 2024. "Forecasting the volatility of crude oil futures: A time‐dependent weighted least squares with regularization constraint," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(2), pages 309-325, March.
    13. Luo, Jiawen & Klein, Tony & Ji, Qiang & Hou, Chenghan, 2022. "Forecasting realized volatility of agricultural commodity futures with infinite Hidden Markov HAR models," International Journal of Forecasting, Elsevier, vol. 38(1), pages 51-73.
    14. Mengxi He & Xianfeng Hao & Yaojie Zhang & Fanyi Meng, 2021. "Forecasting stock return volatility using a robust regression model," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1463-1478, December.
    15. Libo Yin, 2022. "The role of intermediary capital risk in predicting oil volatility," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(1), pages 401-416, January.
    16. Panagiotis Delis & Stavros Degiannakis & George Filis, 2022. "What matters when developing oil price volatility forecasting frameworks?," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(2), pages 361-382, March.
    17. Ma, Feng & Zhang, Yaojie & Huang, Dengshi & Lai, Xiaodong, 2018. "Forecasting oil futures price volatility: New evidence from realized range-based volatility," Energy Economics, Elsevier, vol. 75(C), pages 400-409.
    18. Nikitopoulos, Christina Sklibosios & Thomas, Alice Carole & Wang, Jianxin, 2023. "The economic impact of daily volatility persistence on energy markets," Journal of Commodity Markets, Elsevier, vol. 30(C).
    19. Wang, Jiqian & He, Xiaofeng & Ma, Feng & Li, Pan, 2022. "Uncertainty and oil volatility: Evidence from shrinkage method," Resources Policy, Elsevier, vol. 75(C).
    20. Degiannakis, Stavros & Filis, George & Klein, Tony & Walther, Thomas, 2022. "Forecasting realized volatility of agricultural commodities," International Journal of Forecasting, Elsevier, vol. 38(1), pages 74-96.

    More about this item

    Keywords

    Forecasting; Crude oil; Realized volatility; Exogenous predictors; Machine learning;
    All these keywords.

    JEL classification:

    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications
    • Q47 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Energy - - - Energy Forecasting

    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:zbw:qmsrps:202104. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/dequbuk.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.