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 efﬁciency 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 of random vectors with their respective edge distribution functions . That is, the function , making
2.1. Properties of Binary Distributed Copula Function
· is incremental for all its variables;
· for any u and v , , , ;
· For any and , if and , then ;
· For any , if and , then ;
· If U and V are independent and obey the uniform distribution on [0, 1], then .
2.2. Gaussian Copula Function and t-Copula Function
Two-dimensional Gaussian Copula function:
where is a dependent parameter, , and are normal distribution function and inverse function respectively.
Two-dimensional t-Copula function:
where the linear correlation coefficient between variables is , 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 , the nonparametric density estimation method of the probability density distribution function of x is defined as:
where 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 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.
The estimated value of linear correlation parameter and degree of freedom k of t-Copula function is
and the estimated value of degree of freedom k of t-Copula function is .
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:
where 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.
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.
This paper is financially supported by National Natural Science Foundation of China (NSFC) under Grant number 71963008.
 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.
 Wang, H. H., & Ke, B. (2005). Efficiency Tests of Agricultural Commodity Futures Markets in China. Australian Journal of Agricultural & Resource Economics, 49, 125-141.