IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i17p3190-d906266.html
   My bibliography  Save this article

Forecasting the Volatility of Cryptocurrencies in the Presence of COVID-19 with the State Space Model and Kalman Filter

Author

Listed:
  • Shafiqah Azman

    (Institute of Mathematical Sciences, Faculty of Science, Universiti Malaya, Kuala Lumpur 50603, Malaysia)

  • Dharini Pathmanathan

    (Institute of Mathematical Sciences, Faculty of Science, Universiti Malaya, Kuala Lumpur 50603, Malaysia)

  • Aerambamoorthy Thavaneswaran

    (Department of Statistics, University of Manitoba, Winnipeg, MB R3T 2N2, Canada)

Abstract

During the COVID-19 pandemic, cryptocurrency prices showed abnormal volatility that attracted the participation of many investors. Studying the behaviour of volatility for the prices of cryptocurrency is an interesting problem to be investigated. This research implements the state space model framework for volatility incorporating the Kalman filter. This method directly forecasts the conditional volatility of five cryptocurrency prices (Bitcoin (BTC), Ethereum (ETH), Ripple (XRP), Litecoin (LTC) and Bitcoin Cash (BCH)) for 10,000 consecutive hours, i.e., approximately 417 days during the COVID-19 pandemic from 26 February 2020, 00:00 h until 18 April 2021, 00:00 h. The performance of this model is compared to the GARCH (1,1) model and the neural network autoregressive (NNAR) based on root mean square error (RMSE), mean absolute error (MAE) and the volatility plot. The autocorrelation function plot, histogram and the residuals plot are used to examine the model adequacy. Among the three models, the state space model gives the best fit. The state space model gives the narrowest confidence interval of volatility and value-at-risk forecasts among the three models.

Suggested Citation

  • Shafiqah Azman & Dharini Pathmanathan & Aerambamoorthy Thavaneswaran, 2022. "Forecasting the Volatility of Cryptocurrencies in the Presence of COVID-19 with the State Space Model and Kalman Filter," Mathematics, MDPI, vol. 10(17), pages 1-15, September.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:17:p:3190-:d:906266
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/17/3190/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/17/3190/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Helske, Jouni, 2017. "KFAS: Exponential Family State Space Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 78(i10).
    2. Christian Jaag & Christian Bach, 2017. "Blockchain Technology and Cryptocurrencies: Opportunities for Postal Financial Services," Topics in Regulatory Economics and Policy, in: Michael Crew & Pier Luigi Parcu & Timothy Brennan (ed.), The Changing Postal and Delivery Sector, pages 205-221, Springer.
    3. Kwiatkowski, Denis & Phillips, Peter C. B. & Schmidt, Peter & Shin, Yongcheol, 1992. "Testing the null hypothesis of stationarity against the alternative of a unit root : How sure are we that economic time series have a unit root?," Journal of Econometrics, Elsevier, vol. 54(1-3), pages 159-178.
    4. G. R. Jafari & A. Bahraminasab & P. Norouzzadeh, 2007. "Why Does The Standard Garch(1, 1) Model Work Well?," International Journal of Modern Physics C (IJMPC), World Scientific Publishing Co. Pte. Ltd., vol. 18(07), pages 1223-1230.
    5. Mnif, Emna & Jarboui, Anis & Mouakhar, Khaireddine, 2020. "How the cryptocurrency market has performed during COVID 19? A multifractal analysis," Finance Research Letters, Elsevier, vol. 36(C).
    6. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    7. Ewees, Ahmed A. & Elaziz, Mohamed Abd & Alameer, Zakaria & Ye, Haiwang & Jianhua, Zhang, 2020. "Improving multilayer perceptron neural network using chaotic grasshopper optimization algorithm to forecast iron ore price volatility," Resources Policy, Elsevier, vol. 65(C).
    8. Safari, Ali & Davallou, Maryam, 2018. "Oil price forecasting using a hybrid model," Energy, Elsevier, vol. 148(C), pages 49-58.
    9. Hu, Yan & Ni, Jian & Wen, Liu, 2020. "A hybrid deep learning approach by integrating LSTM-ANN networks with GARCH model for copper price volatility prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 557(C).
    10. Jesse Yli-Huumo & Deokyoon Ko & Sujin Choi & Sooyong Park & Kari Smolander, 2016. "Where Is Current Research on Blockchain Technology?—A Systematic Review," PLOS ONE, Public Library of Science, vol. 11(10), pages 1-27, October.
    11. Durbin, James & Koopman, Siem Jan, 2012. "Time Series Analysis by State Space Methods," OUP Catalogue, Oxford University Press, edition 2, number 9780199641178.
    12. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    13. Hyndman, Rob J. & Khandakar, Yeasmin, 2008. "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i03).
    14. Ivan Svetunkov & John E. Boylan, 2020. "State-space ARIMA for supply-chain forecasting," International Journal of Production Research, Taylor & Francis Journals, vol. 58(3), pages 818-827, February.
    15. Aerambamoorthy Thavaneswaran & Alex Paseka & Julieta Frank, 2020. "Generalized value at risk forecasting," Communications in Statistics - Theory and Methods, Taylor & Francis Journals, vol. 49(20), pages 4988-4995, October.
    16. Umar, Zaghum & Gubareva, Mariya, 2020. "A time–frequency analysis of the impact of the Covid-19 induced panic on the volatility of currency and cryptocurrency markets," Journal of Behavioral and Experimental Finance, Elsevier, vol. 28(C).
    17. Jong-Min Kim & Chulhee Jun & Junyoup Lee, 2021. "Forecasting the Volatility of the Cryptocurrency Market by GARCH and Stochastic Volatility," Mathematics, MDPI, vol. 9(14), pages 1-16, July.
    18. Montasser, Ghassen El & Charfeddine, Lanouar & Benhamed, Adel, 2022. "COVID-19, cryptocurrencies bubbles and digital market efficiency: sensitivity and similarity analysis," Finance Research Letters, Elsevier, vol. 46(PA).
    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. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    2. Harvey,Andrew C., 2013. "Dynamic Models for Volatility and Heavy Tails," Cambridge Books, Cambridge University Press, number 9781107034723.
    3. Deb, Prokash & Dey, Madan M. & Surathkal, Prasanna, 2021. "Fish Price Volatility Dynamics in Bangladesh," 2021 Annual Meeting, August 1-3, Austin, Texas 314077, Agricultural and Applied Economics Association.
    4. C.S. Bos & S.J. Koopman & M. Ooms, 2007. "Long Memory Modelling of Inflation with Stochastic Variance and Structural Breaks," Tinbergen Institute Discussion Papers 07-099/4, Tinbergen Institute.
    5. Ioannis Papageorgiou & Ioannis Kontoyiannis, 2023. "The Bayesian Context Trees State Space Model for time series modelling and forecasting," Papers 2308.00913, arXiv.org, revised Oct 2023.
    6. Zeynel Abidin Ozdemir, 2010. "Dynamics Of Inflation, Output Growth And Their Uncertainty In The Uk: An Empirical Analysis," Manchester School, University of Manchester, vol. 78(6), pages 511-537, December.
    7. Eleni Constantinou & Robert Georgiades & Avo Kazandjian & George Kouretas, 2005. "Mean and variance causality between the Cyprus Stock Exchange and major equity markets," Working Papers 0501, University of Crete, Department of Economics.
    8. Broto Carmen & Ruiz Esther, 2009. "Testing for Conditional Heteroscedasticity in the Components of Inflation," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 13(2), pages 1-30, May.
    9. Joshua Chan & Arnaud Doucet & Roberto León-González & Rodney W. Strachan, 2018. "Multivariate Stochastic Volatility with Co-Heteroscedasticity," Working Paper series 18-38, Rimini Centre for Economic Analysis.
    10. Kyungsub Lee, 2022. "Application of Hawkes volatility in the observation of filtered high-frequency price process in tick structures," Papers 2207.05939, arXiv.org.
    11. Ben Tims & Ronald Mahieu, 2006. "A Range-Based Multivariate Stochastic Volatility Model for Exchange Rates," Econometric Reviews, Taylor & Francis Journals, vol. 25(2-3), pages 409-424.
    12. Pami Dua & Nishita Raje & Satyananda Sahoo, 2004. "Interest Rate Modeling and Forecasting in India," Occasional papers 3, Centre for Development Economics, Delhi School of Economics.
    13. Siem Jan Koopman & André Lucas & Marcel Scharth, 2016. "Predicting Time-Varying Parameters with Parameter-Driven and Observation-Driven Models," The Review of Economics and Statistics, MIT Press, vol. 98(1), pages 97-110, March.
    14. Mohammadi, M. & Rezakhah, S. & Modarresi, N., 2020. "Semi-Lévy driven continuous-time GARCH process," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 557(C).
    15. Hyndman, Rob J. & Khandakar, Yeasmin, 2008. "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i03).
    16. Hungnes Håvard, 2015. "Testing for co-nonlinearity," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 19(3), pages 339-353, June.
    17. Alizadeh, Amir H. & Tamvakis, Michael, 2016. "Market conditions, trader types and price–volume relation in energy futures markets," Energy Economics, Elsevier, vol. 56(C), pages 134-149.
    18. Efimova, Olga & Serletis, Apostolos, 2014. "Energy markets volatility modelling using GARCH," Energy Economics, Elsevier, vol. 43(C), pages 264-273.
    19. Serdar Neslihanoglu, 2021. "Linearity extensions of the market model: a case of the top 10 cryptocurrency prices during the pre-COVID-19 and COVID-19 periods," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-27, December.
    20. Koopman, Siem Jan & Jungbacker, Borus & Hol, Eugenie, 2005. "Forecasting daily variability of the S&P 100 stock index using historical, realised and implied volatility measurements," Journal of Empirical Finance, Elsevier, vol. 12(3), pages 445-475, June.

    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:jmathe:v:10:y:2022:i:17:p:3190-:d:906266. 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.