IDEAS home Printed from https://ideas.repec.org/a/wly/jforec/v44y2025i2p692-705.html
   My bibliography  Save this article

Forecasting Realized Volatility: The Choice of Window Size

Author

Listed:
  • Yuqing Feng
  • Yaojie Zhang

Abstract

Different window sizes may produce different empirical results. However, how to choose an ideal window size is still an open question. We investigate how the window size affects the predictive performance of volatility. The empirical results show that the loss function for volatility prediction takes on a U‐shape as the window size increases. This suggests that if the window size is chosen too large or too small, the loss function tends to be large and the model's predictive accuracy decreases. A window size of between 1000 and 2000 observations is ideal for various assets because it can produce relatively minimal forecast errors. From an asset allocation perspective, a mean–variance investor can obtain sizeable utility by using a model with a low loss function value for her portfolio. Moreover, the results are robust in a variety of settings.

Suggested Citation

  • Yuqing Feng & Yaojie Zhang, 2025. "Forecasting Realized Volatility: The Choice of Window Size," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 44(2), pages 692-705, March.
  • Handle: RePEc:wly:jforec:v:44:y:2025:i:2:p:692-705
    DOI: 10.1002/for.3221
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/for.3221
    Download Restriction: no

    File URL: https://libkey.io/10.1002/for.3221?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. Ivo Welch & Amit Goyal, 2008. "A Comprehensive Look at The Empirical Performance of Equity Premium Prediction," The Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1455-1508, July.
    2. Martens, Martin, 2001. "Forecasting daily exchange rate volatility using intraday returns," Journal of International Money and Finance, Elsevier, vol. 20(1), pages 1-23, February.
    3. Corsi, Fulvio & Pirino, Davide & Renò, Roberto, 2010. "Threshold bipower variation and the impact of jumps on volatility forecasting," Journal of Econometrics, Elsevier, vol. 159(2), pages 276-288, December.
    4. Gong, Xu & Lin, Boqiang, 2018. "The incremental information content of investor fear gauge for volatility forecasting in the crude oil futures market," Energy Economics, Elsevier, vol. 74(C), pages 370-386.
    5. Tim Bollerslev & Benjamin Hood & John Huss & Lasse Heje Pedersen, 2018. "Risk Everywhere: Modeling and Managing Volatility," The Review of Financial Studies, Society for Financial Studies, vol. 31(7), pages 2729-2773.
    6. Torben G. Andersen & Tim Bollerslev & Francis X. Diebold, 2007. "Roughing It Up: Including Jump Components in the Measurement, Modeling, and Forecasting of Return Volatility," The Review of Economics and Statistics, MIT Press, vol. 89(4), pages 701-720, November.
    7. Peter Reinhard Hansen & Allan Timmermann, 2012. "Choice of Sample Split in Out-of-Sample Forecast Evaluation," CREATES Research Papers 2012-43, Department of Economics and Business Economics, Aarhus University.
    8. Wu, Chuanzhen, 2021. "Window effect with Markov-switching GARCH model in cryptocurrency market," Chaos, Solitons & Fractals, Elsevier, vol. 146(C).
    9. 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.
    10. Ole E. Barndorff-Nielsen & Peter Reinhard Hansen & Asger Lunde & Neil Shephard, 2008. "Designing Realized Kernels to Measure the ex post Variation of Equity Prices in the Presence of Noise," Econometrica, Econometric Society, vol. 76(6), pages 1481-1536, November.
    11. Andersen, Torben G. & Bollerslev, Tim & Meddahi, Nour, 2011. "Realized volatility forecasting and market microstructure noise," Journal of Econometrics, Elsevier, vol. 160(1), pages 220-234, January.
    12. 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.
    13. Andersen, Torben G & Bollerslev, Tim, 1998. "Answering the Skeptics: Yes, Standard Volatility Models Do Provide Accurate Forecasts," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(4), pages 885-905, November.
    14. F. M. Bandi & J. R. Russell, 2008. "Microstructure Noise, Realized Variance, and Optimal Sampling," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 75(2), pages 339-369.
    15. Barbara Rossi & Atsushi Inoue, 2012. "Out-of-Sample Forecast Tests Robust to the Choice of Window Size," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 30(3), pages 432-453, April.
    16. Jiang, Wei & Tang, Wanqing & Liu, Xiao, 2023. "Forecasting realized volatility of Chinese crude oil futures with a new secondary decomposition ensemble learning approach," Finance Research Letters, Elsevier, vol. 57(C).
    17. Patton, Andrew J., 2011. "Volatility forecast comparison using imperfect volatility proxies," Journal of Econometrics, Elsevier, vol. 160(1), pages 246-256, January.
    18. O. E. Barndorff-Nielsen & P. Reinhard Hansen & A. Lunde & N. Shephard, 2009. "Realized kernels in practice: trades and quotes," Econometrics Journal, Royal Economic Society, vol. 12(3), pages 1-32, November.
    19. David E. Rapach & Jack K. Strauss & Guofu Zhou, 2010. "Out-of-Sample Equity Premium Prediction: Combination Forecasts and Links to the Real Economy," The Review of Financial Studies, Society for Financial Studies, vol. 23(2), pages 821-862, February.
    20. Mengxi He & Yaojie Zhang & Danyan Wen & Yudong Wang, 2022. "Forecasting the Chinese stock market volatility: A regression approach with a t-distributed error," Applied Economics, Taylor & Francis Journals, vol. 54(50), pages 5811-5826, October.
    21. Bollerslev, Tim & Patton, Andrew J. & Quaedvlieg, Rogier, 2016. "Exploiting the errors: A simple approach for improved volatility forecasting," Journal of Econometrics, Elsevier, vol. 192(1), pages 1-18.
    22. 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.
    23. Andrew J. Patton & Kevin Sheppard, 2015. "Good Volatility, Bad Volatility: Signed Jumps and The Persistence of Volatility," The Review of Economics and Statistics, MIT Press, vol. 97(3), pages 683-697, July.
    24. repec:hal:journl:peer-00741630 is not listed on IDEAS
    25. 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.
    26. Ma, Feng & Wahab, M.I.M. & Huang, Dengshi & Xu, Weiju, 2017. "Forecasting the realized volatility of the oil futures market: A regime switching approach," Energy Economics, Elsevier, vol. 67(C), pages 136-145.
    27. 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.
    28. Ghysels, Eric & Santa-Clara, Pedro & Valkanov, Rossen, 2006. "Predicting volatility: getting the most out of return data sampled at different frequencies," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 59-95.
    29. Buncic, Daniel & Gisler, Katja I.M., 2017. "The role of jumps and leverage in forecasting volatility in international equity markets," Journal of International Money and Finance, Elsevier, vol. 79(C), pages 1-19.
    30. Zhang, Yaojie & Wang, Yudong, 2023. "Forecasting crude oil futures market returns: A principal component analysis combination approach," International Journal of Forecasting, Elsevier, vol. 39(2), pages 659-673.
    31. Wang, Yudong & Ma, Feng & Wei, Yu & Wu, Chongfeng, 2016. "Forecasting realized volatility in a changing world: A dynamic model averaging approach," Journal of Banking & Finance, Elsevier, vol. 64(C), pages 136-149.
    32. Chao Liang & Yu Wei & Yaojie Zhang, 2020. "Is implied volatility more informative for forecasting realized volatility: An international perspective," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(8), pages 1253-1276, December.
    33. 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.
    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. Ma, Feng & Wahab, M.I.M. & Zhang, Yaojie, 2019. "Forecasting the U.S. stock volatility: An aligned jump index from G7 stock markets," Pacific-Basin Finance Journal, Elsevier, vol. 54(C), pages 132-146.
    2. 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.
    3. Yuqing Feng & Yaojie Zhang & Yudong Wang, 2024. "Out‐of‐sample volatility prediction: Rolling window, expanding window, or both?," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(3), pages 567-582, April.
    4. 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.
    5. Zhang, Yaojie & Lei, Likun & Wei, Yu, 2020. "Forecasting the Chinese stock market volatility with international market volatilities: The role of regime switching," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    6. Yaojie Zhang & Yudong Wang & Feng Ma & Yu Wei, 2022. "To jump or not to jump: momentum of jumps in crude oil price volatility prediction," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-31, December.
    7. Chao Liang & Yan Li & Feng Ma & Yaojie Zhang, 2022. "Forecasting international equity market volatility: A new approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(7), pages 1433-1457, November.
    8. Yi, Yongsheng & He, Mengxi & Zhang, Yaojie, 2022. "Out-of-sample prediction of Bitcoin realized volatility: Do other cryptocurrencies help?," The North American Journal of Economics and Finance, Elsevier, vol. 62(C).
    9. Yaojie Zhang & Yudong Wang & Feng Ma, 2021. "Forecasting US stock market volatility: How to use international volatility information," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(5), pages 733-768, August.
    10. Yaojie Zhang & Mengxi He & Danyan Wen & Yudong Wang, 2022. "Forecasting Bitcoin volatility: A new insight from the threshold regression model," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(3), pages 633-652, April.
    11. Zhang, Yaojie & Ma, Feng & Liao, Yin, 2020. "Forecasting global equity market volatilities," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1454-1475.
    12. 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.
    13. 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.
    14. Chao Liang & Yu Wei & Yaojie Zhang, 2020. "Is implied volatility more informative for forecasting realized volatility: An international perspective," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(8), pages 1253-1276, December.
    15. 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.
    16. Jin, Daxiang & He, Mengxi & Xing, Lu & Zhang, Yaojie, 2022. "Forecasting China's crude oil futures volatility: How to dig out the information of other energy futures volatilities?," Resources Policy, Elsevier, vol. 78(C).
    17. Liu, Jing & Ma, Feng & Yang, Ke & Zhang, Yaojie, 2018. "Forecasting the oil futures price volatility: Large jumps and small jumps," Energy Economics, Elsevier, vol. 72(C), pages 321-330.
    18. Ma, Feng & Li, Yu & Liu, Li & Zhang, Yaojie, 2018. "Are low-frequency data really uninformative? A forecasting combination perspective," The North American Journal of Economics and Finance, Elsevier, vol. 44(C), pages 92-108.
    19. He, Mengxi & Wen, Danyan & Xing, Lu & Zhang, Yaojie, 2024. "Industry volatility concentration and the predictability of aggregate stock market volatility," International Review of Economics & Finance, Elsevier, vol. 95(C).
    20. Yusui Tang & Feng Ma & Yaojie Zhang & Yu Wei, 2022. "Forecasting the oil price realized volatility: A multivariate heterogeneous autoregressive model," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(4), pages 4770-4783, October.

    More about this item

    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:wly:jforec:v:44:y:2025:i:2:p:692-705. 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: Wiley Content Delivery (email available below). General contact details of provider: http://www3.interscience.wiley.com/cgi-bin/jhome/2966 .

    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.