Modelling Dependence of Cryptocurrencies Using Copula Garch

Abstract

Cryptocurrencies are considered to be among the most disruptive innovations done in the financial sector within the last decade. It is a digital asset that is designed to serve as a medium of exchange using cryptography. Financial modeling of cryptocurrencies is needed in order to determine the presence of dependence between currencies. Copulas functions assist in modeling dependency structure by making it possible to separate marginal distributions of a given multivariate distribution. The purpose of the study was to model dependencies of cryptocurrencies using copula Garch. The study proposed the use of copula Garch model to model the dependence of cryptocurrency price data. Bivariate copula was extended to Bivariate Copula Garch in order to model prices and measure the cryptocurrency dependence. Prices of the four cryptocurrencies (Bitcoin, Binance, Litecoin and Dogecoin) were analyzed to establish whether there exists any dependency. The results showed standard Garch (1,1) under the highly flexible ARMA-GARCH model was appropriate to identify the true patterns of index returns. Fitting the copula standard Garch (1,1) model to the currencies, it was observed that the pair Litecoin and Bitcoin has the highest tail dependence among the selected cryptocurrencies, which implies that change in prices of Litecoin will influence the prices of Bitcoin and vice versa is true. Optimization of the cryptocurrencies showed that Dogecoin has the best optimization. The results of this study indicate that investing on Dogecoin significantly reduces risk irrespective of significant correlation among Litecoin, Bitcoin and Binance. Standard Garch (1,1) is the best in identifying dependence between the cryptocurrencies.

Share and Cite:

Kimani, E. , Ngunyi, A. and Mungatu, J. (2023) Modelling Dependence of Cryptocurrencies Using Copula Garch. Journal of Mathematical Finance, 13, 321-338. doi: 10.4236/jmf.2023.133020.

1. Introduction

Cryptocurrency is a virtual or digital currency secured through cryptography; hence it is safe from counterfeit [1] . Blockchain technology has been used in a decentralizing cryptocurrency network. It is not issued by the government, thus immune from interference and manipulation by the central banking system in a country according to [2] . This currency is mostly used as a medium of exchange in online trading where digital ledgers are applied. There is a need for strong cryptography in securing transaction record entries. The transactions do not exist physically, and the individuals involved may not know each other physically [3] . Bitcoin which was the first cryptocurrency, released in 2019 by open-source software, has consistently been used in many countries. It is still famous; however, various alternative coins have been created afterward, with some being bitcoin clones or forks. Litcoin, Namecoin, Peercoin, and Cardano are some of Bitcoin’s competing cryptocurrencies. To model and measure the dependencies in cryptocurrencies, the study proposed the use of copulas where copulas have been distinguished in different families namely, Elliptical copulas, Archimedean copulas, Empirical copulas and Periodic copulas. Each family has different types of copulas depending with the distribution of the functions [4] . Copulas is relevant in finance mainly in portfolio management, risk management, derivative pricing and optimization.

The autoregressive conditional heteroscedastic (ARCH) model [5] and generalized conditional heteroscedastic (GARCH) model that was stated by [6] have been used widely financial time series to model return variance processes. It has been observed that financial time series data exhibit heavy tails and extreme value theory (EVT) has been established as a useful tool in modelling tail behaviour of the distribution instead of the entire distribution. Extreme events study is key in financial risk management mainly to investors since it gives rare events that have catastrophic effects which may comprise of extreme default losses, market crashes and currency crisis. This GARCH-EVT combination has an advantage of being able to capture conditional heteroskedasticity in the given data through the GARCH framework, and at the same time apply EVT method to model the extreme tail behaviour. Linear correlation has been used as a measure of dependence for multivariate variable while calculating the dependence between different asset returns. Gaussian, log-normal and Student-t are multivariate distributions that have been widely used. However, they cannot be applied in the case of assymetrical data. Copulas provides a solution in addressing dependence structure problem, and it offers flexibility unlike correlation approach [7] , hence providing an opportunity for one to examine separately marginal distributions from random variables dependency structures.

This study’s primary objective is to fit the most appropriate GARCH model in modelling cryptocurrencies data, examine the dependence structure of Cryptocurrencies using Copula GARCH model and select a portfolio of cryptocurrencies with the best optimization. Therefore, this study’s main contribution was to model cryptocurrency and selection of the cryptocurrency with the best optimization using Copula standard Garch model.

The paper is organized as follows: Section 2 describes the methods of the study; Section 3 presents main results, simulation study results; Section 4 presents conclusion and suggestions for further research.

2. Methods

2.1. The ARMA-Model

ARMA models can be used in modeling trends and seasonality in time series data. They are mostly constructed on white noise basis whose variance is denoted as σ Z 2 . These models belong to a class of stationary univariate time series models which is utilized in a time series to capture (linear) serial dependence. These combines the two classes of time series models, namely; moving average (MA) process and autoregressive process (AR) that results in a parsimonious polynomial model which combines both moving averages and autoregressive models.

Definition The ARMA(p, q) process Let ( Z t ) t ~ W N ( 0, σ 2 ) for some, σ 2 > 0 be a white noise sequence on ( Ω , F , P ) . Let p , q and ϕ 1 , , ϕ p and θ 1 , , θ q . Then we have any stationary time series ( X t ) t on ( Ω , F , P ) satisfying E [ X 0 ] = 0 and

X t ϕ 1 X t 1 ϕ p X t p = Z t + θ 1 Z t 1 + θ q Z t q t (1)

( X t ) t being an ARMA(p, q) process whose mean μ ,having ( X t μ ) t as an ARMA(p, q) process, μ . We can write Equation (1) in compact notation that is based on the backshift operator which is given as follows

Φ ( B ) X t = Θ ( B ) Z t t (2)

where Φ ( B ) = 1 ϕ 1 B ϕ p B p is given as the “autoregressive polynomial of degree p” and we have Θ ( B ) = 1 + θ 1 B + + θ q B q given as the “moving average polynomial of degree q”. One can either use only the moving average or the autoregressive part of a given ARMA equation.

Definition (AR(p)-process)

In Equation (1), let q = 0 thus Θ ( z ) = 1 . Hence the equation can be simplified to

X t ϕ 1 X t 1 ϕ p X t p = Z t for all t

θ ( B ) X t = Z t for all t

Given that p = 1, then we have the AR(1)-process

X t ϕ 1 X t 1 = z t

Theorem 3.1. Given that Φ ( z ) 0 z with | z | 1 , then we have the ARMA model as given in Equation (1) having unique stationary solution

X t = j = Ψ j Z t j t (3)

where we can determine the coefficients ( Ψ j ) j by

Θ ( z ) Φ ( z ) 1 = j = Ψ j Z j = Ψ ( z ) , with r 1 | z | < r (4)

for any r > 1

Definition(MA(q)-process) In Equation (1), let p = 0 and hence Φ ( z ) = 1 . The equation then simplifies to

X t = Z t + θ 1 Z t 1 + + θ q Z t q for all t

X t = Θ ( B ) Z t for all t

For q = 1, then we get the MA(1)-process

X t = Z t + θ 1 Z t 1 .

2.2. The GARCH-Model

The Generalized Autoregressive Conditional Heteroskedasticity (GARCH) model which was introduced by [6] is a generalized form of the ARCH models which was introduced by [5] . The Autoregressive (AR) process considers observations made in the past up to a given degree into the present and utilizes a feedback mechanism. GARCH model “conditional component” implies variance dependence on immediate past, while “heteroscedasticity” implies time varying volatility. A standard ARCH(p) process that has p lag terms and is designed to capture volatility clustering which can be expressed as

σ t 2 = α 0 + i = 1 p α i ε t i 2 (5)

where α 0 > 0 and α i 0 , for i = 1 , 2 , , p which ensures finite variance and we have α 1 + + α p < 1 in stationarity. Large persistence in volatility leads the ARCH model to require a large number of lags p which can be used to fit the data.

Definition GARCH(p, q) The stochastic process ( ε t ) t on a probability space ( Ω , F , P ) where Ω is given by a GARCH(p, q) process if it gives a solution to ε t = σ t z t with ( Z t ) t being an iid sequence and the conditional variance of a GARCH(p, q) being

σ t 2 = α 0 + i = 1 p α i ε t 1 2 + j = 1 p β j σ t j 2 (6)

The GARCH model parameters must satisfy the following conditions in order for conditional variance to be finite and positive

α 0 > 0 , α i 0 , i = 1 , , p and β j 0 for j = 1 , , q

Different versions and extensions have been made on GARCH model. Equation (6) gives a symmetric model which implies positive and negative shocks have the similar volatility effects. However, positive (negative) innovations to volatility have been suggested to correlate with negative (positive) innovations to returns by empirical literature.

We intend to consider two extensions of the standard GARCH model in order to account for leverage effects and symmetry [8] gave a proposal of a Boolean indicator being introduced in the GARCH Equation (6). We get the GJR-GARCH model conditional variance being given by

σ t 2 = α 0 + i = 1 p α i ε t 1 2 + i = 1 p ε i Ψ ( ε t 1 ) ε t 1 2 + j = 1 q β j σ t j 2 (7)

where we have Ψ ( ε t ) = 1 given that and it is 0 if Z t 0 .

The term ε i Ψ ( ε t 1 ) also captures the shock in addition to the symmetrical GARCH(p, q) model which is given in (6). GJR-GARCH model is normally used to nest the standard GARCH model by equating all the gi coefficients to zero, hence reducing the GJR-GARCH model to the standard GARCH model. α 0 , α i , β j and ( α i + ε i ) parameters are constrained to be non-negative in order to ensure positivity and stationarity of the GARCH specifications. Non-negativity constraints are too restrictive as argued by [9] , this advocated inclusion of asymmetric volatility response to innovations with the EGARCH model in Nelson’s exponential GARCH model, it is given as

log ( σ t 2 ) = α 0 + i = 1 p α i | Z t 1 | + i = 1 p ε i Z t 1 + j = 1 q β j log ( σ t j 2 ) (8)

Parameters ε i with negative ε i is used to capture asymmetry, higher impact on valatility are experienced in negative shocks than positive shocks. Marginal distributions of standardized residuals z t should be specified in order to complete univariate model specification.

2.3. Copulas and Dependence Structure

2.3.1. Definition of Copulas and Its Properties

Definition Let C be a copula of a multivariate PDF which is defined on [ 0,1 ] n , while its variables marginal probability distribution are uniformly distributed in [0, 1] [10]

Definition For a 2-dimensional copula we have a function C : [ 0 , 1 ] × [ 0 , 1 ] [ 0 , 1 ] , which fulfils:

1) For every a , b [ 0 , 1 ] :

C ( a , 0 ) = C ( 0 , b ) = 0

2) For every a , b [ 0 , 1 ] :

C ( a ,1 ) and C ( 1, b ) = b

3) For every a 1 , a 2 , b 1 , b 2 [ 0 , 1 ] with a 1 and a 2 and b 1 b 2 :

C ( u 2 , v 2 ) C ( u 2 , v 1 ) C ( u 1 , v 2 ) + C ( u 1 , v 1 ) = C ( 0, v ) 0

Functions fulfilling the first property are referred to as grounded. Implying, that for both outcomes the joint probability is zero given that the marginal probability of either outcome is zero. The second property is known as the copula boundary condition while the third property is known as two-dimensional analogue for a function that is one-dimensional and non-decreasing. Such a function is called 2-increasing.

The theorem presented next establishes the continuity of copulas via a Lipschitz condition on [ 0,1 ] × [ 0,1 ] :

Theorem 1 Let C to be a copula. Then we have that for every a 1 , a 2 , b 1 , b 2 [ 0 , 1 ]

| C ( a 2 , b 2 ) | | ( a 1 ; b 1 ) | | a 2 , a 1 | + | b 2 b 1 | (9)

Theorem 2 Let C to be a copula. Then we have that for every a [ 0,1 ] . We have the partial derivative C / a existing in almost all v [ 0,1 ] . Given that a and b, one exists for almost all b [ 0,1 ] . having a and b one has

0 v C ( a , b ) 1 (10)

The partial derivative analogous statement is true for C / u . In addition, we have the function a C b ( a ) C ( a , b ) / b and b C a b C a b / a on [0, 1] being defined and non-decreasing in almost everywhere .

Definition

Copula density. We let C to be a two times and two-dimensional partial differentiable copula, therefore we have the function c : [ 0,1 ] 2 [ 0,1 ] hence

c ( a 1 , a 2 ) = 2 C ( a 1 , a 2 ) a 1 a 2 , a 1 , a 2 [ 0,1 ] (11)

is referred to as copula density for C

The fundamental theorem of copulas theory is key. It is stated by Sklar’s theorem [11] . Sklar’s theorem issues key properties for copulas

Lemma (Sklar’s theorem) [10]

Let F ( x 1 , x 2 ) to be a two dimensional joint probability distribution function for two random variables illustrated as X1 and X2 whose marginal distributions are F1 and F2. Then we have a 2-dimensional copula C, where by ( x 1 , x 2 ) 2 , [ F ( x 1 , x 2 ) = C ( F 1 ( x 1 ) , F 2 ( x 2 ) ) ] holds. For the continuous F1 and F2 and we have C as unique and defined through

C ( x 1 , x 2 ) = F ( F 1 1 ( x 1 ) , F 2 1 ( x 2 ) )

Conversely, having C as a copula and marginal distribution functions F1 and F2, then we have the function F being defined in equation (iv) as a bivariate joint distribution function whose margins are F1 and F2.

From the theorem 3 the bivariate distribution density function f ( ) be written in copula form.

f ( x 1 , x 2 ) = c { F 1 ( x 1 ) , F 2 ( x 2 ) } f 1 ( x 1 ) f 2 ( x 2 ) , x 1 , x 2 (12)

Copulas capture only dependency features that are invariant under increasing transformations [12] .

2.3.2. Bivariate Two-Parameter Copula Families

The families of bivariate two-parameter copula are key in capturing dependencies that are more than one such as upper and lower tail dependence or in finding dependence in one of the tails and concordance [13] .

Definition (Bivariate two-parameter copula families)

These copula families take the form

C ( a , b ) = Ψ ( log K ( μ Ψ 1 ( a ) , μ Ψ 1 ( v ) ) ) (13)

where we have K being maximal infinite divisible which we can denote as (max-id). [We have K as max-id given that for all a > 0, K α is a cdf] and we have Ψ as a Laplace-transform (LT).

Given that δ and Ψ are used to parametrize K by parameter θ (denoted by ψ θ ) then we result to Two-parameter families. Having K increase in its concordance as δ increases, then definately there is an increase in concordance of C as δ increases while we have θ being fixed. It is harder to check concordance ordering, δ being fixed with θ varying. K taking the Archimedean copula form, then we have C taking the Archimedean copula form. That is, if K ( x , y ; δ ) = ϕ δ ( ϕ δ 1 ( x ) ) + ϕ δ ( ϕ δ 1 ( y ) ) for ϕ δ family, then

C ( a , b ; θ ; δ ) = Ψ θ ( log ϕ θ [ ϕ θ 1 ( μ Ψ 1 ( a ) ) + ϕ δ 1 ( μ Ψ 1 ( b ) ) ] ) = η θ , δ ( η θ , δ 1 ( a ) + η θ , δ 1 ( b ) ) , (14)

where η θ , δ 1 ( s ) = Ψ θ ( log ϕ δ ( s ) )

For δ being fixed and θ 2 > θ 1 , with η i = η θ , δ , i = 1 , 2 the ordering of the concordance being C ( ; θ 1 , δ ) and C ( ; θ 2 , δ ) could then be established through showing that ω = η 2 1 η 1 is superadditive.

BB1-copula

The definition of BB1-copula is given by

C ( a , b ; θ ; δ ) = { 1 + [ ( a θ 1 ) δ + ( b θ 1 ) δ ] 1 δ } 1 θ = η ( η 1 ( a ) ) + η ( η 1 ( b ) ) θ > 0 , δ 1 (15)

where

η ( s ) = η θ , δ ( s ) = ( 1 + s 1 θ ) 1 θ

We have the copula density being

C ( a , b ; θ ; δ ) = { 1 + [ ( a θ 1 ) δ + ( b θ 1 ) δ ] 1 δ } 1 θ 2 × [ ( θ 1 ) δ + ( b θ 1 ) δ ] 2 δ 2 × { θ δ + 1 + θ ( δ 1 ) [ ( a θ 1 ) + ( b θ 1 ) δ ] 1 δ } × ( a θ 1 ) δ 1 a θ 1 ( b θ 1 ) δ 1 b θ 1 (16)

We consider BB1-copula as an example of a bivariate Archimedean copula whose generator function is ϕ ( s ; θ , δ ) = ( s θ 1 ) δ .

BB7-copula

The BB7-copula, is at times considered as Joe-Clayton copula, with a similar structure as the one of the BB1-copula, The Archimedean generator function is given by ϕ ( s ; θ , δ ) = [ 1 ( 1 s ) θ ] δ 1 whereby it is defined as

C J C ( a , b ; θ ; δ ) = 1 ( 1 [ 1 ( 1 a ) θ ] δ + [ 1 ( 1 b ) θ ] θ 1 1 θ ) 1 θ

η ( η 1 ( a ) + η 1 ( b ) ) , θ 1 , δ > 0 (17)

where η ( s ) = η θ , δ ( s ) = 1 [ 1 ( 1 + s ) 1 δ ] 1 θ

Copula density is given by

c ( a , b ; θ ; δ ) = ( 1 θ ) ( 1 δ 1 ) h 1 θ 1 d a b h (18)

In BB7-copula the lower and upper tail dependence can range on each other from zero to anywhere freely.

2.3.3. Bivariate Dependence Measures

Pearson Correlation Coefficient

Pearson’s correlation which is also referred to as correlation coefficient or product moment correlation is a measure used widely in measuring linear correlation given two random variables. Correlation and dependence can be used interchangeably.

Definition Let ( X , Y ) T to be a vector of random variables which have nonzero finite variances. Linear correlation coefficient can be defined as

ρ ( X , Y ) = C o v ( X , Y ) V a r ( X ) V a r ( Y ) (19)

The correlation coefficient properties (ρ) are

1). | ρ ( X , Y ) | 1

2) X and Y being independent, then we have ρ ( X , Y ) = 0 .

3) | ρ ( X , Y ) | = 1 if a and b 0 such that P ( X = a + b Y ) = 1

4) ρ ( α X + β Y , ϒ Y + δ ) = s g n ( α ϒ ) ρ ( X , Y )

5) X and Y being joint bivariate normal distribution that have standard normal margins then we have, correlation coefficient ρ being uniquely defined by the existing joint distribution.

Definition The correlation coefficient can be estimated using

ρ ^ = i = 1 n ( X i X ¯ ) ( Y 1 Y ¯ ) i = 1 n ( X i X ¯ ) 2 ( Y 1 Y ¯ ) 2

Linear correlation is popular due to its ease in calculations but cannot be applied as a canonical dependence measure. It is commonly used in elliptical distributions.

Kendall’s tau

Kendall’s tau for a given vector, given ( X , Y ) T is given by finding the probability of concordance in the pair of random variables minus the probability of discordance in the pair of random variables chosen in a population version which can expressed in the following definition by [7] [14] [15] .

Therefore, Kendall’s tau can simply be defined as the probability of concordance minus the probability of discordance.

Definition (Kendall’s τ) Let ( X 1 , Y 1 ) and ( X 2 , Y 2 ) be two pairs of independent random variables whose joint distribution, denoted as F and marginal distributions denoted as F X and F Y . Therefore Kendall’s tau can be illustrated by

ρ τ ( X , Y ) = P ( X 1 X 2 ) ( Y 1 Y 2 ) > 0 P ( X 1 X 2 ) ( Y 1 Y 2 ) < 0 = P ( X 1 < X 2 , Y 1 > Y 2 ) P ( X 1 > X 2 , Y 1 < Y 2 ) (20)

In the equation, P ( X 1 X 2 ) ( Y 1 Y 2 ) > 0 ), is referred to as P (concordance), while, P ( X 1 X 2 ) ( Y 1 Y 2 ) < 0 is P (discordance). Therefore, ρ τ ( X , Y ) = P ( concordance ) P ( discordance ) .

An alternative definition making use of the mathematical expectation operator, expresses Kendall’s tau as

ρ τ ( X , Y ) = E ( s i g n ( ( X 1 X 2 ) ( Y 1 Y 2 ) ) ) (21)

The empirical version of this expression is

r τ ( X i , X j ) = ( n 2 ) 1 1 t < s n s i g n ( X t , i X s , i ) ( X t , j X s , j ) (22)

where we have X t , i and X t , j referring to the t-th observations in the two random vectors that have n observations.

Kendall’s tau can also be represented in terms of copula; the illustration is given as follows

ρ τ = 4 0 1 0 1 C ( u , v ) d C ( u , v ) 1 (23)

Theorem Kendall’s tau for a bivariate Archimedean copula C whose generator function is given by φ in one-dimensional integral can be written as [16]

τ = 1 + 4 0 1 φ 1 ( t ) ( φ 1 ) ( t ) d t (24)

2.4. Tail Dependence

Tail dependence concept is mostly applied in non-normal multivariate families, especially in financial applications. In a bivariate distribution, tail dependence can be represented by the probability of first variable exceeding its q-quantile, when the other also exceeds its own q-quantile. Upper tail dependence coefficient is the limiting probability as q goes to infinity, where we have the copula as the upper tail dependent given that it is not zero. The lower tail dependence is said to be analogously defined. The implication is that given two continuous random variables X and Y, then the tail dependence is a copula property and whose amount of tail dependence will be invariant given strict increasing transformations of X an Y [17] .

Definition (Tail dependence) Let ( X , Y ) T to be a vector for continuous random variables whose marginal distribution functions denoted as F and G. The upper tail dependence coefficient λ U of ( X , Y ) T is therefore the limit of the conditional probability for Y being greater than the a-th percentile for G given that we have X being greater than the a-th percentile for F as a approaches 1, i.e.

λ A = lim a 1 P ( Y G Y 1 ( a ) | X F X 1 ( a ) ) (25)

provided that limit λ A | 0,1 | exists. If λ A | 0,1 | , X, Y are asymptotically dependent in upper tail; if λ A = 0 , X and Y are asymptotically independent in upper tail. Similarly the lower tail dependence, λ B .

λ B = lim a 1 P ( Y G Y 1 ( a ) | X F X 1 ( a ) ) (26)

Definition (Upper tail dependence for copulas)

The coefficient for upper tail dependence of the given bivariate copula family denoted as C is such that

λ A = l i m a 1 2 a + C ( a , a ) 1 a (27)

Then C has a lower tail dependence if we have λ B [ 0,1 ] , and is lower tail dependence if λ B = 0 .

Coefficients of upper and lower tail dependence in bivariate margins are needed to show the difference in two-dimensional Student and Gaussian copulas.

Given X and Y are continuous random variables with Student-t copula, C and the parameters ρ and ν , hence the coefficients of the two tail dependence are equal and they are given by:

γ B ( X , Y ) = γ A ( X , Y ) = 2 t ν + 1 ( v + 1 1 ρ 1 + ρ

where we have t ν + 1 denoting the univariate Student-t distribution function that has ν + 1 degrees of freedom and the value of λ is seen to depend on parameters with Student-t-copula has both the lower and upper tail dependence.

In contrast, the Gaussian copula does not have the tail dependence at all; there is neither lower nor upper tail dependence. Hence the Gaussian copula which has parameter ρ ( 1,1 ) , thus the tail dependence is given by

λ = lim x 2 ( 1 Φ ( x 1 ρ 1 + ρ ) ) = 0

Therefore there is no tail dependence in the Gaussian copula.

Tail dependence in the Archimedean copulas can be expressed in form of generator function.

Theorem Let a strict generator be φ such that φ 1 is seen to belong in the class of Laplace transformation for random variables that are strictly positive. If φ 1 ( 0 ) being finite then we have

C ( a 1 , a 2 ) = φ 1 ( φ ( a 1 ) + φ ( a 2 ) )

The upper tail dependence does not exist. If copula C has upper tail dependence, φ 1 ( 0 ) = and the upper tail dependence coefficient is given by

λ A = 2 2 l i m s 0 ( φ 1 ( 2 s ) φ 1 ( s ) ) (28)

The proof is seen in [7] [18] .

Theorem Letting φ as denoted in Theorem The lower tail dependence coefficient for copula C ( a 1 , a 2 ) = φ 1 ( φ ( a 1 ) + φ ( a 2 ) ) is equal to

λ B = 2 2 l i m s ( φ 1 ( 2 s ) φ 1 ( s ) ) (29)

2.5. Copula Parameter Estimation

Full Maximum Likelihood (FML)

The representation of canonical copula is

f ( x 1 , , x n ) = c ( F 1 ( x 1 ) , , F n ( x n ) ) j = 1 d f j ( x j ) (30)

Let the sample data matrix be { x u , , x n t } t = 1 T . Then the log-likelihood function is given by

l ( θ ) = t = 1 T I n c ( F 1 ( x 1 t ) , , F n ( x n t ) ) + t = 1 T j = 1 n ln f j ( x j t ) (31)

where the set of marginal parameters and the copula are given as θ . Therefore, with a copula and marginal density probability function set the maximum likelihood estimator is obtain through maximization

θ ^ M L E = max θ l ( θ ) (32)

Holding the usual regulatory conditions, then the maximum likelihood estimator being asymptotically efficient and consistent, with the covariance matrix being asymptotically normally distributed given Fisher’s information matrix inverse [19] . Exact MLE computation is intensive in a high dimension case since the margin and copula parameters are jointly estimated.

2.6. Goodness of Fit Test Based on Kendall’s Tau

Hence goodness-of-fit measures gives a summary of discrepancy in expected and observed values in a given model. Mostly it is applied in hypothesis testing however in this case we test if the underlying copula data fits in a chosen copula.

H 0 : C L = { C θ : θ Θ } vs H 1 : C L = { C θ : θ Θ }

where Θ is a parameter space and L as the set of copulas. We apply Cramer-von Mises statistic as the test statistic, defined as

S n C n = | 0 , 1 | C n 2 ( u ) d C n ( u ) (33)

where we have U 1 , , U n being observations made from an unknown distribution.

C n ( u ) = 1 n i = 1 n 1 ( U i 1 u 1 , , U i d u d ) (34)

Given the indicator function as the empirical distribution, u = ( u 1 , , u d ) [ 0 , 1 ] d , 1 ( ) and C n = n ( C n C θ n ) . A rejection of H0 is made if the statistic leads to large values.

Computing p-values based on test statistic in the empirical process required generating N as the large number of size n independent sample from C θ n and further computing the statistics corresponding values. S n C n test statistics depending on copula under H0 with the parameter θ being unknown.

3. Main Results

3.1. Descriptive Statistics

From Table 1 the results showed that none of the crypto was normally distributed since Jarque-Bera statistics are statistically significant, and the data series are negatively skewed except for Bitcoin in addition the data also exhibit excess kurtosis. The summary statistics suggest that the probability distribution for Cryptocurrencies are negatively skewed indicating that left tails are bigger than the right tails except for Bitcoin which is positively skewed

Figure 1 shows that there is a medium to high correlation between the currencies. Interestingly, the currencies are positively correlated with each other. These currencies (Litecoin, Dogecoin and Bitcoin) have a very strong correlation. First, Litecoin has a positive fairly strong correlation with Bitcoin namely Bitcoin (0.63). Second, Dogecoin has a positive very strong correlation with Binance coin, namely, Binance (0.82). Third, Bitcoin has a positive strong correlation with Binance (0.85). Therefore from the results there is no stable cryptocurrency.

3.2. Testing for ARCH Effects

The Box-Ljung test is used to test for the existence of ARCH effects using the squared residuals from the fitted mean equation. The tests null hypothesis is that there are no ARCH effects, while the alternative hypothesis is that there are ARCH effects. Since the p-value’s are less than 0.05, ARCH effects are present in the four Cryptocurrencies. Thus we reject the null hypothesis that there are no ARCH effects as indicated in Table 2. This provides evidence of presence of conditional heteroscedasticity in the mean of cryptocurrencies (Bitcoin, Binance, Litecoin and Dogecoin) returns hence GARCH model that accounts for volatility needs to be employed in modeling Binance, Litecoin, Dogecoin and Bitcoin.

3.3. Selection of the GARCH Models

We observe that the standard GARCH specification of order (1,1) under the highly flexible ARMA-GARCH model is appropriate to identify the true patterns

Table 1. Descriptive statistics.

Table 2. Box-Lyung test for ARCH effects.

Figure 1. Correlation matrix.

of the studied index returns, Table 3. And having a well specified marginal model is central to robust copula construction.

3.4. Copula Parameter Estimation

After obtaining standardized residuals from the different specifications of GARCH models, next step was to model the marginals distribution using copula. Since our interest is on dependence structure between Litecoin, Dogecoin and Binance coin prices and Bitcoin prices, we consider the following currency prices pairs; Binance - Bitcoin, Litecoin - Bitcoin and Dogecoin - Bitcoin and we estimate copula model parameters. The best fit copula parameter was determined using AIC, BIC and the log likelihood function.

Table 3. Selected sGARCH Models.

3.4.1. Copula Parameters Binance - Bitcoin Prices

Table 4 presents a summary of BB8 copula parameters. The BB8 provides the best fit since it has the lowest AIC and BIC. The bivariate BB8 copula has two parameters.

3.4.2. Copula Parameters Dogecoin - Bitcoin Prices

Table 5 presents a summary of BB8 copula parameters. The BB8 provides the best fit since it has the lowest AIC and BIC. The bivariate BB8 copula has two parameters.

3.4.3. Copula Parameters Litecoin - Bitcoin Prices

Table 6 presents a summary of BB1 copula parameters. The BB8 provides the best fit since it has the lowest AIC and BIC. The bivariate BB1 copula has two parameters.

3.5. Dependence

Tail Dependence

Tables 4-6 also report the estimated tail dependence coefficients of BB8 and BB1 copulas. The results indicate that for all the studied pairs of returns, the tail dependence parameters, τ u and τ l of the BB1 copulas are statistically significant, suggesting that the dependence at the lower and upper tails is symmetric. The results also show that the pair Litecoin and Bitcoin has the highest tail dependence among the the selected cryptocurrencies, this implies that change in prices of Litecoin will influence the prices of Bitcoin and vice versa is true. There was no tail dependence is detected for the pair Binance and Bitcoin, and Dogecoin and Bitcoin. The BB1 copula is the most suitable to describe the dependence structure in the cryptocurrencies.

3.6. Optimization of Cryptocurrency Portfolio

The optimization process produces 24 different portfolios and displays the optimal portfolio investment, which was constructed by maximizing the Sharpe ratio (Figure 2 and Figure 3). The optimal coin portfolio shows a Sharpe ratio of 0.101. These portfolios are optimal as they locate at the efficient frontier. This observation confirms the assumption of the Markowitz model that allocating assets to a portfolio reduces the overall risk compared to the individual risk of these related assets. The optimization process results into a mean of 0.70% and a volatility of 10.38% for the optimal coin portfolio. Further, the maximized return

Table 4. Copula parameter estimation Binance - Bitcoin.

Table 5. Copula parameter estimation Dogecoin - Bitcoin.

Table 6. Copula parameter estimation Litecoin - Bitcoin.

Figure 2. Coin efficient frontier.

portfolios comprise the full invested (i.e. 100%) of Dogecoin portfolio. However, the maximized return portfolio will not serve as a benchmark portfolio in this analysis. The diversification effect of constructing portfolios of cryptocurrencies, in this case coins significantly reduces risk irrespective of significant correlation among the cryptocurrencies chosen in this analysis.

3.7. Discussion

Exploratory data analysis was first carried out on cryptocurrencies to verify their properties of returns such as normality. It was found that the returns were heavily tailed and negatively skewed except for Bitcoin with presence of ARCH

Figure 3. Portfolio optimization plot.

effects which was examine by using by Ljung box test. sGARCH(1,1) was selected with different specifications where AIC was used to select the most viable GARCH(1,1) model for each cryptocurrency returns. The standardized residuals were used to estimate the marginal distribution for each series. The results showed that BB8 and BB1 copula provides the best fit for the combinations of Litecoin, Binance and Dogecoin and Bitcoin return. Copula GARCH was used to model dependence structure between Litecoin, Binance and Dogecoin returns and Bitcoin returns, where BB1 copula was found to be the most appropriate for examining the dependence between the cryptocurrencies. Optimization of the cryptocurrencies showed that Dogecoin have the best optimization and investing on this coin significantly reduces risk irrespective of significant correlation among Litecoin, Bitcoin and Binance.

4. Conclusions and Suggestions

Cryptocurrencies has attracted a lot of attention to digital market investor and currently there more than 50 cryptocurrencies are actively traded in the market. Economists, financial analysts and investors have focused largely on Bitcoin since it accounts for more than 60% market capitalization. Currently the market knowledge points to the fact that Bitcoin is the most preferred asset in optimization of a portfolio. The study focuses on modelling cryptocurrencies, investigating the currency dependencies and determining an optimal portfolio. Cryptocurrencies are high-risk assets; however, an optimal portfolio eliminates high-risk. The study showed that, standard GARCH of order (1,1) under highly flexible ARMA-GARCH model is the most appropriate model in modelling the cryptocurrency prices and can identify the true pattern of index returns. Cryptocurrency in the market is also highly dependent as Bitcoin, Binance coin, Dogecoin and Litecoin were correlated. Litecoin and Bitcoin have a higher tail dependence and this implied that a change in prices of Litecoin will affect the prices of Bitcoin and vice versa. On optimizing a portfolio composed of cryptocurrencies that is more than necessary for potential investment decisions, Dogecoin has the best optimization. The research contributes to the literature on modelling cryptocurrencies and estimating risk management.

The author of this paper invites scientific community to perform a similar study as this one by considering Bayesian copula Garch which allows model to be data driven and compare the findings.

Acknowledgements

Sincere thanks to my supervisors Dr. Anthony Ngunyi and Dr. Joseph K Mungatu for their professional guidance and performance, and special thanks to my wife and parents for their moral support and rare attitude of high quality.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Rose, C. (2015) The Evolution of Digital Currencies: Bitcoin, a Cryptocurrency Causing a Monetary Revolution. International Business & Economics Research Journal, 14, 617-622. https://doi.org/10.19030/iber.v14i4.9353
[2] Bhosale, J. and Mavale, S. (2018) Volatility of Select Crypto-Currencies: A Comparison of Bitcoin, Ethereum and Litecoin. Annual Research Journal of SCMS Pune, 6.
[3] Ali, R., Barrdear, J., Clews, R. and Southgate, J. (2014) Innovations in Payment Technologies and the Emergence of Digital Currencies. Bank of England Quarterly Bulletin.
[4] Durante, F. and Sempi, C. (2016) Principles of Copula Theory. CRC Press, Boca Raton. https://doi.org/10.1201/b18674
[5] Engle, R.F. (1982) Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation. Econometrica: Journal of the Econometric Society, 50, 987-1007. https://doi.org/10.2307/1912773
[6] Bollerslev, T. (1986) Generalized Autoregressive Conditional Heteroskedasticity. Journal of Econometrics, 31, 307-327.
https://doi.org/10.1016/0304-4076(86)90063-1
[7] Embrechts, P., Lindskog, F. and McNeil, A. (2001) Modelling Dependence with Copulas. Rapport Technique, Département de mathématiques, Institut Fédéral de Technologie de Zurich.
[8] Glosten, L.R., Jagannathan, R. and Runkle, D.E. (1993) On the Relation between the Expected Value and the Volatility of the Nominal Excess Return on Stocks. The Journal of Finance, 48, 1779-1801.
https://doi.org/10.1111/j.1540-6261.1993.tb05128.x
[9] Nelson, D.B. and Cao, C.Q. (1992) Inequality Constraints in the Univariate Garch Model. Journal of Business & Economic Statistics, 10, 229-235.
https://doi.org/10.1080/07350015.1992.10509902
[10] Sklar, A. (1973) Random Variables, Joint Distribution Functions, and Copulas. Kybernetika, 9, 449-460.
[11] Ruschendorf, L. (2009) On the Distributional Transform, Sklar’S Theorem, and the Empirical Copula Process. Journal of Statistical Planning and Inference, 139, 3921-3927. https://doi.org/10.1016/j.jspi.2009.05.030
[12] Nelsen, R.B. (2002) Concordance and Copulas: A Survey. In: Cuadras, C.M., Fortiana, J. and Rodriguez-Lallena, J.A., Eds., Distributions with Given Marginals and Statistical Modelling, Springer, Dordrecht, 169-177.
https://doi.org/10.1007/978-94-017-0061-0_18
[13] Joe, H. (2014) Dependence Modeling with Copulas. CRC Press, New York.
https://doi.org/10.1201/b17116
[14] Lindskog, F., McNeil, A. and Schmock, U. (2003) Kendall’s Tau for Elliptical Distributions. In: Bol, G., Nakhaeizadeh, G., Rachev, S.T., Ridder, T. and Vollmer, K.H., Eds., Credit Risk, Physica-Verlag Heidelberg Publisher, Berlin, 149-156.
https://doi.org/10.1007/978-3-642-59365-9_8
[15] McNeil, A.J., Neslehova, J.G. and Smith, A.D. (2020) On Mixtures of Extremal Copulas and Attainability of Concordance Signatures. arXiv e-prints, Pages arXiv-2009.
[16] Genest, C. and MacKay, J. (1986) The Joy of Copulas: Bivariate Distributions with Uniform Marginals. The American Statistician, 40, 280-283.
https://doi.org/10.1080/00031305.1986.10475414
[17] Schmidt, R. (2005) Tail dependence. In: Čížek, P., Weron, R. and Härdle, W., Eds., Statistical Tools for Finance and Insurance, Springer, Berlin, 65-91.
https://doi.org/10.1007/3-540-27395-6_3
[18] Embrechts, P., Hofert, M. and Wang, R. (2016) Bernoulli and Tail-Dependence Compatibility. The Annals of Applied Probability, 26, 1636-1658.
https://doi.org/10.1214/15-AAP1128
[19] Cherubini, U., Mulinacci, S., Gobbi, F. and Romagnoli, S. (2011) Dynamic Copula Methods in Finance. John Wiley & Sons, New York.
https://doi.org/10.1002/9781118467404

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.