Next Article in Journal
A Comparative Ranking Model among Mexican Universities Using Pattern Recognition
Next Article in Special Issue
Blockchain Technology for Secure Accounting Management: Research Trends Analysis
Previous Article in Journal
Adaptive Fault Estimation for Hyperbolic PDEs
Previous Article in Special Issue
Deep Learning-Based Survival Analysis for High-Dimensional Survival Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting the Volatility of the Cryptocurrency Market by GARCH and Stochastic Volatility

1
Division of Science and Mathematics, University of Minnesota-Morris, Morris, MN 56267, USA
2
Department of Finance, Bloomsburg University of Pennsylvania, Bloomsburg, PA 17815, USA
3
School of Business Administration, Ulsan National Institute of Science and Technology, Ulsan 44919, Korea
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(14), 1614; https://doi.org/10.3390/math9141614
Submission received: 16 June 2021 / Revised: 30 June 2021 / Accepted: 5 July 2021 / Published: 8 July 2021

Abstract

:
This study examines the volatility of nine leading cryptocurrencies by market capitalization—Bitcoin, XRP, Ethereum, Bitcoin Cash, Stellar, Litecoin, TRON, Cardano, and IOTA-by using a Bayesian Stochastic Volatility (SV) model and several GARCH models. We find that when we deal with extremely volatile financial data, such as cryptocurrencies, the SV model performs better than the GARCH family models. Moreover, the forecasting errors of the SV model, compared with the GARCH models, tend to be more accurate as forecast time horizons are longer. This deepens our insight into volatility forecast models in the complex market of cryptocurrencies.

1. Introduction

Understanding the relationships among cryptocurrencies is important for policymakers whose role is to maintain the stability of financial markets as well as for investors whose investment portfolios contain a portion of cryptocurrencies. Cryptocurrency is a non-centralized digital currency that is exchanged between peers without the need of a central government. Bitcoin [1,2], which was the first cryptocurrency, operates with block chain technology with a system of recording information in a way that makes it difficult or impossible to change, hack, or cheat the system. Because the prices of cryptocurrencies have been increased such as speculative investment purposes and/or a digital asset for real use, they have received growing attention from the media, academics, and the finance industry. Since the inception of Bitcoin in 2009, over several thousand alternative digital currencies have been developed, and there have been a number of studies on the analysis of the exchange rates of cryptocurrency [3]. The degree of the return volatility has been regarded as a crucial characteristic of cryptocurrencies for investors including them in their portfolio. The prices of Bitcoin and Ethereum have been rapidly increased so that the last one-year price of Bitcoin was an almost 400 percent increase to USD 40,406 on 15 June 2021 from USD 9451 on 15 June 2020. Since [4,5], empirical investigations of Bitcoin showed that Bitcoin is more characteristic of an asset rather than a currency, and Bitcoin also possesses risk management and hedging capabilities [6]. In order to predict the exchange rates of the Bitcoin electronic currency against the US Dollar, ref. [7] proposed a non-causal autoregressive process with Cauchy errors. The volatility of Bitcoin using monthly return series is higher than that of gold or some foreign currencies in dollars [8].
A number of academic studies have investigated the factors influencing the price and volatility of cryptocurrencies ([9,10,11,12]). Especially, GARCH family models are employed to estimate the time-varying volatility of cryptocurrencies. Ref. [13] proposed the AR-CGARCH model to estimate the volatility of Bitcoin by comparing GARCH models. Ref. [14] looked at the tail behavior of returns of the five major cryptocurrencies (Bitcoin, Ethereum, Ripple, Bitcoin Cash, and Litecoin), using extreme value analysis and estimating VaR and ES as tail risk measures. They found that Bitcoin Cash is the riskiest, while Bitcoin and Litecoin are the least risky cryptocurrencies. Ref. [15] examined more than 1000 GARCH models and suggest the best fitted GARCH model chosen by back-testing VaR and ES as well as an MCS procedure. They claim that standard GARCH models may result in incorrect predictions and could be improved by allowing asymmetries and regime switching. Ref. [16] employs the BEKK GARCH model to estimate time-varying conditional correlations between gold and Bitcoin.
For the volatility, previous studies have employed a variation of GARCH models, while little attention has been paid to methods outside the GARCH family. Refs. [17,18], examples of a few papers in this area, examine the volatility of cryptocurrencies by hiring the stochastic volatility model and finding out that the use of fast-moving autocorrelation function captures the volatility of cryptocurrencies better than smoothly decaying functions. This study sheds light on other statistical methods for better out-of-sample forecasting power, in particular, the SV model. Instead of using traditional approaches to interpret the association and/or causality among the cryptocurrencies, we use the approaches (SV method) described above because of several advantages. First, financial asset returns are generally fat-tailed and have negative skewness, and the residuals obtained from traditional time series analysis such as GARCH and/or VAR may be contaminated by other explainable portions of the volatility of the return series. Second, it is common that financial time series volatility is correlated in a non-Gaussian way. Lastly, because of the occurrence of extreme observations and the complex structure of the dependence among asset returns, traditional approaches often fail to incorporate the influences of asymmetries in individual distributions and in dependence. A copula function introduces a function linking univariate marginal to their multivariate distribution ([19]).
This study contributes to the literature by highlighting the SV model, which shows superior forecasting accuracy compared with GARCH family models studied in prior studies. The SV considers two error processes, but the GARCH model considers a single error term so that the SV model makes a better in-sample fit. The adoption of cryptocurrencies as an alternative investment asset by institutional investors, such as hedge fund investors, has increased significantly in recent years. The cryptocurrency market, which has shown higher volatility than any other assets in the financial market, requires a significant level of risk management from institutional investors and individuals that incorporate them into their investment portfolios. The excellence of forecasting power in our SV model provides implications that it can be used as a better risk management tool than other GARCH family models. Moreover, the forecasting errors of the SV model, compared with the GARCH models, tend to be more accurate as forecast time horizons are longer. Another contribution of our paper to the literature is, rather, to pay attention to the forecasting power of volatility models using cryptocurrency data than measure volatility itself. Finally, by hiring principal component analysis (PCA), this study examines whether a smaller number of factors are able to explain the variation of a large set of cryptocurrencies. This approach may shed light on which group of cryptocurrencies mainly drives the variation of the daily log-return of cryptocurrencies used in the paper. As the crypto market has been gradually accepted into the mainstream of financial markets, the accurate prediction of cryptocurrency return volatility is in more demand by market participants, financial institutions, and government agencies. The approach used in this study sheds light on what models are examined for a more accurate estimate of cryptocurrency volatility.
This paper is organized as follows. Section 2 gives an overview of the existing volatility models, that is, the GARCH and SV methods. Section 3 presents the data analysis and the discussion and conclusion follow in Section 4 and Section 5, respectively.

2. Materials and Methods

In Section 2, we introduce the two different traditional volatility models used in this study to compare the relative efficiency of the models we used. Our study conducts the SV model to forecast unobserved volatility in financial economics; however, there is another class of models that is frequently used. Refs. [20,21] develop the autoregressive conditional heteroscedasticity (ARCH) and generalized ARCH (GARCH) models, respectively. We employ GARCH (1,1) with constant in Mean, Threshold-GARCH (TGARCH) and the Integrated GARCH (IGARCH) models among the family of the GARCH models. The standard GARCH model assumes that positive and negative error terms have a symmetric effect on volatility. It means that good and bad news have the same effect on the volatility in the standard GARCH model. However, this assumption is easily violated in the financial stock market, in that the negative change in the stock market has a bigger effect on the volatility index than a positive change, or vice-versa. Ref. [22] called it a leverage effect. As such, the asymmetric GARCH models were developed for accommodating a leverage effect. The SV model allows for two error processes, while the GARCH model considers a single error term. Therefore, the SV model makes a better in-sample fit ([23]) and thus could provide a better forecast whereas it potentially involves a heavy computational burden.

2.1. GARCH Models

For a log return series r t = l o g ( S t S t 1 ) , we let a t = r t E t 1 [ r t ] be the innovation at time t. All members of the family of GARCH models are obtained from a transformation of the conditional standard deviation, σ t , determined by the transformation f () of the innovations, a t , and lagged transformed conditional standard deviations. In particular, we employee three transformation models (GARCH, IGARCH, and TGARCH). An extensive discussion on the nested GARCH models is given in [7].
The mean model is chosen to have ARMA(0,0), and we include a mean-constant so that we let r t = μ + ϵ t be the innovation at time t where µ is a mean constant. For a log return series, we let a t = r t E t 1 [ r t ] be the innovation at time t. Then a t follows a GARCH (p,q) with constant in mean model if
a t = h t e t
h t = α 0 + i = 1 q α i a t i 2 + i = 1 p β i h t i
where α 0 > 0 ,     α i 0 ,   β i 0 , and e t   ~ t-Student distribution, which is explained by its 3 parameters, which are the location, scale and shape parameters in Equation (25) from [24]. The GARCH (p,q) model is stationary with a finite variance if i = 1 q α i + i = 1 p β i 1 . Furthermore, if i = 1 q α i + i = 1 p β i = 1 , then the GARCH (p,q) process is called IGARCH model [25] which is either non-stationary or have an infinite variance. In order to model persistence of higher volatility, we need an IGARCH (p,q) model with q ≥ 1. The TGARCH model [26] captures the asymmetric effect in the volatility is given by
h t = α 0 + i = 1 q α i ( | a t i | η i a t i ) + i = 1 p β i h t i
where the coefficient in the leverage term η i satisfies the condition −1 < η i < 1.
For the model selection of the GARCH ((p = 1) and (q = 1)) models considered, we used the Akaike Information Criterion (AIC). In addition, this study also considered the t-Student errors to take into account the possible fatness of the distribution tails of e t .

2.2. Stochastic Volatility Model

In the standard SV model framework [27,28], the data returns, r, that are generated from a probability model f ( r | g ) , where g is a vector of volatilities, and this unobserved vector g has a probabilistic structure f ( r | θ ) , where θ is a vector of parameters (see [23,29,30] for details). In the standard form of the model, volatility is modeled as a Gaussian first-order linear autoregressive (AR(1)) process with mean µ in terms of a series of white innovations {Et} as follows;
g t μ = ϕ ( g t 1 μ ) + E t
where E t i i d   N ( 0 ,   h η ) , independent and identically distributed (iid) as normal, and   | ϕ | < 1. A useful feature of Gaussian AR(1) processes is that the marginal distribution is also normal so that
g 0 ~ N ( μ ,   h η 1 ϕ 2 )
and the returns are given by
r t = β exp ( g t 2 ) e t ,         e t ~ i i d   N ( 0 , 1 )
where { e t } are independent and identically distributed (iid) as standard normal distribution. We denote pt to be spot price of a financial asset at time t and its one-period return is defined as r t = l n ( P t P t 1 ) . Let r = ( r 1 , r 2 , ,   r n ) T be a vector of returns with mean zero. The SV model is that each observation rt is assumed to have its own contemporaneous variance exp( g t /2) = h t which becomes g t = ln h t . The exp( g t ) is defined as the latent, time-varying volatility that follows a stochastic evolution. The SV model in this paper is given through:
r t | g t ~   N ( 0 , exp ( g t ) )
g t | g t 1 ,     μ ,   ϕ ,   σ η ~   N ( μ + ϕ ( g t 1 μ ) , h η )
g 0 |     μ ,   ϕ ,   h η ~   N ( μ , h η 1 ϕ 2 )
where θ = ( μ ,   ϕ ,   h η ) is a vector of parameters so that µ is the level of log-variance, φ is the persistence of log-variance, and ση is the volatility of log-variance. The initial state g 0 is distributed according to the stationary distribution of the autoregressive process of order one.
Following [29,31] specifies a prior distribution for the parameter vector θ choosing independent components for each parameter, p ( θ ) = p ( μ ) p ( ϕ ) p ( h η ) where µ follows the usual normal prior μ   ~   N ( b μ ,   B μ ) . Ref. [32] notes that the prior of µ is usually chosen to be rather uninformative, e.g., through setting b μ = 0 and B μ 100   for daily log returns. The persistence parameter ϕ ~   ( 1 ,   1 ) is chosen so that ( ϕ + 1 ) / 2 follows the beta distribution B(α, β), implying
p ( ϕ ) = 1 2 B ( α ,   β ) ( 1 + ϕ 2 ) α 1 ( 1 ϕ 2 ) β 1
where α and β are positive hyperparameters and B ( α , β ) = 0 1 t α 1 ( 1 t ) β 1 d t . It is obvious that the autoregressive volatility process is stationary because the support of the beta distribution is the interval (−1,1). Its expected value and variance are
E ( ϕ ) = 2 α α + β 1   a n d   V ( ϕ ) = 4 α β ( α + β ) 2 ( α + β 1 )
ref. [31] chooses   h η , the volatility of log-variance, such that h η follows the hyperparameter B σ η multiplied by χ 2 ( d f = 1 ) . In Section 2.3, we will compare the volatility forecast predictabilities of the models introduced in Section 2.1 and Section 2.2.

2.3. Volatility Forecast Evaluation

In this subsection we carry out empirical exercise to measure predictive accuracy. The SV and GARCH models with observed returns is initially estimated by using our in-sample data. Forecasts are generated at horizons of 3, 5, 10, 20, 30, and 44 days. Then, our out-of-sample data are added to the sample, and the parameters of the model with an individual approach are estimated. The purpose of considering multiple forecast horizons is to see whether our new approach improves the predictive ability of a time series model at all horizons in a large sample. This is done by applying a common loss function which is a logarithmic version of mean square (prediction) error (MSE):
MSE k   1 n t = 1 n ( ln σ t 2 h t ) 2   ,       w h e r e     k = 1 ,   2
ht is the estimates of the conditional log-volatility. This loss function with mathematical simplicity is the popular measure to evaluate forecasting performance in the literature (e.g., [11]). We consider two alternative ex post proxies for the conditional volatility such that ln σ t 2 = r t 2   and ln σ t 2 = | r t |   which are noted as k = 1, 2, respectively. A smaller average loss is more accurate and, therefore, preferred.

3. Results

For volatility efficiency comparison, nine cryptocurrencies are applied to the models introduced in Section 2. Considering the sensitivity of the time period in predicting the volatility of financial time-series return data such as cryptocurrencies, we examine two different time periods, short-term and long-term periods. The sample consists of the daily log-returns of the nine cryptocurrencies over period 1 (19 August 2018 to 27 November 2018) and period 2 (2 January 2018 to 27 November 2018). The log-returns of Bitcoin (BTC), XRP (XRP), Ethereum (ETH), Bitcoin Cash (BCH), Stellar (XLM), Litecoin (LTC), TRON (TRX), Cardano (ADA), and IOTA (IOTA) are denoted by LBTC, LXRP, LETH, LBCH, LXLM, LLTC, LTRX, LADA, and LMIOTA, respectively. We obtain our data from a financial website (https://coinmarketcap.com/coins/) (accessed on 10 May 2020). Throughout the year of 2018, BTC’s price fluctuated from USD 17,527.00 (6 January 2018) to USD 3820.72 (27 November 2018). The cryptocurrency market had extremely high volatility during the period 2. However, during the second half of the year 2018 (period 1), BTC’s price did not fluctuate from USD 6308.53 (20 August 2018) to USD 3820.72 (27 November 2018) compared with period 2. We can say that the period 1 was low volatile time period and the period 2 was high volatile time period. It is good to perform the comparison of volatile forecasting with the GARCH models and SV model for two low and high volatile cryptocurrency data.
The data set consists of the daily historical prices and volumes of the nine cryptocurrencies. Figure 1 and Figure 2 present the plot of the daily prices of the nine cryptocurrencies. Figure 1 shows the scatterplots among the nine cryptocurrencies from August 2018 to November 2018 (period 1) and Figure 2 from January 2018 to November 2018 (period 2). According to the figures, each pair of cryptocurrencies studied addresses similar results, positive and relatively high correlation regardless of period. For the nine time series data analyses in this section, daily log-returns in percentage are defined as r t = 100 [ ln ( p t ) ln ( p t 1 ) ] .
Table 1 shows the summary statistics of the log returns of the nine cryptocurrencies. In general, they share the fat-tail distribution, one of the common characteristics found in the return series of financial assets. Based on the kurtosis statistics, the fat-tailed distribution is observed in all nine cryptocurrencies, though the degree of the fat-tail is quite different among them. One of the interesting observations is the change in kurtosis values between periods 1 and 2. In period 1, the values of the kurtosis of major cryptocurrencies, BTC, XRP, ETH, and BCH (the top 4 based on market capitalization), are higher than the other relatively small market-cap cryptocurrencies (XLM, LTC, TRX, ADA, and MIOTA). This phenomenon is reversed in period 2 where the small-cap cryptocurrencies generally have higher kurtosis values than the large-cap ones. It suggests that over the period of 2018 (period 1), small-cap cryptocurrencies tend to have more extreme daily returns on both directions which can be identified by the magnitude of their minimum and maximum returns in each period. When we focus on the recent data of period 1, however, this trend is reversed. The large-cap cryptocurrencies show higher kurtosis. As for the skewness, all the cryptocurrencies except XRP show lower skewness in the more recent period (period 1) while XRP displays even higher positive skewness. This is an interesting observation because most financial asset returns show a negative skewness. Only XRP has tended to the positively-skewed return series from the negatively-skewed ones while other cryptocurrencies have enhanced the magnitude of skewness in a negative direction. This might be explained by the fact that the most recent bull market period in the crypto market, late 2017 to early 2018, is covered in the data period, and the positive returns during the period dominate the negative returns before and after the bull market in terms of the magnitude. XRP, however, is off this trend. It has been observed that in the more recent period (period 2), a bear market, XRP is the only one which tends to have more extreme positive returns. This implies that the co- movement of XRP with the cryptocurrency market is lower than any other cryptocurrencies and thus its systematic risk in the cryptocurrency market would be low. It might, therefore, attract more attention from potential investors looking to build a market-portfolio in the cryptocurrency market.
Figure 3 and Figure 4 support the arguments by addressing boxplots of the cryptocurrencies in each period. All cryptocurrencies tend to have extreme log returns on both sides (high kurtosis) and in Figure 3, XRP shows the positively-skewed distribution in the more recent period (period 1). Panels A and B in Table 2 and Table 3 show the correlations of the nine cryptocurrencies for each period. We report both Pearson’s and Kendall’s correlation coefficients. Based on the Pearson’s correlation matrix, the magnitude of correlation coefficients tends to be higher toward to the recent period (from period 1 to 2) except in several pairs, especially XRP-related pairs (BTC-XRP from 0.68 to 0.54), which show lower magnitudes.
When we look into the results of the Kendall’s coefficients; however, the trends addressed in the Pearson’s results [33] show the opposite directions. Most correlation pairs in the Kendall’s coefficient table were lower from period 1 to 2 (the recent period). However, with regard to the seemingly contradictory direction between the two types of correlation coefficients we suggest that Kendall’s reflects the skewed and fat-tailed distribution feature of the return data of cryptocurrencies. Kendall’s correlation coefficients are the rank correlation, a non-parametric test that measures the strength of dependence between two variables, whereas Pearson’s are calculated based on the normality assumption. Principal component analysis (hereafter, PCA) is an effective multivariate statistical analysis technique for reducing the dimension of large data sets with minimal loss of information and extracting their structural features ([2]). It transforms a number of correlated variables into a series of linearly uncorrelated variables called principal components by projecting the observation results onto axes to capture the maximum amount of variability in the original data. The first principal component explains the largest possible variability of the original data, and each succeeding component in turn explains the highest variability under the constraint that it is orthogonal to the preceding components. PCA is optimal from the perspective of minimizing the square distance between the observed values in the input space and the mapped values in the low-dimensional subspace ([12]).
Table 4 shows the PCA [34] results for periods 1 and 2. The proportion of variance explained by the first principal component in period 1 is 81% whereas it is 75% in period 2. Figure 5 addresses the factor loadings of the first two main components in panels A and Band the three main components (panels C and D). ETH, TRX, and XLM are the variables with high magnitude (an absolute term) of factor loadings in the first component in both periods. Interestingly, the signs of the factor scores are positive across all factors in period 1. In the second component, BCH, XLM, and BTC, has factor loadings that are influential on both periods. In period 1, the XRP return series shows the largest factor loading in an absolute term, around −0.8, in the second component, whereas LTC does the same in period 2.
Table 5 shows the value of the AIC (Akaike’s information criterion) of different GARCH models (GARCH, TGARCH, and IGARCH) across nine cryptocurrencies in each period. We include TGARCH to handle the asymmetric distribution of errors which is commonly known for cryptocurrencies ([30]). In period 1, the IGARCH model provides the lowest AIC except for XRP, BCH, and LTC where the TGARCH models have the lowest AIC. In period 2, however, IGARCH shows the lowest AIC over all of cryptocurrencies. Given the value of the AIC model selection criterion, this indicates that in general IGARCH is superior to other GARCH family models. Table 6 shows the reliability of the IGARCH with ARMA (0,0) with LBTC for Period 1 and Period 2 even though α 1 is statistically significant at the significance level (0.10) for Period 1.
Table 7, Table 8 and Table 9 demonstrate representative results regarding forecast accuracy for an h-step-ahead forecast. We report out-of-sample MSE losses in both the SV and GARCH models with the observed time series data, where the evaluation is based on two different volatility proxies for the conditional volatility. The forecast losses of the models are systematically lower over all horizons and across all cryptocurrencies. The results exhibit the superior forecasting accuracy of the SV method over the GARCH models, especially in volatility forecasting over longer time horizons. For example, 3 day out-of-sample MSEs (Mean Squared Errors) (using the variance as a conditional volatility) of the BTC over period 1 are 8.485 and 8.165 for IGARCH and SV, respectively, and those of period 2 are 8.038 and 7.407, respectively. When the forecasting time horizon is the longest (h = 44), the MSE of the SV method is 5.761 in period 1, whereas that of the IGARCH is 9.198. Thus, the SV method has better forecasting accuracy than the IGARCH as the forecasting horizon is longer.
This trend is shown in all other cryptocurrencies, regardless of the conditional volatility types (MSE1 and MSE2). This difference of MSEs between TGARCH and SV is high in TRX, ADA, and MIOTA while ETH has almost no difference in period 1 (5.669 for the TGARCH and 6.625 for the SV method). In general, the SV method shows better forecasting accuracy than the GARCH models across all the cryptocurrencies, especially in volatility forecasting over longer time horizons. One plausible reason is that the SV model allows for two error processes and thus is more flexible for modeling financial time series, while the GARCH model considers a single error term. In addition to that, the SV model allow us to use the Bayesian approach to determine the inferences for the volatilities of time series using simulation algorithms such as the Markov Chain Monte Carlo (MCMC) methods whereas the GARCH family models have the difficulty of obtaining the maximum likelihood estimates caused by the complexity of the likelihood function. Therefore, the SV model offers a better in-sample fit ([3]).

4. Discussion

During period 1 (low volatile period) and period 2 (high volatile period), our finding is that the SV method shows better forecasting accuracy in terms of volatility. It indicates that institutional investors and individuals adopting cryptocurrency in their investment portfolios may better prepare for future risk management by utilizing SV models. Recently, the prices of cryptocurrency have been decreased by about 50 percent from the highest price in the early of April 2021. Investors are experiencing another round of high volatility time regarding cryptocurrency. The unexpected abrupt change of price of cryptocurrency may not be able to prepare well for the risk management to institutional investors even by employing neural network based volatility models because of the lack of the investment environment information training data about the cryptocurrency. Under this financial situation such that a sudden increase in the volatility of portfolio can bring tremendous risks including an increase in currency hedging costs, an increase in damage to loans for institutions, and a decrease in the value of beneficiary certificates, we can strongly recommend the investors to use the SV method which are confirmed by our finding with the low and high volatility time series data.

5. Conclusions

Understanding the volatility of the most popular cryptocurrencies is important to both investors and policymakers. In this study, we discussed the volatility of nine cryptocurrencies by using the GARCH and SV models. While previous studies have employed a variation of GARCH models, we introduced another statistical method for better out-of- sample forecasting power, the SV model. Our results provide strong empirical evidence that when we deal with extremely volatile financial data, such as cryptocurrencies, the SV method has better forecasting accuracy power than the GARCH models in terms of volatility, and this tendency is stronger as the forecasting horizons are longer. Finally, our SV model sheds light on the significance of a risk management tool for extremely volatile assets such as cryptocurrency. In this study, we only used ten cryptocurrency coins to compare the SV and GARCH models for volatility forecasting. In our future study, we will use more than 30 numbers of cryptocurrency coins to compare the neural network-based volatility model to the SV model with the recent cryptocurrency time series data. For forecasting the price of cryptocurrency, we are going to use a recurrent neural networks and long short-term memory models with traditional time series models such as the autoregressive integrated moving average model and ETS (Error, Trend, Seasonal) models.

Author Contributions

Conceptualization, C.J. and J.-M.K.; methodology, J.-M.K.; software, J.-M.K.; validation, J.-M.K., C.J. and J.L.; formal analysis, J.-M.K.; investigation, J.L.; resources, J.L.; data curation, J.L.; writing—original draft preparation, J.L. and C.J.; writing—review and editing, J.L.; visualization, J.-M.K.; supervision, J.L.; project administration, J.L.; funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.

Funding

No funding for this research.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The sample consists of the daily log-returns of the nine cryptocurrencies over period 1 (19 August 2018 to 27 November 2018) and period 2 (2 January 2018 to 27 November 2018). The log-returns of Bitcoin (BTC), XRP (XRP), Ethereum (ETH), Bitcoin Cash (BCH), Stellar (XLM), Litecoin (LTC), TRON (TRX), Cardano (ADA), and IOTA (IOTA) are denoted by LBTC, LXRP, LETH, LBCH, LXLM, LLTC, LTRX, LADA, and LMIOTA, respectively. We obtain our data from a financial website (https://coinmarketcap.com/coins/).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bacao, P.; Duarte, A.; Sebastiao, H.; Redzepagic, S. Information Transmission between Cryptocurrencies: Does Bitcoin Rule the Cryptocurrency World? Sci. Ann. Econ. Bus. 2018, 65, 97–117. [Google Scholar]
  2. Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. 2008. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 15 June 2021).
  3. Kim, J.-M.; Kim, S.; Kim, S.T. On the Relationship of Cryptocurrency Price with US Stock and Gold Price using Copula Models. Mathematics 2020, 8, 1859. [Google Scholar] [CrossRef]
  4. Corbet, S.; Meegan, A.; Larkin, C.; Lucey, B.; Yarovaya, L. Exploring the dynamic relationships between cryptocurrencies and other financial assets. Econ. Lett. 2018, 165, 28–34. [Google Scholar] [CrossRef] [Green Version]
  5. Grinberg, R. Bitcoin: An innovative alternative digital currency. Hastings Sci. Technol. Law J. 2011, 4, 160–207. [Google Scholar]
  6. Dyhrberg, A.H. Bitcoin, gold and the dollar-A GARCH volatility analysis. Financ. Res. Lett. 2015, 16, 85–92. [Google Scholar] [CrossRef] [Green Version]
  7. Hencic, A.; Gourieroux, C. Noncausal Autoregressive Model in Application to Bitcoin/USD Exchange Rate. In Proceedings of the 7th Financial Risks International Forum, Paris, France, 20–21 March 2014; pp. 1–25. [Google Scholar]
  8. Dwyer, G.P. The economics of Bitcoin and similar private digital currencies. J. Financ. Stab. 2015, 17, 81–91. [Google Scholar] [CrossRef] [Green Version]
  9. Bariviera, A.F. The inefficiency of Bitcoin revisited: A dynamic approach. Econ. Lett. 2017, 161, 1–4. [Google Scholar] [CrossRef] [Green Version]
  10. Gkillas, K.; Katsiampa, P. An Application of Extreme Value Theory to Cryptocurrencies. Econ. Lett. 2018, 164, 109–111. [Google Scholar] [CrossRef] [Green Version]
  11. Hansen, P.R.; Lunde, A. A Forecast Comparison of Volatility Models: Does Anything Beat a GARCH(1, 1)? J. Appl. Econom. 2005, 20, 873–889. [Google Scholar] [CrossRef] [Green Version]
  12. Hyndman, R.; Athanasopoulos, G.; Bergmeir, C.; Caceres, G.; Chhay, L.; O’Hara- Wild, M.; Petropoulos, F.; Razbash, S.; Wang, E. Forecast: Forecasting Functions for Time Series and Linear Models; R Foundation Package: Vienna, Austria, 2018. [Google Scholar]
  13. Katsiampa, P. Volatility estimation for Bitcoin: A comparison of GARCH models. Econ. Lett. 2017, 158, 3–6. [Google Scholar] [CrossRef] [Green Version]
  14. Katsiampa, P. An empirical investigation of volatility dynamics in the cryptocurrency market. Res. Int. Bus. Financ. 2019, 50, 322–335. [Google Scholar] [CrossRef]
  15. Caporale, G.M.; Zekokh, T. Modelling volatility of cryptocurrencies using Markov-Switching models. Res. Int. Bus. Financ. 2019, 48, 143–155. [Google Scholar] [CrossRef]
  16. Klein, T.; Thu, H.P.; Walther, T. Bitcoin is not the New Gold—A comparison of volatility, correlation, and portfolio performance. Int. Rev. Financ. Anal. 2018, 59, 105–116. [Google Scholar] [CrossRef]
  17. Phillip, A.; Chan, J.S.; Peiris, S. A new look at Cryptocurrencies. Econ. Lett. 2018, 163, 6–9. [Google Scholar] [CrossRef]
  18. Phillip, A.; Chan, J.; Peiris, S. On long memory effects in the volatility measure of Cryptocurrencies. Financ. Res. Lett. 2019, 28, 95–100. [Google Scholar] [CrossRef]
  19. Hyun, S.; Lee, J.M.; Kim, J.M.; Jun, C. What coins lead in the cryptocurrency market? Using Copula and Neural Network Models. J. Risk Financial Manag. 2019, 12, 132. [Google Scholar] [CrossRef] [Green Version]
  20. Bollerslev, T. Generalized Autoregressive Conditional Heteroskedasticity. J. Econom. 1986, 31, 307–327. [Google Scholar] [CrossRef] [Green Version]
  21. Engle, R.F. Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation. Econometrica 1982, 50, 987–1007. [Google Scholar] [CrossRef]
  22. Black, F. The pricing of commodity contracts. J. Financ. Econ. 1976, 3, 167–179. [Google Scholar] [CrossRef]
  23. Kim, J.M.; Jung, H.; Qin, L. New Generalized Volatility Proxy via Stochastic Volatility Model. Appl. Econ. 2017, 49, 2259–2268. [Google Scholar] [CrossRef]
  24. Ghalanos, A. The Rmgarch Models: Background and Properties, Version 1.2-8. 2015. Available online: https://cran.r-project.org/ (accessed on 15 June 2021).
  25. Engle, R.F.; Bollerslev, T. Modeling the persistence of conditional variances. Econom. Rev. 1986, 5, 1–50. [Google Scholar] [CrossRef]
  26. Zakoian, J.M. Threshold heteroskedastic models. J. Econ. Dyn. Control 1994, 18, 931–955. [Google Scholar] [CrossRef]
  27. Kim, J.-M.; Hwang, S.Y. The Copula Directional Dependence by Stochastic Volatility Models. Commun. Stat. Simul. Comput. 2019, 48, 1153–1175. [Google Scholar] [CrossRef]
  28. Kim, J.-M.; Jung, H. Time Series Forecasting using Functional Partial Least Square Regression with Stochastic Volatility, GARCH and Exponential Smoothing. J. Forecast. 2018, 37, 269–280. [Google Scholar] [CrossRef]
  29. Kim, S.; Shephard, N.; Chib, S. Stochastic Volatility: Likelihood Inference and Comparison with ARCH Models. Rev. Econ. Stud. 1998, 65, 361–393. [Google Scholar] [CrossRef]
  30. Taylor, S.J. Financial returns modelled by the product of two stochastic processes-a study of the daily sugar prices 1961–1975. Time Ser. Anal. Theory Pract. 1982, 1, 203–226. [Google Scholar]
  31. Kastner, G. Dealing with Stochastic Volatility in Time Series Using the R Package ‘stochvol’. J. Stat. Softw. 2016, 69. [Google Scholar] [CrossRef] [Green Version]
  32. Hentschel, L. All in the Family Nesting Symmetric and Asymmetric GARCH Models. J. Financ. Econ. 1995, 39, 71–104. [Google Scholar] [CrossRef]
  33. Pearson, K. On lines and planes of closest fit to system of points on space. Philos. Mag. 1901, 6, 559–572. [Google Scholar] [CrossRef] [Green Version]
  34. Kazor, K.; Holloway, R.W.; Cath, T.Y.; Hering, A.S. Comparison of linear and nonlinear dimension reduction techniques for automated process monitoring of a decentralized waste water treatment facility. Stoch. Environ. Res. Risk Assess. 2016, 30, 1–18. [Google Scholar] [CrossRef]
Figure 1. Scatterplots of the nine cryptocurrencies in period 1 (19 August 2018 to 27 November 2018).
Figure 1. Scatterplots of the nine cryptocurrencies in period 1 (19 August 2018 to 27 November 2018).
Mathematics 09 01614 g001
Figure 2. Scatterplots of the nine cryptocurrencies in period 2 (2 January 2018 to 27 November 2018).
Figure 2. Scatterplots of the nine cryptocurrencies in period 2 (2 January 2018 to 27 November 2018).
Mathematics 09 01614 g002
Figure 3. Boxplots of the nine cryptocurrencies in period 1 (19 August 2018 to 27 November 2018).
Figure 3. Boxplots of the nine cryptocurrencies in period 1 (19 August 2018 to 27 November 2018).
Mathematics 09 01614 g003
Figure 4. Boxplots of the nine cryptocurrencies in period 2 (2 January 2018 to 27 November 2018).
Figure 4. Boxplots of the nine cryptocurrencies in period 2 (2 January 2018 to 27 November 2018).
Mathematics 09 01614 g004
Figure 5. PCA Figures.
Figure 5. PCA Figures.
Mathematics 09 01614 g005aMathematics 09 01614 g005b
Table 1. Descriptive statistics of nine cryptocurrencies.
Table 1. Descriptive statistics of nine cryptocurrencies.
Period 1
LBTCLXRPLETHLBCHLXLMLLTCLTRXLADALMIOTA
Minimum−14.36−18.80−20.69−40.97−16.14−14.72−19.18−18.41−19.88
Q1−0.82−2.26−1.82−3.15−2.32−1.84−2.35−2.65−2.31
Median−0.02−0.21−0.39−0.34−0.40−0.43−0.38−0.57−0.06
Mean−0.510.10−0.98−1.12−0.44−0.61−0.59−1.00−0.61
Q30.741.791.381.472.211.381.861.662.13
Maximum4.7432.2014.2215.8716.279.2815.2111.9015.87
Skewness−2.251.30−1.16−1.89−0.46−1.00−0.56−0.96−0.74
Kurtosis9.7010.196.4013.505.224.945.245.035.57
Period 2
LBTCLXRPLETHLBCHLXLMLLTCLTRXLADALMIOTA
Minimum−18.46−35.33−20.69−40.97−30.62−21.19−32.87−21.73−29.15
Q1−2.02−3.88−2.98−4.20−3.69−3.41−4.47−4.34−4.75
Median0.08−0.52−0.30−0.50−0.49−0.46−0.71−1.03−0.56
Mean−0.39−0.57−0.59−0.79−0.36−0.61−0.45−0.91−0.81
Q31.452.222.212.203.412.422.842.513.58
Maximum12.4132.2014.2229.3446.1829.0678.6732.2122.50
Skewness−0.59−0.01−0.46−0.550.560.282.000.53−0.32
Kurtosis5.328.004.467.979.306.3818.965.844.07
Note: The first quartile, Q1, is the 25th percentile and the third quartile, Q3, is the 75th percentile.
Table 2. Pearson’s and Kendall’s Correlations of the nine cryptocurrencies for Period 1.
Table 2. Pearson’s and Kendall’s Correlations of the nine cryptocurrencies for Period 1.
Panel A: Pearson’s Correlations for Period 1
LBTCLXRPLETHLBCHLEOSLXLMLLTCLTRXLADALMIOTA
LBTC10.540.840.750.820.750.870.790.810.79
LXRP0.5410.730.570.70.710.670.70.760.67
LETH0.840.7310.780.910.780.910.890.910.84
LBCH0.750.570.7810.750.690.80.730.80.73
LEOS0.820.70.910.7510.770.870.850.890.86
LXLM0.750.710.780.690.7710.780.780.870.74
LLTC0.870.670.910.80.870.7810.870.90.86
LTRX0.790.70.890.730.850.780.8710.90.87
LADA0.810.760.910.80.890.870.90.910.86
LMIOTA0.790.670.840.730.860.740.860.870.861
Panel B: Kendall’s Correlations for Period 1
LBTCLXRPLETHLBCHLEOSLXLMLLTCLTRXLADALMIOTA
LBTC10.450.650.620.610.460.660.580.570.54
LXRP0.4510.60.440.50.520.520.470.570.51
LETH0.650.610.650.660.580.70.660.690.57
LBCH0.620.440.6510.630.490.650.570.60.55
LEOS0.610.50.660.6310.520.650.610.650.58
LXLM0.460.520.580.490.5210.540.520.640.47
LLTC0.660.520.70.650.650.5410.630.660.6
LTRX0.580.470.660.570.610.520.6310.670.6
LADA0.570.570.690.60.650.640.660.6710.59
LMIOTA0.540.510.570.550.580.470.60.60.591
Table 3. Pearson’s and Kendall’s Correlations of nine cryptocurrencies for Period 2.
Table 3. Pearson’s and Kendall’s Correlations of nine cryptocurrencies for Period 2.
Panel A: Pearson’s Correlations for Period 2
LBTCLXRPLETHLBCHLEOSLXLMLLTCLTRXLADALMIOTA
LBTC10.680.810.80.690.680.840.630.740.76
LXRP0.6810.740.660.680.740.710.630.780.73
LETH0.810.7410.790.710.710.830.610.790.8
LBCH0.80.660.7910.680.640.80.560.70.76
LEOS0.690.680.710.6810.630.70.580.730.67
LXLM0.680.740.710.640.6310.660.50.830.68
LLTC0.840.710.830.80.70.6610.560.730.78
LTRX0.630.630.610.560.580.50.5610.60.58
LADA0.740.780.790.70.730.830.730.610.76
LMIOTA0.760.730.80.760.670.680.780.580.761
Panel B: Kendall’s Correlations for Period 2
LBTCLXRPLETHLBCHLEOSLXLMLLTCLTRXLADALMIOTA
LBTC10.550.650.650.550.540.670.550.590.56
LXRP0.5510.660.570.560.60.60.550.630.58
LETH0.650.6610.680.610.570.690.570.660.61
LBCH0.650.570.6810.570.530.690.550.590.59
LEOS0.550.560.610.5710.540.580.550.590.54
LXLM0.540.60.570.530.5410.540.510.660.52
LLTC0.670.60.690.690.580.5410.540.610.6
LTRX0.550.550.570.550.550.510.5410.560.53
LADA0.590.630.660.590.590.660.610.5610.58
LMIOTA0.560.580.610.590.540.520.60.530.581
Table 4. Principal Component Analysis Results for Period 1 and Period 2.
Table 4. Principal Component Analysis Results for Period 1 and Period 2.
Period 1
PC1PC2PC3PC4PC5PC6PC7PC8PC9
Standard deviation2.700.730.550.520.450.390.320.270.24
Proportion of Variance0.810.060.030.030.020.020.010.010.01
Cumulative Proportion0.810.870.900.930.960.970.990.991.00
Period 2
PC1PC2PC3PC4PC5PC6PC7PC8PC9
Standard deviation2.590.750.740.530.480.470.420.370.37
Proportion of Variance0.750.060.060.030.030.020.020.020.01
Cumulative Proportion0.750.810.870.900.930.950.970.991.00
Table 5. The GARCH model comparison by AIC.
Table 5. The GARCH model comparison by AIC.
Period 1
ModelLBTCLXRPLETHLBCHLXLMLLTCLTRXLADALMIOTA
GARCH4.87396.60636.19156.74086.07585.8376.28666.24966.3921
TGARCH4.26636.18265.74096.28955.94215.67036.07926.05086.101
IGARCH4.20926.19415.7016.2335.95435.62556.04746.01256.0705
Period 2
ModelLBTCLXRPLETHLBCHLXLMLLTCLTRXLADALMIOTA
GARCH5.55756.57046.24136.72386.61796.16446.95476.68136.7404
TGARCH5.35326.40556.14726.57196.54856.10616.84716.59566.6676
IGARCH5.33316.3816.12856.54656.52556.09376.82726.58096.6673
Table 6. IGARCH with ARMA(0,0) with LBTC for Period 1 and Period 2.
Table 6. IGARCH with ARMA(0,0) with LBTC for Period 1 and Period 2.
IGARCH (1,1)
Period 1Period 2
CoefficientStd. Errorp-ValueCoefficientStd. Errorp-Value
Μ0.025960.111630.81608−0.030040.113460.76067
α 0 0.069390.148970.641390.000180.054850.99738
α 1 0.108350.06490.095040.069610.020470.00067
β 1 0.89165NANA0.9304NANA
Shape2.6195320.243910.000003.576180.385930.00000
Log likelihood−208.5649−875.9657
N101330
AIC4.20925.3331
Note: The return equation is: r t = μ + ε t . The variance equation is a t = h t e t and h t = α 0 + α 1 a t 1 2 + β 1 h t 1 where α 0 > 0 , α i 0 ,   β i 0 , α 1 + β 1 = 1   ( β 1 = 1 α 1 )   and e t   ~t-Student distribution with shape parameter.
Table 7. Volatility prediction performance of the SV and GARCH models 1.
Table 7. Volatility prediction performance of the SV and GARCH models 1.
LBTCLXRPLETH
Forecasting HorizonsPeriod 1Period 2Period 1Period 2Period 1Period 2
MSE1IGARCHSVIGARCHSVTGARCHSVIGARCHSVIGARCHSVIGARCHSV
h = 449.1985.7618.2285.9467.4924.46815.3855.4245.6695.62510.2256.155
h = 306.4795.0675.7674.2536.1443.62811.5014.3715.0304.9878.1245.251
h = 206.7824.9766.0744.5195.7042.95810.0653.7983.9913.8818.0964.621
h = 103.9735.1273.5803.0473.2691.7815.0352.1122.4212.3413.6602.217
h = 56.2195.7385.7314.9592.8911.4604.0491.7881.5351.3652.3931.199
h = 38.4858.1658.0387.4070.9891.1161.3290.8192.0101.7291.2300.995
MSE2IGARCHSVIGARCHSVTGARCHSVIGARCHSVIGARCHSVIGARCHSV
h = 448.9281.2937.5694.0809.0693.97619.3825.7762.9322.83111.9994.880
h = 307.5250.9896.3443.3998.2703.46915.9025.1472.5242.44510.3274.355
h = 207.6421.0006.5003.7298.3013.43014.1835.1292.6532.57010.5314.699
h = 105.8320.8264.8832.9606.4882.3809.5073.7451.4191.4597.4193.108
h = 56.7881.1545.8104.0116.1542.2417.9383.5371.1291.1936.6692.795
h = 37.2021.7846.2524.6584.2091.2075.1852.1020.6830.7765.2992.036
1 This table shows the performance of the volatility prediction using the daily log-returns over the period (28 November 2018 to 10 January 2019) of Bitcoin (BTC), XRP (XRP), and Ethereum (ETH) which are denoted by LBTC, LXRP, and LETH, respectively, with training data (periods 1 and 2).
Table 8. Volatility prediction performance of the SV and GARCH models 1.
Table 8. Volatility prediction performance of the SV and GARCH models 1.
LBCHLXMLLLTC
Forecasting HorizonsPeriod 1Period 2Period 1Period 2Period 1Period 2
MSE1TGARCHSVIGARCHSVTGARCHSVIGARCHSVIGARCHSVIGARCHSV
h = 4411.40811.37315.20312.1527.6715.55710.6986.9243.8593.2474.2233.264
h = 3013.73613.69317.19314.3535.8514.4547.7965.2554.3843.3804.6633.591
h = 2012.55412.43316.33813.2763.5972.6064.8933.0604.0433.0794.0393.188
h = 1021.74721.51027.49423.0892.8182.1563.4262.2864.4713.7984.1353.641
h = 537.27036.62749.14640.6332.7071.4333.2221.9362.4931.7692.0631.666
h = 30.1350.9591.1120.1483.6902.3464.0672.8761.9291.8111.5761.479
MSE2TGARCHSVIGARCHSVTGARCHSVIGARCHSVIGARCHSVIGARCHSV
h = 445.1715.02512.6927.2308.3183.81112.7866.9005.4241.7796.3173.580
h = 305.6775.46212.9487.6127.3093.08710.7445.9026.0581.9796.5063.883
h = 205.6135.25012.9637.5306.4942.3569.1425.0226.1711.8166.0333.683
h = 108.9418.19417.09410.9106.2662.0357.8654.5506.5011.8035.4843.572
h = 515.76414.31926.75418.3017.0272.2408.0114.9466.3221.3294.7273.068
h = 31.6770.5717.0422.1897.4782.5438.0925.2425.8641.1254.0502.686
1 This table shows the performance of the volatility prediction using the daily log-returns over the period (28 November 2018 to 10 January 2019) of Bitcoin Cash (BCH), Stellar (XLM), and Litecoin (LTC) which are denoted by LBCH, LXLM, and LLTC, respectively, with training data (periods 1 and 2).
Table 9. Volatility prediction performance of the SV and GARCH models 1.
Table 9. Volatility prediction performance of the SV and GARCH models 1.
LTRXLADALMIOTA
Forecasting HorizonsPeriod 1Period 2Period 1Period 2Period 1Period 2
MSE1IGARCHSVIGARCHSVIGARCHSVIGARCHSVIGARCHSVIGARCHSV
h = 4416.1596.0829.8277.9439.4223.9536.0494.68816.9578.46212.6589.737
h = 3016.7627.00611.0749.2399.4464.5096.7445.40617.32710.83014.26811.891
h = 2017.6467.72712.33010.4449.0584.7067.0075.7008.4694.8336.9045.311
h = 103.3792.4652.1511.9288.0405.9047.3456.4179.8165.5028.7006.706
h = 53.5633.9702.8252.94113.8049.95413.05411.4333.9982.2083.8062.513
h = 31.8945.5871.7592.79812.42810.27112.21311.0912.5672.7352.6602.084
MSE2IGARCHSVIGARCHSVIGARCHSVIGARCHSVIGARCHSVIGARCHSV
h = 4419.7633.76011.0307.82814.3353.1588.6695.74718.5033.88712.4737.478
h = 3018.5514.23411.2458.38013.2143.4708.7956.12016.5984.33912.1497.800
h = 2017.7464.73411.6949.01212.0653.6438.8006.29812.0972.4929.3085.598
h = 107.9291.2925.4413.7239.6203.6678.1065.89411.4913.13510.1866.494
h = 55.9651.2604.8183.27111.8095.86310.9588.4197.8271.7567.8544.508
h = 32.7500.2902.4601.3379.9485.2309.6847.3855.8601.2566.4553.406
1 This table shows the performance of the volatility prediction using the daily log-returns over the period (28 November 2018 to 10 January 2019) of TRON (TRX), Cardano (ADA), and IOTA (IOTA) which are denoted by LTRX, LADA, and LMIOTA, respectively, with the training data (periods 1 and 2).
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kim, J.-M.; Jun, C.; Lee, J. Forecasting the Volatility of the Cryptocurrency Market by GARCH and Stochastic Volatility. Mathematics 2021, 9, 1614. https://doi.org/10.3390/math9141614

AMA Style

Kim J-M, Jun C, Lee J. Forecasting the Volatility of the Cryptocurrency Market by GARCH and Stochastic Volatility. Mathematics. 2021; 9(14):1614. https://doi.org/10.3390/math9141614

Chicago/Turabian Style

Kim, Jong-Min, Chulhee Jun, and Junyoup Lee. 2021. "Forecasting the Volatility of the Cryptocurrency Market by GARCH and Stochastic Volatility" Mathematics 9, no. 14: 1614. https://doi.org/10.3390/math9141614

APA Style

Kim, J. -M., Jun, C., & Lee, J. (2021). Forecasting the Volatility of the Cryptocurrency Market by GARCH and Stochastic Volatility. Mathematics, 9(14), 1614. https://doi.org/10.3390/math9141614

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop