<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JFRM</journal-id><journal-title-group><journal-title>Journal of Financial Risk Management</journal-title></journal-title-group><issn pub-type="epub">2167-9533</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jfrm.2019.84015</article-id><article-id pub-id-type="publisher-id">JFRM-96650</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Business&amp;Economics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Analysis of the Dependence of Stock Risk Based on Copula Theory
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Qi</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Guangming</surname><given-names>Deng</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xin</surname><given-names>Tan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Science, Guilin University of Technology, Guilin, China</addr-line></aff><pub-date pub-type="epub"><day>19</day><month>11</month><year>2019</year></pub-date><volume>08</volume><issue>04</issue><fpage>224</fpage><lpage>231</lpage><history><date date-type="received"><day>25,</day>	<month>October</month>	<year>2019</year></date><date date-type="rev-recd"><day>25,</day>	<month>November</month>	<year>2019</year>	</date><date date-type="accepted"><day>28,</day>	<month>November</month>	<year>2019</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  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.
 
</p></abstract><kwd-group><kwd>Stock Risk</kwd><kwd> Dependence</kwd><kwd> Copula Function</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The rapid development of the economy emphasizes the importance of financial risk. Longin &amp; 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 &amp; 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.</p><p>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.</p></sec><sec id="s2"><title>2. Copula Function</title><p>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</p><p>F ( x 1 , x 2 , ⋯ , x N ) = C [ F X 1 ( x 1 ) , F X 2 ( x 2 ) , ⋯ , F X N ( x N ) ] . (1)</p><sec id="s2_1"><title>2.1. Properties of Binary Distributed Copula Function</title><p>&#183; C ( u , v ) is incremental for all its variables;</p><p>&#183; for any u and v ( u , v ∈ [ 0 , 1 ] ) , C ( u , 0 ) = C ( 0 , v ) = 0 , C ( u , 1 ) = u , C ( 1 , v ) = v ;</p><p>&#183; 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 ;</p><p>&#183; 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 | ;</p><p>&#183; If U and V are independent and obey the uniform distribution on [0, 1], then C ( u , v ) = u v .</p></sec><sec id="s2_2"><title>2.2. Gaussian Copula Function and t-Copula Function</title><p>Two-dimensional Gaussian Copula function:</p><p>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)</p><p>where ρ is a dependent parameter, − 1 ≤ ρ ≤ 1 , Φ − 1 and Φ − 1 are normal distribution function and inverse function respectively.</p><p>Two-dimensional t-Copula function:</p><p>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)</p><p>where the linear correlation coefficient between variables is − 1 ≤ ρ ≤ 1 , the degree of freedom is k.</p><p>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.</p></sec><sec id="s2_3"><title>2.3. Construction of Copula Model</title><p>The steps to build copula model are as follows:</p><p>1) According to the daily closing price data, the daily return rate of stock is calculated and its statistical characteristics are described.</p><p>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.</p><p>3) Catching the dependent structure between random variables by Gaussian Copula function and t-Copula function.</p></sec></sec><sec id="s3"><title>3. Empirical Analysis</title><sec id="s3_1"><title>3.1. Sample Selection</title><p>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 <xref ref-type="fig" rid="fig1">Figure 1</xref> and <xref ref-type="fig" rid="fig2">Figure 2</xref> 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.</p></sec><sec id="s3_2"><title>3.2. Nonparametric Estimation</title><p>Kernel density estimation method is selected for nonparametric estimation. It is</p><p>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:</p><p>f n ( x ) = 1 n h n ∑ i = 1 n K ( x − X i h n ) , (4)</p><p>where K ( ) is kernel function.</p><p><xref ref-type="table" rid="table1">Table 1</xref> 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.</p><p>This paper chooses Gaussian function as the kernel function since the time series of stock return has the characteristics of peak and thick tail.</p><p>It can be seen from <xref ref-type="fig" rid="fig3">Figure 3</xref> and <xref ref-type="fig" rid="fig4">Figure 4</xref> 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.</p></sec><sec id="s3_3"><title>3.3. Selection of Copula Function</title><p><xref ref-type="fig" rid="fig5">Figure 5</xref> 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:</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Statistics of daily return</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Company</th><th align="center" valign="middle" >N</th><th align="center" valign="middle" >Mean</th><th align="center" valign="middle" >Variance</th><th align="center" valign="middle" >Skewness</th><th align="center" valign="middle" >Kurtosis</th></tr></thead><tr><td align="center" valign="middle" >Midea Group</td><td align="center" valign="middle" >510</td><td align="center" valign="middle" >0.0798</td><td align="center" valign="middle" >4.7646</td><td align="center" valign="middle" >0.1148</td><td align="center" valign="middle" >4.6121</td></tr><tr><td align="center" valign="middle" >Gree Electric</td><td align="center" valign="middle" >510</td><td align="center" valign="middle" >0.1386</td><td align="center" valign="middle" >4.9937</td><td align="center" valign="middle" >0.4588</td><td align="center" valign="middle" >5.7310</td></tr></tbody></table></table-wrap><p>ρ ^ 1 = [ 1.0000 0.0654 0.0654 1.0000 ] .</p><p>The estimated value of linear correlation parameter ρ and degree of freedom k of t-Copula function is</p><p>ρ ^ 2 = [ 1.0000 0.0701 0.0701 1.0000 ] ,</p><p>and the estimated value of degree of freedom k of t-Copula function is k ^ = 2.2496 e + 06 .</p><p><xref ref-type="fig" rid="fig6">Figure 6</xref> and <xref ref-type="fig" rid="fig7">Figure 7</xref> 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.</p></sec><sec id="s3_4"><title>3.4. Model Evaluation</title><p>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:</p><p>d 2 = ∑ i = 1 n | C ^ n ( u i , v i ) − C ^ ( u i , v i ) | , (5)</p><p>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.</p></sec></sec><sec id="s4"><title>4. Conclusion</title><p>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</p><p>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.</p></sec><sec id="s5"><title>Acknowledgements</title><p>This paper is financially supported by National Natural Science Foundation of China (NSFC) under Grant number 71963008.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Li, Q., Deng, G. M., &amp; Tan, X. (2019). Analysis of the Dependence of Stock Risk Based on Copula Theory. Journal of Financial Risk Management, 8, 224-231. https://doi.org/10.4236/jfrm.2019.84015</p></sec></body><back><ref-list><title>References</title><ref id="scirp.96650-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Hammoudeh, S., Nguyen, D. K., Reboredo, J. C., &amp; 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</mixed-citation></ref><ref id="scirp.96650-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Longin, F., &amp; Solnik, B. (2001). Extreme Correlation of International Equity Markets. The Journal of Finance, 56, 649-676. https://doi.org/10.1111/0022-1082.00340</mixed-citation></ref><ref id="scirp.96650-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Nelsen, R. B. (2006). An Introduction to Copulas. An Introduction to Copulas.</mixed-citation></ref><ref id="scirp.96650-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H. H., &amp; Ke, B. (2005). Efficiency Tests of Agricultural Commodity Futures Markets in China. Australian Journal of Agricultural &amp; Resource Economics, 49, 125-141.  
https://doi.org/10.1111/j.1467-8489.2005.00283.x</mixed-citation></ref></ref-list></back></article>