Analysis of the Dependence of Stock Risk Based on Copula Theory

Abstract

The rapid development of the economy emphasizes the importance of financial risk. Financial risk analysis can help people understand finance more deeply and reduce the loss of profits. This paper is about the dependence on stocks, which is very important for analyzing the dependence structure of stock market and the portfolio risk of investment market. The experimental data are the daily closing price data of shares of Midea Group and Gree Electric. Copula theory is used to fit the daily return data of Gree Electric and Midea Group. By establishing the correlation structure model of the stock market, the daily return data of Gree Electric and Midea Group are better simulated.

Share and Cite:

Li, Q. , Deng, G. and Tan, X. (2019) Analysis of the Dependence of Stock Risk Based on Copula Theory. Journal of Financial Risk Management, 8, 224-231. doi: 10.4236/jfrm.2019.84015.

1. Introduction

The rapid development of the economy emphasizes the importance of financial risk. Longin & Solnik (2001) proposed that testing the hypothesis that international equity market correlation increases in volatile times is a difficult exercise and misleading results have often been reported in the past because of a spurious relationship between correlation and volatility. As a result of the complex relationship between stock markets and within the market, the fluctuation of one risk is likely to cause the fluctuation of other risk factors. The efficiency of the Chinese wheat and soybean futures markets is studied by Wang & He (2005). The exact definition of Copula function is given by Nelsen (2006). Zhang proposed that copula technique is a kind of comparatively new method of financial risk analysis, whose core is to connect the co-distribution of many random variances with their fringe distributions. Copula function is very important in the analysis of market risk. Hammoudeh et al. (2014) examine the recent trends in dependence structure between the fast-growing commodity markets and the stock markets in China by using copula functions.

This paper selected daily closing price data of Gree Electric and Midea Group shares and analyzed the daily return of the two stocks by copula function.

2. Copula Function

Nelsen (2006) proposed that Copula function is a join function that connects the joint distribution function F ( x 1 , x 2 , , x N ) of random vectors X 1 , X 2 , , X N with their respective edge distribution functions F X 1 ( x 1 ) , F X 2 ( x 2 ) , , F X N ( x N ) . That is, the function C ( u 1 , u 2 , , u N ) , making

F ( x 1 , x 2 , , x N ) = C [ F X 1 ( x 1 ) , F X 2 ( x 2 ) , , F X N ( x N ) ] . (1)

2.1. Properties of Binary Distributed Copula Function

· C ( u , v ) is incremental for all its variables;

· for any u and v ( u , v [ 0 , 1 ] ) , C ( u , 0 ) = C ( 0 , v ) = 0 , C ( u , 1 ) = u , C ( 1 , v ) = v ;

· For any u 1 , u 2 , v 1 and v 2 , if 0 u 1 u 2 1 and 0 v 1 v 2 1 , then C ( u 2 , v 2 ) C ( u 2 , v 1 ) C ( u 1 , v 2 ) + C ( u 1 , v 1 ) 0 ;

· For any u 1 , u 2 , v 1 , v 2 , if u 1 [ 0 , 1 ] , u 2 [ 0 , 1 ] , v 1 [ 0 , 1 ] and v 2 [ 0 , 1 ] , then | C ( u 2 , v 2 ) C ( u 1 , v 1 ) | | u 2 u 1 | + | v 2 v 1 | ;

· If U and V are independent and obey the uniform distribution on [0, 1], then C ( u , v ) = u v .

2.2. Gaussian Copula Function and t-Copula Function

Two-dimensional Gaussian Copula function:

C G a ( u , v , ρ ) = Φ 1 ( u ) Φ 1 ( v ) 1 2 π 1 ρ 2 exp ( s 2 2 ρ s t + t 2 2 ( 1 ρ 2 ) ) d s d t , (2)

where ρ is a dependent parameter, 1 ρ 1 , Φ 1 and Φ 1 are normal distribution function and inverse function respectively.

Two-dimensional t-Copula function:

C G a ( u , v , ρ , k ) = t k 1 ( u ) t k 1 ( v ) 1 2 π 1 ρ 2 exp ( s 2 2 ρ s t + t 2 k ( 1 ρ 2 ) ) ( k + 2 ) / 2 d s d t , (3)

where the linear correlation coefficient between variables is 1 ρ 1 , the degree of freedom is k.

Gaussian Copula function and t-Copula function have symmetrical tails, but Gaussian Copula function can’t capture the asymmetric tail correlation between random variables. The t-Copula function has a thick tail, which is very sensitive to the changes of random variables distributed in dimensions, and can better capture the tail correlation changes.

2.3. Construction of Copula Model

The steps to build copula model are as follows:

1) According to the daily closing price data, the daily return rate of stock is calculated and its statistical characteristics are described.

2) The kernel density estimation method is used to construct the edge distribution, so as to fit the variation characteristics and distribution characteristics of random variables.

3) Catching the dependent structure between random variables by Gaussian Copula function and t-Copula function.

3. Empirical Analysis

3.1. Sample Selection

This paper selected the daily closing price data of shares of Midea Group and Gree Electric from July 14, 2007 to October 17, 2019, to study the internal relationship between two stock markets. The data comes from Oriental Fortune net. According to the daily closing price, the daily return of the stock is obtained, and its frequency histogram is given below. It can be seen from Figure 1 and Figure 2 that the distribution of the two-time series is relatively uniform, showing the characteristics of peak and thick tail, but the two-time series are not normal distribution.

3.2. Nonparametric Estimation

Kernel density estimation method is selected for nonparametric estimation. It is

Figure 1. Frequency histogram of daily return of Midea Group.

Figure 2. Frequency histogram of daily return of Gree Electric.

defined as: If the random sample of a single variable x is x 1 , x 2 , , x n , the nonparametric density estimation method of the probability density distribution function f ( x ) of x is defined as:

f n ( x ) = 1 n h n i = 1 n K ( x X i h n ) , (4)

where K ( ) is kernel function.

Table 1 gives the statistics of daily return, such as mean, variance, skewness and kurtosis. The two-time series are not normal distribution since their kurtosis is large than 3.

This paper chooses Gaussian function as the kernel function since the time series of stock return has the characteristics of peak and thick tail.

It can be seen from Figure 3 and Figure 4 that the empirical distribution function of the stock daily return of Midea Group and Gree Electric is basically consistent with the estimation of the nonparametric kernel distribution, and the nonparametric kernel density estimation can well estimate the overall distribution of the sample.

3.3. Selection of Copula Function

Figure 5 shows the binary frequency histogram. Obviously, the daily return data of the tail are similar, so the tail of the two series is basically symmetrical. So ( u , v ) has a tail symmetric joint density function. This paper chooses the binary Gaussian Copula function and the binary t-Copula function to describe the correlation of the original sample data. The estimated value of linear correlation parameter ρ of Gaussian Copula function is:

Table 1. Statistics of daily return.

Figure 3. Empirical distribution function and kernel distribution of Midea Group.

Figure 4. Empirical distribution function and kernel distribution of Gree Electric.

Figure 5. Statistical graph of binary Copula function.

ρ ^ 1 = [ 1.0000 0.0654 0.0654 1.0000 ] .

The estimated value of linear correlation parameter ρ and degree of freedom k of t-Copula function is

ρ ^ 2 = [ 1.0000 0.0701 0.0701 1.0000 ] ,

and the estimated value of degree of freedom k of t-Copula function is k ^ = 2.2496 e + 06 .

Figure 6 and Figure 7 show the density distribution functions and distribution functions of the binary Gaussian Copula function and the binary t-Copula function. It can be seen that density distribution functions of binary Gaussian Copula function and the binary t-Copula function are similar.

3.4. Model Evaluation

In order to verify the goodness of fit of binary Gaussian Copula function and the binary t-Copula function, this paper selected the method of squared Euclidean distance. The smaller the square Euclidean distance is, the better the fitting effect of Copula function is. The square Euclidean distance can be calculated by the following formula:

d 2 = i = 1 n | C ^ n ( u i , v i ) C ^ ( u i , v i ) | , (5)

where C ^ n ( u i , v i ) is an empirical Copula function. The fitting effect of binary Gaussian Copula function and the binary t-Copula function are similar since the square Euclidean distances between empirical Copula function and the two Copula functions.

4. Conclusion

The main contribution of this paper is to select the daily closing price data of shares of Midea Group and Gree Electric as the research object, use copula function

Figure 6. The density distribution function and distribution function of the binary Gaussian Copula function.

Figure 7. The density distribution function and distribution function of the binary t-Copula function.

to establish the model, and analyze the daily return of stock. The results show that the binary Gaussian Copula function and the binary t-Copula function can simulate the daily return data of the stock market very well. Copula function is very important in the analysis of market risk. Copula function can be used to better simulate financial data and decompose financial risks, so as to reduce the impact of financial risks. This paper only selects the data of two stocks in China, which are not very representative. In order to better study the role of Copula function in financial risk analysis, it is necessary to select more representative data.

Acknowledgements

This paper is financially supported by National Natural Science Foundation of China (NSFC) under Grant number 71963008.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Hammoudeh, S., Nguyen, D. K., Reboredo, J. C., & Wen, X. (2014). Dependence of Stock and Commodity Futures Markets in China: Implications for Portfolio Investment. Emerging Markets Review, 21, 183-200.
https://doi.org/10.1016/j.ememar.2014.09.002
[2] Longin, F., & Solnik, B. (2001). Extreme Correlation of International Equity Markets. The Journal of Finance, 56, 649-676.
https://doi.org/10.1111/0022-1082.00340
[3] Nelsen, R. B. (2006). An Introduction to Copulas. An Introduction to Copulas.
[4] Wang, H. H., & Ke, B. (2005). Efficiency Tests of Agricultural Commodity Futures Markets in China. Australian Journal of Agricultural & Resource Economics, 49, 125-141.
https://doi.org/10.1111/j.1467-8489.2005.00283.x

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.