Abstract
Estimating and predicting volatility in time series is of great importance in different areas where it is required to quantify risk based on variability and uncertainty. This work proposes a new methodology to predict Time Series volatility by combining Generalized AutoRegressive Conditional Heteroscedasticity (GARCH) methods with Deep Neural Networks. Additionally, the proposal incorporates a mechanism to determine the optimal size of the sliding window used to estimate volatility. In this work, the recurrent neural networks Gated Recurrent Units, Long/Short-Term Memory (LSTM), and Bidirectional Long/Short-Term Memory (BiLSTM) are evaluated with the methods of the family Garch (fGARCH). We conducted Monte Carlo simulation studies with heteroscedastic time series to validate our proposed methodology. Moreover, we have applied the proposed method to real financial data from the stock market, such as the Selective Stock Price Index Chile index, Standard & Poor’s 500 Index (S &P500), and the prices of the Stock Exchange from Australia (ASX200). The proposed methodology performs well in predicting the stock options returns volatility one week ahead.
Similar content being viewed by others
References
Allende H, Moraga C, Salas R (2002) Artificial neural networks in time series forecasting: a comparative analysis. Kybernetika 38(6):685–707
Allende H, Nanculef R, Salas R (2004) Robust bootstrapping neural networks. In: Monroy R, Arroyo-Figueroa G, Sucar LE, Sossa H (eds) MICAI 2004: advances in artificial intelligence. Springer, Berlin, Heidelberg, pp 813–822
Baruník J, Křehlík T (2016) Combining high frequency data with non-linear models for forecasting energy market volatility. Expert Syst Appl 55:222–242. https://doi.org/10.1016/j.eswa.2016.02.008
Bollerslev T (1986) Generalized autoregressive conditional heteroskedasticity. J Econometr 31(3):307–327. https://doi.org/10.1016/0304-4076(86)90063-1
Chen K, Zhou Y, Dai F (2015) A lstm-based method for stock returns prediction: a case study of China stock market. In: 2015 IEEE international conference on big data (big data), IEEE, pp 2823–2824, https://doi.org/10.1109/BigData.2015.7364089
Cho K, Van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y (2014) Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078 https://arxiv.org/abs/1406.1078
Cordova C, Portocarrero M, Salas R, Torres R, Canas P, Linkolk J (2021) Air quality assessment and pollution forecasting using artificial neural networks in metropolitan Lima-Peru. Sci Rep 11(1):1–19. https://doi.org/10.1038/s41598-021-03650-9
Encalada A, Cochachi J, Canas P, Salas R, Linkolk J (2021) A spatio-temporal visualization approach of pm10 concentration data in metropolitan Lima. Atmosphere 12(5):609. https://doi.org/10.3390/atmos12050609
Engle R, Bollerslev T (1986) Modelling the persistence of conditional variances. Econometr Rev 5(1):1–50. https://doi.org/10.1080/07474938608800095
Engle RF (1982) Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica 50(4):987–1007. https://doi.org/10.2307/1912773
Flandrin P, Rilling G, Goncalves P (2004) Empirical mode decomposition as a filter bank. IEEE Signal Process Lett 11(2):112–114. https://doi.org/10.1109/LSP.2003.821662
Gonzalez F, Burgess N (1997) Modelling market volatilities: the neural network perspective. Eur J Finance 3(2):137–157. https://doi.org/10.1080/135184797337499
Graves A, Schmidhuber J (2005) Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Netw 18(5–6):602–610. https://doi.org/10.1016/j.neunet.2005.06.042
Hajizadeh E, Seifi A, Zarandi M, Turksen I (2012) A hybrid modeling approach for forecasting the volatility of S &P 500 index return. Expert Syst Appl 39(1):431–436. https://doi.org/10.1016/j.eswa.2011.07.033
Hamid SA, Iqbal Z (2004) Using neural networks for forecasting volatility of S &P 500 index futures prices. J Bus Res 57(10):1116–1125. https://doi.org/10.1016/S0148-2963(03)00043-2
He C, Teräsvirta T (1999) Properties of moments of a family of GARCH processes. J Econometr 92(1):173–192. https://doi.org/10.1016/S0304-4076(98)00089-X
Hentschel L (1995) All in the family nesting symmetric and asymmetric GARCH models. J Financial Econ 39(1):71–104. https://doi.org/10.1016/0304-405X(94)00821-H
Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
Hosszejni D, Kastner G (2019) Modeling univariate and multivariate stochastic volatility in R with stochvol and factorstochvol. arXiv preprint arXiv:1906.12123 https://arxiv.org/abs/1906.12123
Huang NE (2014) Introduction to the Hilbert-Huang transform and its related mathematical problems. Hilbert-Huang transform and its applications. World Scientific, Singapore, pp 1–26
Kristjanpoller W, Fadic A, Minutolo M (2014) Volatility forecast using hybrid neural network models. Expert Syst Appl 41(5):2437–2442. https://doi.org/10.1016/j.eswa.2013.09.043
Longerstaey J, Spencer M (1996) Riskmetricstm-technical document. Morgan Guaranty Trust Company of New York 51:54, https://my.liuc.it/MatSup/2006/F85555/rmtd.pdf
Luo R, Zhang W, Xu X, Wang J (2018) A neural stochastic volatility model. In: proceedings of the AAAI conference on artificial intelligence, vol 32, https://doi.org/10.1145/3483596
Maknickiene N, Maknickas A (2012) Application of neural network for forecasting of exchange rates and forex trading. In: The 7th international scientific conference" Business and Management, pp 10–11, https://doi.org/10.3846/bm.2012.017
Mandelbrot B (1967) The variation of some other speculative prices. J Bus 40(4):393–413. https://doi.org/10.1086/295006
Morales Y, Querales M, Rosas H, Allende-Cid H, Salas R (2021) A self-identification neuro-fuzzy inference framework for modeling rainfall-runoff in a Chilean watershed. J Hydrol 594:125910. https://doi.org/10.1016/j.jhydrol.2020.125910
Nelson D (1991) Conditional heteroskedasticity in asset returns: a new approach. Econometr J Econometr Soc. https://doi.org/10.2307/2938260
Nicolis O, Plaza F, Salas R (2021) Prediction of intensity and location of seismic events using deep learning. Spatial Stat 42:100442. https://doi.org/10.1016/j.spasta.2020.100442
Oliveira N, Cortez P, Areal N (2017) The impact of microblogging data for stock market prediction: using twitter to predict returns, volatility, trading volume and survey sentiment indices. Expert Syst Appl 73:125–144. https://doi.org/10.1016/j.eswa.2016.12.036
Ormoneit D, Neuneier R (1996) Experiments in predicting the german stock index dax with density estimating neural networks. In: IEEE/IAFE 1996 conference on computational intelligence for financial engineering (CIFEr), IEEE, pp 66–71, https://doi.org/10.1109/CIFER.1996.501825
Poon S, Granger C (2003) Forecasting volatility in financial markets: a review. J Econ Lit 41(2):478–539. https://doi.org/10.1257/002205103765762743
Torres R, Solis MA, Salas R, Bariviera A (2020) A dynamic linguistic decision making approach for a cryptocurrency investment scenario. IEEE Access 8:228514–228524. https://doi.org/10.1109/ACCESS.2020.3045923
Vivas E, Allende-Cid H, Salas R (2020) A systematic review of statistical and machine learning methods for electrical power forecasting with reported mape score. Entropy 22(12):1412. https://doi.org/10.3390/e22121412
Zakoian J (1994) Threshold heteroskedastic models. J Econ Dyn Control 18(5):931–955. https://doi.org/10.1016/0165-1889(94)90039-6
Zhuang X, Yang Z, Mishra V, Sreenivasan K, Bernick C, Cordes D (2020) Single-scale time-dependent window-sizes in sliding-window dynamic functional connectivity analysis: a validation study. NeuroImage 220:117111. https://doi.org/10.1016/j.neuroimage.2020.117111
Acknowledgements
The authors acknowledge the support given by Chilean ANID FONDECYT grant number 1221938. Special thanks to Dr. Martin Hoehmann Metzler (martin.hoemann@uv.cl) whose invaluable health service has made this work possible.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Di-Giorgi, G., Salas, R., Avaria, R. et al. Volatility forecasting using deep recurrent neural networks as GARCH models. Comput Stat (2023). https://doi.org/10.1007/s00180-023-01349-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00180-023-01349-1