Next Article in Journal
Principle of Least Effort and Sentence Length in Public Speaking
Next Article in Special Issue
Network Autoregressive Model for the Prediction of COVID-19 Considering the Disease Interaction in Neighboring Countries
Previous Article in Journal
The Information Loss of a Stochastic Map
Previous Article in Special Issue
Multifractal Behaviors of Stock Indices and Their Ability to Improve Forecasting in a Volatility Clustering Period
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic Time Warping Algorithm in Modeling Systemic Risk in the European Insurance Sector

Department of Mathematics, Cracow University of Economics, ul. Rakowicka 27, 31-510 Kraków, Poland
*
Authors to whom correspondence should be addressed.
Entropy 2021, 23(8), 1022; https://doi.org/10.3390/e23081022
Submission received: 4 July 2021 / Revised: 5 August 2021 / Accepted: 6 August 2021 / Published: 8 August 2021
(This article belongs to the Special Issue Fractal and Multifractal Analysis of Complex Networks)

Abstract

:
We are looking for tools to identify, model, and measure systemic risk in the insurance sector. To this aim, we investigated the possibilities of using the Dynamic Time Warping (DTW) algorithm in two ways. The first way of using DTW is to assess the suitability of the Minimum Spanning Trees’ (MST) topological indicators, which were constructed based on the tail dependence coefficients determined by the copula-DCC-GARCH model in order to establish the links between insurance companies in the context of potential shock contagion. The second way consists of using the DTW algorithm to group institutions by the similarity of their contribution to systemic risk, as expressed by DeltaCoVaR, in the periods distinguished. For the crises and the normal states identified during the period 2005–2019 in Europe, we analyzed the similarity of the time series of the topological indicators of MST, constructed for 38 European insurance institutions. The results obtained confirm the effectiveness of MST topological indicators for systemic risk identification and the evaluation of indirect links between insurance institutions.

1. Introduction

The European Insurance and Occupational Pensions Authority (EIOPA) [1] acts as an independent advisor to the European Parliament. In a document from 2017, it noted that the dynamics of mutual connections in the insurance sector has significant importance. It was indicated that the phenomenon of systemic risk should be particularly analyzed in the context of contagion, i.e., the spread of negative effects of financial disturbances in the sector. The aim of this paper was to investigate the applicability of network theory tools in conjunction with the Dynamic Time Warping algorithm.
We used the Dynamic Time Warping (DTW) algorithm in two ways to evaluate the suitability of Minimum Spanning Trees’ topological indicators in the context of systemic risk (SR) and to construct the MST, to establish the similarity between the time series of the DeltaCoVaR measure. We showed the contribution of the surveyed insurance institutions to the systemic risk of the insurance sector in the different market states. In the paper, we analyzed the dynamics of indirect connections between insurance companies that result from market price channels. In that analysis, we assumed that the stock quotations of insurance companies reflect market sentiments that constitute a very important systemic risk factor. Interlinkages between insurers and their dynamics have a direct impact on systemic risk contagion in the insurance sector. We proposed as in [2] “a hybrid approach to the analysis of interlinkages dynamics based on combining the copula-DCC-GARCH model and Minimum Spanning Trees (MST).”
A Minimum Spanning Tree is a connected and acyclic graph with the smallest sum of weights assigned to each edge, where each vertex is an insurance institution and the edges connect those lying at relatively small distances, i.e., those companies that share important similarities. Using the copula-DCC-GARCH model we determined the tail dependence coefficients. Then, for each analysed period t for ( t = 1 , , T ) we constructed M S T t with k vertices and k 1 edges based on these coefficients using the Kruskal algorithm. The graph M S T t models the state of the network of connections between insurance companies in the period t . The vertices of the graph are individual insurance companies, and edges indicate the existence of relatively small distances and thus similarities between pairs of insurance companies. M S T t can be considered filtered networks, which allow us to identify the most likely and the shortest crisis (systemic risk) transmission path. In the analyzed period, indirect connections between insurance companies that result from market price channels change; therefore, the M S T t reflecting them is characterized by a different structure. We can distinguish a structure resembling a star or a chain. The star structure indicates the connections between institutions that, in the event of negative financial events, will be the transmission path of the negative effects of these events. Such a structure is associated with the unwanted effect of infection (risk propagation). The MST chain structure shows that there are fewer links between institutions. The transmission of the effects of disturbances or the disturbances themselves are dissipated more slowly if MST is more diffused.
Thus, by observing the MST topology, we can assess the links between institutions in the context of the possibility of propagating systemic risk. To assess the topological structure of MST, we used selected topological indicators in the years 2005–2019. The times series obtained from the proposed hybrid approach reflect the phenomena occurring on the market. We answered the question of whether the analyzed MST topological indicators can be considered to identify and model systemic risk. We used the DTW algorithm, which allows one to determine the similarity between time series, which may be of different length and are distorted (stretched or shifted) in relation to the time axis. We established the similarity of time series in periods of financial crises and in periods outside of crises. The similarity of time series in the respective states confirmed that the topological indicators of MST constructed in this way are a tool that allows the identification of SR in the insurance sector and reflects the dynamics of mutual indirect interrelations between insurers.
Moreover, in this paper, we examined the contribution of a single insurer to the systemic risk of the European insurance sector using the measure DeltaCoVaR. The CoVaR measure is the basis for measuring SR. Formally, in [3], C o V a R j | i β , t is defined as the value at risk at the β significance level (VaR) of an institution j under the condition that another institution i is at risk of crisis in a given period t . Then, for the second time in this paper, we used the DTW algorithm in a different context. This time, we established DTW ( i , j )—the similarity of the DeltaCoVaR time series between pairs ( i , j ) of insurers in periods of different crises and in the normal period. Then, based on the DTW ( i , j ) distance matrix, we constructed the MST for these periods, and thus, we grouped insurance institutions according to the similar contribution to systemic risk, i.e., the DeltaCoVaR measure.
Systemic risk in the insurance sector has attracted much attention lately. It has been studied by: [4,5,6,7,8,9,10] and risk infection has been studied by [11,12,13]; nevertheless, none of these approaches are a hybrid approach in which the possibility of combining different measures would be analyzed as proposed in our project. Dynamic Time Warping (DTW) is one of the algorithms for measuring the similarity between two time series of different length, which may differ with time. The algorithm itself [14] was introduced in the 1960s. In recent years, Dynamic Time Warping (DTW) has emerged as the distance measure of choice for virtually all time series data mining applications. DTW is so far a widely used algorithm in noneconomic fields such as speech recognition [15], image [16] or motion recognition [17], ECG analysis, biometrics, signal analysis, and data mining. The paper [18] showed that the nonparametric DTW measure of similarity is better than other measures, such as the Pearson correlation coefficient, and yet [19] stated that economic research has not yet used the full potential of Dynamic Time Warping. We can also find studies in the literature in economic research that have used the DTW technique [20,21]. MST is widely used in financial network analysis. Examples may be the works in which the topological indices of MST we are analyzing have also been examined by [22,23,24,25].

2. Data and Methodology

The study was based on the stock quotes of 38 European insurance institutions. Most of them can be found among the top 50 insurance companies in Europe based on total assets. These are: “Achmea (Eureko Group), Aegon Group/Unirobe Meeùs Group, AGEAS, Allianz, Aviva, AXA, BNP Paribas, Grupo Catalana Occidente, CNP Assurances, Royal Bank of Scotland Group, Generali, Groupe Crédit Agricole Assurances, HDI/Talanx, If P&C Insurance, ING Group, KBC, Legal & General Group plc, Mapfre, Munich Re, Old Mutual plc, Prudential, RSA Insurance Group, SCOR, Lloyds Banking Group, Unipol, UNIQA Insurance Group, Vienna Insurance Group, Zurich Insurance, Swiss Life, Chubb Ltd., Hannover Re, Storebrand, XL.Group, Helvetia Holding, Mediolanum, Sampo Oyj, Societa Cattolica di Assicurazione, and Topdanmark A/S.” We analyzed weekly logarithmic returns for the period from 7 January 2005 to 20 December 2019.

2.1. MST Construction Based on the Tail Dependencies of the Log-Returns

As in the paper [2], we analyzed changes in interconnections in the European insurance sector using a new methodology. For the construction of Minimum Spanning Trees (MST), we used the relationships in the tails of logarithmic rates of return, estimated with the use of the copula-DCC-GARCH model. Therefore, based on two-dimensional copula-DCC-GARCH models for each studied period t , ( t = 1 , , T ) and each pair of rates of return r i , t ,   r j , t , ( i , j = 1 , , k , j > i ), we estimated the bivariate joint distributions:
F t r i , t , r j , t = C i j , t F i , t r j , t , F j , t r i , t
where C i j , t is the copula, and F t and F i , t , F j , t , respectively, denote the joint cumulative distribution function and the cumulative distribution functions of the marginal distributions at time t . Further on, using the copulas C i j , t we estimated the pairwise lower tail dependence of the returns r i , t ,   r j , t :
λ t L i , j = lim q 0 + C i j , t q , q q .
We considered various possible copula-DCC-GARCH two-dimensional models to estimate λ t L   i , j . For all instruments, we assumed the ARMA (1,1) -sGARCH (1,1) model with the Student skew distribution. However, to examine the dynamics of the relationship between log-returns, we used Student copulas with correlations established using the DCC (1, 1) model and a constant shape parameter. We selected the above specifications on the basis of information criteria and appropriate model adequacy tests.
Then, for each period t, we determined the “distance” matrix between insurance companies using the metric (Mantegna and Stanley, 1999):
d t i , j = 2 1 λ t L i , j
and using the Kruskal algorithm (Mantegna and Stanley, 1999), we constructed Minimum Spanning Trees M S T t with k vertices and k 1 edges.

2.2. MST Topological Indicators

Based on the trees thus obtained, M S T t   t = 1 T , we determined the time series of the following topological network indicators, whose definitions and interpretations in the context of systemic risk can be found in the work [2]:
  • Average Path Length (APL) [25]. For MST, it is an indicator that tells you the average number of steps between all possible pairs of vertices in the network. As it is an average number of steps, the network may well have several vertices separated by a large number of steps and many others lying close to each other, i.e., needing few steps. This indicator is a measure of the effectiveness of the information flow. It is seen in the literature as one of the strongest measures of MST structure. It distinguishes between easy-to-transition networks and those that are complex and inefficient. The structure of the network of interconnections between financial institutions is important for systemic risk. This indicator tells you whether the MST data have a structure that will be vulnerable to infection with adverse effects of negative financial events. Or, on the contrary, as a network of difficult and distant connections, it will slow down the flow of information.
  • Network Diameter (Diameter) [23]. This is an MST indicator obtained as the length of the longest geodesic path between any two nodes. This distance is determined as the sum of the weights assigned to the edges connecting the vertices. If the Diameter shrinks, it means the distance between the vertices lying most apart is decreasing. This network structure favors the transfer of information.
  • Maximum Degree (Max.Degree) [25]. The degree of an MST vertex is the number of its connections to adjacent vertices. After determining the vertex that has the greatest number of such connections, this number is assigned to MST as the Maximum Degree. Any dynamic change of the Maximum Degree alters the structure of the network. The increase in Maximum Degree means that there is a vertex in the network that has numerous connections to other vertices. For systemic risk, the MST structure with a high Max.Degree offers the possibility of rapid shock contagion.
  • Parameter “alpha” of the power law of the degree distribution [25]. This is a parameter of a power distribution of vertex degrees. For each MST, it can be checked whether the vertex distribution is consistent with the power distribution and has the form P (s) = C ∙ s ^ (−α), α > 0, for α, which is a parameter related to a given MST. If the α parameter belongs to the range (2,3), it means that the network structure is scale-free and has self-similarities, i.e., a repeating structure. When analyzing SR, such MSTs with hub nodes can promote the spread of negative financial information. Hub vertices, i.e., institutions that have numerous connections, are potentially systemically important institutions. If such an institution is threatened, the consequences of this situation could be felt by many related financial institutions.
  • Rich Club Effect (RCE) [22,23] specifies how the vertices are connected. The RCE for a fixed vertex degree k tells you how many times the vertices of degree k are connected to those of degree k or higher. RCE determines the stability of the network. The higher the RCE, the easier the information is conveyed. The structure of the MST is more compact for higher RCE, which potentially enables contagion and transferability of the negative effects of shocks in the financial market.
  • Assortativity [24] evaluates the entire MST structure, how vertices in the network are generally linked one to another: whether the high-degree vertices connect with those that also have a high degree, or with low-degree ones. Assortativity, expressed with scalar ρ, takes values in the range (−1,1). Negative assortativity means that high-degree vertices merge into low-degree vertices. Positive assortativity means that high-degree vertices converge into high-degree vertices. Assortativity informs about the structure of the network and its dynamic behavior, as well as resistance to the random spread of the crisis.
MST can reveal the roles of individual stocks. MST topological indicators, such as Betweenness Centrality, Vertex degree, Vertex strength, and Closeness Centrality, allow the assessment of the role and importance of a single institution in the entire network. Nevertheless, this area was not addressed in this study.

2.3. Market Regimes under Study

In this paper, for the mentioned MST topological indicators, we determined the DTW distance between the series in the following periods:
  • Subprime Mortgage Crisis (SMC): the period of two subprime crises and excessive public debt, which began in 2008 and lasted until around 2013. This period in our time series stretches exactly between 8 February 2008 and 1 March 2013
  • Immigrant (I): the period of crisis associated with the beginning of the migration crisis in Europe in 2015/2016. This period on our time series stretches exactly from 7 August 2015 to 23 September 2016
  • France and Italy Crisis (FIC): crisis in the countries of the European Union related to the crisis in France associated with strikes, and in Italy due to the ever-growing public debt (which is now seven times higher than the debt in Greece), falling at the turn of 2017 and 2018. In our case, it is exactly the period from 21 April 2017 to 11 May 2018
  • Normal (N), which is set in the remaining time intervals. It consists of four periods: N 1 (7 January 2005–1 February 2008), N 2 (8 March 2013–31 July 2015), N 3 (30 September 2016–14 April 2017), and N 4 (18 May 2018–20 December 2019).

2.4. Dynamic Time Warping Algorithm

For each topological indicator, we analyzed the similarity of the time series in the periods mentioned, applying the principle of comparing each period with each other period. We treated given episodes of series as time series of various lengths X = x 1 , , x n   and   Y = y 1 , , y m   for   n     1 ,   2   ,   ,   N   ,   m   1 ,   2   ,   ,   M   , with N ,   M N . The DTW algorithm establishes the local measure of costs, sometimes called the local distance measure, i.e., a function 𝜃 : S × S R + . Usually, θ x , y is small (low cost) if x and y are similar; otherwise, θ x , y is large (high cost). Determining the local cost measure for each pair of terms of X and Y series, we obtained a cost matrix Θ N × M defined by Θ n , m θ x n , y m . The local cost measure was determined by 𝜃 x n , y m = x n y m 2 . Then, the warping path was determined. A warping path is a sequence w = ( w 1 , ,   w K ) , for w l = n l , m l 1 , , N × 1 , , M , f o r   k 1 , , K and meets the following conditions:
  • Boundary condition: w 1 = 1 , 1   and   w K = N , M .
  • Monotonicity condition: n 1     n 2         n K   and   m 1     m 2         m K .
  • Step size condition: w k + 1 w k   1 ,   0 , 0 ,   1 , 1 ,   1   for   k 1 , ,   K 1 .
The total cost θ w X , Y of the warping path  w between X and Y with respect to the local cost measure θ x , y is defined as θ w X , Y k = 1 K θ x n k , y m k . An optimal warping path between X and Y is denoted by w * —it is a warping path with the minimum total cost of all possible paths.
D T W X , Y θ w *   X , Y = min θ w X , Y ,   w h e r e   w   i s   a n   N , M   w a r p i n g   p a t h
The normalized DTW distance is the distance divided by N + M, where N and M are the lengths of the time series X and Y, respectively.

2.5. DeltaCoVaR Measure

By examining the contribution to systemic risk of all the analyzed insurance institutions, we established a standard DeltaCoVaR measure for each of them based on the estimation C o V a R j | i β , t described in the paper [3].
Measure C o V a R j | i β , t is the value at risk (VaR) of an institution j under the condition that another institution i is at risk of crisis in a given period t, i.e., its rate of return is less than its value at risk:
P ( r j , t C o V a R j | i β , t | r i , t     V a R i α , t ) = β
Using the formula for the conditional probability, we have:
P r j , t   C o V a R j | i β , t ,   r i , t     V a R i α , t P r i , t     V a R i α , t = β
In addition, the definition of value-at-risk for institutions and implies that
P r i , t V a R i α , t = α
From Equations (6) and (7), we obtain:
P ( r j , t C o V a R j | i β , t , r i , t     V a R i α , t ) = α β
From (8), we can estimate C o V a R j | i β , t once we have determined the two-dimensional distribution F t of the rate-of-return vector ( r j , t ,   r i , t ) . This distribution can be represented using the copula in the following ways:
F t ( r j , t ,   r i , t ) = C t F r j , t , F r i , t
From Formula (9), we can numerically calculate C o V a R j | i β , t by solving the equation:
C t F t C o V a R j | i β , t , α = α β
The value of the measure C o V a R j | i β , t permits the computation of the measure DeltaCoVaR ( Δ C o V a R β j | i ), which is the difference between the value at risk of the insurance sector (institution j ), provided that the insurer (institution i ) is in a state of financial crisis and the value at risk of the insurance sector when the financial standing of the entity i is normal (average), i.e.,
Δ C o V a R β j | i = C o V a R β j | X i = V a R i α C o V a R β j | X i = M e d i a n i
The value of this measure represents the institution’s share in generating systemic risk. In order to estimate the DeltaCoVaR measure, we assumed that the European insurance sector is represented by the STOXX 600 Europe Insurance index.

3. Empirical Results and Discussion

3.1. MST’s Topological Indicators in the Determined Market Regimes

MST’s topological indicators constructed based on the dependencies in the tails present different behaviors in the distinguished market states. Figure 1 shows boxplots with marked average values of indicators presented. The analysis shows that during crises, MSTs shrink, as evidenced by the decreasing APL and Diameter and the growing Max.Deg, which is favorable to the potential spread of undesirable effects of the shocks on the insurance market. MSTs are scale-free in the studied period, because the alpha parameter in the tested states belongs to the interval (2,3). The mean RCE for k = 4, where k is the degree of the vertex, is on a similar level. Thus, the number of attached vertices with four or more connections does not increase. In the periods N 1 , it drops to zero, and in the period N 3 , it decreases as compared to other periods. MSTs are nonassortative according to the previous definition, as the numbers are negative throughout the period considered. The smaller the value, the more high-degree vertices are connected to low-degree vertices. During the SMC and FIC periods, assortativity is higher than in neighboring normal states. That is, high-degree vertices are attached to vertices with more connections than in neighboring normal states.
In the next part of the research, we wanted to check the similarity of the dynamics of the behavior of the time series of the analyzed topological indices. Thus, we wanted to confirm the possibility of using the proposed methodology for the identification, modeling, and measurement of systemic risk in the insurance sector.

3.2. Analysis of the Similarity of Time Series of Topological Indicators Using the DTW Algorithm

In the empirical analysis, we determined the normalized DTW between the time series of the topological indicators of MST in the periods established earlier. We analyzed the similarity of the series in different normal periods, in different crisis periods, and between different normal periods and different crisis periods, as previously described. The results obtained are shown in Table 1. When interpreting the results obtained, it is assumed that the smaller the value of the normalized DTW, the more similar the fragments of time series in the distinguished regimes. To make Table 1 more readable, we inform the reader that the interpretation of the similarity of time series for each MST topological index in fixed periods—DTW values—together with a description of these relationships is included in the following section.
We investigated the possibility of using the DTW algorithm to assess the similarity of the time series of MST topological indicators in the determined states. Each of the indicators has a different role and reflects a different property of MST. A set of many, appropriately selected indicators can allow us to assess the dynamics of the MST structure in the determined states. As each normal period and each crisis is characterized by their own dynamics, we expect the DTW values to be different. We checked, however, whether the time series of MST topological indices in the period of crises have different dynamics than in other periods, called Normal.
Average Path Length (APL) is one of the most robust measures of network topology. The DTW results indicate a greater similarity of the APL time series fragments in the periods of SMC, I, FIC crises, and in normal periods. The established DTW normalized for pairs of N i SMC , N i I , and N i FIC periods, for i = 1 , 2 , 3 , 4 is much greater than for N i N j pairs consisting of normal periods only, or for pairs consisting of the crisis periods themselves of the APL time series (Table 1). The series are the least similar in the periods established between the pairs of N i SMC , N i I , and N i FIC periods, for i = 1 , 2 , 3 , 4 . We know from Figure 1 that the average APL during the crises is lower than during the total regime of normal states, which means that during crises, the structure of MST favored the spread of the negative effects of financial turmoil. We present the similarity of a fragment of the series of the APL time series in particular periods using the cluster dendrogram developed using Ward’s method (Figure 2 and Figure 3).
The similarity of the Diameter series is analogous to the similarity of the APL series. There is a noticeable division into the group of SMC and FIC crises and a separate group of Normal states. Crisis I is in the group with Normal states. The series is the most similar during normal states. The largest of the SMC crises in comparison with the Normal periods is characterized by the least similarity with any fragment of the series (Table 1). Thus, Diameter MST during the SMC crisis has different dynamics than in other states. We present the similarity of a fragment of the series of the Diameter time series in particular periods using the cluster dendrogram developed using Ward’s method (Figure 4 and Figure 5).
The Max.Degree indicator remained at a similar level (Figure 1) during the crises. Now, we additionally receive information that the dynamics of the time series during SMC crises looks different for each crisis FIC or I. The series in normal periods N 1 and N 2 has the most similar fragments. The N 3 period stands out, most likely due to the shortest section of this series lasting only six months, and it is the least similar to any period. Moreover, a fragment of the series for SMC is distinguished, which is the least similar to the series fragments in the remaining periods. During the FIC and I crises, the time series is the most similar. Let us summarize the results of the DTW study for Max.Degree with the graph in Figure 1. The average Max.Degree (red dots in Figure 1) is the same during crisis periods, while the average Max.Degree is lower in adjacent normal periods. This means that in times of crisis, MST has an institution that has more connections than in normal times
We present the similarity of a fragment of the series of the Max.Degree time series in particular periods using the cluster dendrogram developed using Ward’s method (Figure 6 and Figure 7). Based on this dendrogram, we can say that this indicator in period I and FIC has similar dynamics. Although the average in the SMC period is similar, the dynamics of the change in this indicator is different than in the periods I and FIC, just as was the dynamics of the development of crises.
Due to the fact that during the entire period 2005–2019, MSTs are scale-free, as alpha has values in the range (2, 3), the similarity of the shape of this indicator series does not provide new information. Note that the period N3 lags behind, the periods FIC and I again are similar, and SMC is in the group with N4. The parameter alpha informs us about the scale-free structure of the MST. If alpha is in the interval (2, 3), then the corresponding MST is fractal-like, with institutions that are hubs. Now, we summarize the results of the DTW test for the alpha parameter with the graph in Figure 1. Analogically to Max.Degree, the mean alpha values in periods of crisis are different from those in normal periods. At the same time during crises, they are closer to 2, while in the neighboring periods, the averages of the alpha parameter are closer to 3, which means that the structure of MST during crises is more fractal (self-similar) than in normal periods.
We present the similarity of a fragment of the series of the parameter alpha time series in particular periods using the cluster dendrogram developed using Ward’s method (Figure 8 and Figure 9).
The RCE for the k = 4 series has variable dynamics. There is a similarity in the period of the greatest SMC crisis to the normal states N 4 and N 2 . The remaining crises are in other groups in which the MST structures are similar in terms of the way they connect. Let us summarize the results of the DTW study for the RCE plotted in Figure 1. We see again in Figure 1 that the average RCE during crisis is at a significantly different level than in normal states. More specifically, during crises, the RCE average has higher values. For k = 4, it means that during the crisis, the number of insurance institutions with more than four connections with other institutions grows, which confirms that, during crises, the structure of MST becomes more star-like, which potentially creates the possibility of contagion and, thus, increases systemic risk.
We present the similarity of a fragment of the series of the RCE time series in particular periods using the cluster dendrogram developed using Ward’s method (Figure 10 and Figure 11).
MSTs are not assortative in the entire analyzed period 2005–2019. Thus, the dynamics of this series are very similar throughout this period. A network is said to be nonassortative when high-degree vertices are connected to low-degree ones, while low-degree vertices are connected to high-degree ones. This negative mating means that vertices with high degrees associate with those that have low degrees, which goes hand in hand with the previously described network scale-free property. As a matter of fact, it is the only topological index of MST studied by us, for which the DTW did not resolve the similarity as expected, although the period I and FIC appeared in one group. In subsequent studies, its role shall be analyzed in more detail, and perhaps the method we use for such an exception will not work. Perhaps it is related to the fact that the group of the examined institutions is small. The authors will investigate this issue.
We present the similarity of a fragment of the series of the assortativity time series in particular periods using the cluster dendrogram developed using Ward’s method (Figure 12 and Figure 13).

3.3. Analysis of the Mean DeltaCoVaR Time Series

In Figure 14, boxplots of the DeltaCoVaR measure for the analyzed market states are presented. The lower the DeltaCoVaR value, the greater the contribution of the studied institutions to the systemic risk of the insurance sector. The analysis shows that this contribution was greatest during the SMC and FIC crises.
Below in Figure 15, we present the average DeltaCoVaR for all analyzed institutions. We studied the similarity of a fragment of this time series from the SMC period to other periods of crises or normal periods. On the dendrogram in Figure 16, SMC it is in a separate group. Thus, not only is the size of the SR contribution observable on the basis of the time series itself, but also the dynamics of this contribution as assessed by the DTW is different. In addition, the FIC or I crises are outside the group of similarities with most normal periods.

3.4. MST Based on DTW

Now, using Kruskal’s algorithm, we constructed MSTs based on the DTW ( i , j ) distance matrix, which show the similarity of the DeltaCoVaR time series between pairs ( i , j ) of insurers in states SMC, I, FIC, and N.
Below are the results of the analysis of the similarity of the DeltaCoVaR time series for all surveyed institutions. The figures (Figure 17, Figure 18, Figure 19 and Figure 20) show the MST in the N-state (Figure 17), SMC (Figure 18), I (Figure 19), and FIC (Figure 20) and the corresponding community structure via greedy optimization of modularity [26]. As a result of this analysis, we found that during the SMC crisis, the MST graph has the most compressed structure, as evidenced by the smallest APL, the largest Max.Degree, and the smallest assortativity (Table 2). The structure of all institutions according to their contribution to the SR, i.e., the DeltaCoVaR measure in the four analyzed periods, shows a division into five groups during the greatest SMC crisis; into six during the FIC crisis in the remaining periods N, which consists of all normal periods; and into seven groups in period I.
In the last part, we present the average values of the topological indices constructed above (Figure 17, Figure 18, Figure 19 and Figure 20) and the MST in subsequent periods. We investigated whether the similarity of DeltaCoVaR in fixed periods between the pairs of the surveyed insurance institutions, and thus the similarity of the contribution to SR, can be assessed on the basis of the topological indexes of MST constructed in a different way than before. A distinctive period is the SMC. APL is smallest, Max.Degree is largest, RCE for k = 2 is largest, and the assortativity value is smallest. The alpha parameter values are not in (2, 3). Thus, it confirms the visual image of MST, on which we observe the lack of the so-called hubs. From the analysis of topological indicators, it can be concluded that the contribution to SR of each institution is at a different level.

4. Conclusions

The presented analysis is the first work in the literature in which the possibilities of identifying SR in the insurance sector with the use of a hybrid model are determined by the copula-DCC-GARCH-based MST with the DTW algorithm.
The model was constructed with the use of copula-DCC-GARCH modeling and the innovative MST construction based on dependencies in the tails. Then, we used the DTW algorithm to analyze the similarity in different market regimes time series of the MST topological indicators. The results obtained confirm the possibility of identifying SR in the insurance sector using the presented model. The DTW algorithm we exploited has great potential. Our empirical research confirms the property of the APL indicator known in the literature. APL is the most powerful indicator that describes the structure of MST. In the regimes established, the similarity of the APL indicator series measured using the DTW algorithm was as we expected. We obtained a division into two groups of similar periods: a group of crises and a group of normal periods. For the Diameter indicator, we also obtained two groups. SMC and FIC formed a unique cluster separated from the others. The remaining indicators such as alpha, RCE, and assortativity as interpreted in the context of SR also fulfilled their purpose. The similarity of the dynamics of these indicators was different than in the case of APL, Diameter, and Max.Deg, due to the different roles they play in the MST topology.
The examined topological indicators constructed on the basis of the DTW DeltaCoVaR matrix, MST for pairs of insurance institutions in established market states, also distinguished the SMC crisis, not only because of the level of contribution to the SR, which was due to boxplots, but also because of the dynamics of DeltaCoVaR change over time.
We indicated the further direction of research. It would be sensible to also use the DTW algorithm to identify periods that are similar with respect to SR in the insurance sector, i.e., in the opposite situation than the one studied in this paper. The DTW algorithm should be used to check the similarity of time series of logarithmic rates of return.
We examined the similarity of selected series of MST topological indicators constructed in an innovative way, based on the tail dependence of the logarithmic distributions of weekly returns of 38 insurance companies from the list of the 50 largest systemically significant insurance institutions, determined on the basis of historical data related to financial, economic, and political events in EU countries.

Author Contributions

Conceptualization, A.D. and S.W.; methodology, A.D. and S.W.; software, A.D. and S.W.; validation, A.D. and S.W.; formal analysis, A.D. and S.W.; investigation, A.D. and S.W.; resources, A.D. and S.W.; data curation, A.D. and S.W.; writing—original draft preparation, A.D. and S.W.; writing—review and editing, A.D. and S.W.; visualization, A.D. and S.W.; supervision, A.D. and S.W.; project administration, A.D. and S.W.; funding acquisition, A.D. and S.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded from the funds granted to the Cracow University of Economics, within the framework of the POTENTIAL Program, project number 26/EIM/2021/POT.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are publicly available.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. EIOPA. Systemic Risk and Macroprudential Policy in Insurance; Publications Office of the EU: Luxembourg, 2019. [Google Scholar]
  2. Denkowska, A.; Wanat, S. A Tail Dependence-Based MST and Their Topological Indicators in Modeling Systemic Risk in the European Insurance Sector. Risks 2020, 8, 39. [Google Scholar] [CrossRef]
  3. Denkowska, A.; Wanat, S. A dynamic MST-deltaCoVaR model of systemic risk in the European insurance sector. Stat. Transit. New Ser. 2021, 22, 173–188. [Google Scholar] [CrossRef]
  4. Adrian, T.; Brunnermeier, M.K. CoVaR. Am. Econ. Rev. 2016, 106, 1705–1741. [Google Scholar] [CrossRef]
  5. Bierth, C.; Irresberger, F.; Weiß, G.N. Systemic risk of insurers around the globe. J. Bank. Finance 2015, 55, 232–245. [Google Scholar] [CrossRef]
  6. Brownlees, C.; Engle, R.F. SRISK: A Conditional Capital Shortfall Measure of Systemic Risk. Rev. Financial Stud. 2017, 30, 48–79. [Google Scholar] [CrossRef]
  7. Giglio, S.; Kelly, B.; Pruitt, S. Systemic risk and the macroeconomy: An empirical evaluation. J. Financial Econ. 2016, 119, 457–471. [Google Scholar] [CrossRef]
  8. Kanno, M. The network structure and systemic risk in the global non-life insurance market. Insur. Math. Econ. 2016, 67, 38–53. [Google Scholar] [CrossRef]
  9. Kaserer, C.; Klein, C. Supplementary Material to Systemic Risk in Financial Markets: How Systemically Important Are Insurers? J. Risk Insur. 2019, 86, 729–759. [Google Scholar] [CrossRef]
  10. Koijen, R.S.J.; Yogo, M. Shadow Insurance. Econometrica 2016, 84, 1265–1287. [Google Scholar] [CrossRef] [Green Version]
  11. Fan, Y.; Härdle, W.K.; Wang, W.; Zhu, L. Single-Index-Based CoVaR with Very High-Dimensional Covariates. J. Bus. Econ. Stat. 2017, 36, 212–226. [Google Scholar] [CrossRef] [Green Version]
  12. Hautsch, N.; Schaumburg, J.; Schienle, M. Financial Network Systemic Risk Contributions. Rev. Finance 2015, 19, 685–738. [Google Scholar] [CrossRef] [Green Version]
  13. Härdle, W.K.; Wang, W.; Yu, L. TENET: Tail-Event driven NETwork risk. J. Econ. 2016, 192, 499–513. [Google Scholar] [CrossRef]
  14. Bellman, R.; Kalaba, R. On adaptive control processes. IRE Trans. Autom. Control. 1959, 4, 1–9. [Google Scholar] [CrossRef]
  15. Sakoe, H.; Chiba, S. Dynamic programming algorithm optimization for spoken word recognition. IEEE Trans. Acoust. Speech Signal Process. 1978, 26, 43–49. [Google Scholar] [CrossRef] [Green Version]
  16. Cédras, C.; Shah, M. Motion-based recognition a survey. Image Vis. Comput. 1995, 13, 129–155. [Google Scholar] [CrossRef]
  17. Geiger, D.; Gupta, A.; Costa, L.A.; Vlontzos, J. Dynamic programming for detecting, tracking, and matching deformable contours. IEEE Trans. Pattern Anal. Mach. Intell. 1995, 17, 294–302. [Google Scholar] [CrossRef]
  18. Petitjean, F.; Ketterlin, A.; Gancarski, P. A global averaging method for dynamic time warping, with applications to clustering. Pattern Recognit. 2011, 44, 678–693. [Google Scholar] [CrossRef]
  19. Franses, P.H.; Wiemann, T. Intertemporal Similarity of Economic Time Series: An Application of Dynamic Time Warping. Comput. Econ. 2020, 56, 59–75. [Google Scholar] [CrossRef]
  20. Raihan, T. Predicting US recessions: A dynamic time warping exercise in economics. 2017; Unpublished work. [Google Scholar]
  21. Wang, G.-J.; Xie, C.; Han, F.; Sun, B. Similarity measure and topology evolution of foreign exchange markets using dynamic time warping method: Evidence from minimal spanning tree. Phys. A: Stat. Mech. Appl. 2012, 391, 4136–4146. [Google Scholar] [CrossRef]
  22. Colizza, V.; Flammini, A.; Serrano, M.A.; Vespignani, A. Detecting rich-club ordering in complex networks. Nat. Phys. 2006, 2, 110–115. [Google Scholar] [CrossRef]
  23. Li, W.; Hommel, U.; Paterlini, S. Network topology and systemic risk: Evidence from the Euro Stoxx market. Financ. Res. Lett. 2018, 27, 105–112. [Google Scholar] [CrossRef]
  24. Newman, M.E.J. Assortative Mixing in Networks. Phys. Rev. Lett. 2002, 89, 208701. [Google Scholar] [CrossRef] [Green Version]
  25. Wang, G.-J.; Xie, C.; Zhang, P.; Han, F.; Chen, S. Dynamics of Foreign Exchange Networks: A Time-Varying Copula Approach. Discret. Dyn. Nat. Soc. 2014, 2014, 1–11. [Google Scholar] [CrossRef] [Green Version]
  26. Clauset, A.; Newman, M.E.J.; Moore, C. Finding community structure in very large networks. Phys. Rev. E 2004, 70, 066111. [Google Scholar] [CrossRef] [Green Version]
Figure 1. MST’s topological indicators in the periods under study. Own source.
Figure 1. MST’s topological indicators in the periods under study. Own source.
Entropy 23 01022 g001
Figure 2. Average Path Length in the periods under study. Own source.
Figure 2. Average Path Length in the periods under study. Own source.
Entropy 23 01022 g002
Figure 3. Dendrogram for APL-based hierarchical clustering of the periods under study. Own source.
Figure 3. Dendrogram for APL-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g003
Figure 4. Diameter in the periods under study. Own source.
Figure 4. Diameter in the periods under study. Own source.
Entropy 23 01022 g004
Figure 5. Dendrogram for Diameter-based hierarchical clustering of the periods under study. Own source.
Figure 5. Dendrogram for Diameter-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g005
Figure 6. Max.Degree in the periods under study. Own source.
Figure 6. Max.Degree in the periods under study. Own source.
Entropy 23 01022 g006
Figure 7. Dendrogram for Max.Degree-based hierarchical clustering of the periods under study. Own source.
Figure 7. Dendrogram for Max.Degree-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g007
Figure 8. Alpha in the periods under study. Own source.
Figure 8. Alpha in the periods under study. Own source.
Entropy 23 01022 g008
Figure 9. Dendrogram for alpha-based hierarchical clustering of the periods under study. Own source.
Figure 9. Dendrogram for alpha-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g009
Figure 10. RCE in the periods under study. Own source.
Figure 10. RCE in the periods under study. Own source.
Entropy 23 01022 g010
Figure 11. Dendrogram for RCE-based hierarchical clustering of the periods under study. Own source.
Figure 11. Dendrogram for RCE-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g011
Figure 12. Assortativity in the periods under study. Own source.
Figure 12. Assortativity in the periods under study. Own source.
Entropy 23 01022 g012
Figure 13. Dendrogram for assortativity-based hierarchical clustering of the periods under study. Own source.
Figure 13. Dendrogram for assortativity-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g013
Figure 14. DeltaCoVaR measure for the analyzed market states. Own source.
Figure 14. DeltaCoVaR measure for the analyzed market states. Own source.
Entropy 23 01022 g014
Figure 15. Average DeltaCoVaR for all analyzed institutions in the periods under study. Own source.
Figure 15. Average DeltaCoVaR for all analyzed institutions in the periods under study. Own source.
Entropy 23 01022 g015
Figure 16. Dendrogram for DeltaCoVaR-based hierarchical clustering of the periods under study. Own source.
Figure 16. Dendrogram for DeltaCoVaR-based hierarchical clustering of the periods under study. Own source.
Entropy 23 01022 g016
Figure 17. MST based on DTW in Normal state. Own source.
Figure 17. MST based on DTW in Normal state. Own source.
Entropy 23 01022 g017
Figure 18. MST based on DTW in SMC state. Own source.
Figure 18. MST based on DTW in SMC state. Own source.
Entropy 23 01022 g018
Figure 19. MST based on DTW in I state. Own source.
Figure 19. MST based on DTW in I state. Own source.
Entropy 23 01022 g019
Figure 20. MST based on DTW in FIC state. Own source.
Figure 20. MST based on DTW in FIC state. Own source.
Entropy 23 01022 g020
Table 1. Standardized DTW. Own source.
Table 1. Standardized DTW. Own source.
APLDiameterMax.DegAlphaRCEAssortat.Delta CoVaR
N1-N20.14150.76910.23810.24290.24860.03560.0044
N1-N30.16700.73111.20610.56780.35470.12210.0087
N1-N40.13200.64590.36880.28390.30310.03530.0083
N2-N30.19650.96891.27370.54800.19140.11990.0079
N2-N40.17410.93640.34850.31190.09150.04020.0050
N3-N40.14150.63481.11380.49480.12450.11290.0094
N1-SMC0.21551.08450.62400.33280.31810.03480.0383
N1-I0.16770.61900.33520.46610.45800.05380.0099
N1-FIC0.22640.94630.30580.39950.37860.04440.0156
N2-SMC0.20731.12360.60240.36000.08650.03960.0408
N2-I0.19140.90870.25730.45950.31830.05440.0110
N2-FIC0.22641.00820.25760.40920.16420.05100.0127
N3-SMC0.29751.17551.52920.43800.18150.11180.0374
N3-I0.24880.75291.25950.30470.22430.08930.0070
N3-FIC0.27851.06071.20630.42930.09310.10240.0151
N4-SMC0.23691.29860.88550.25410.09180.03740.0421
N4-I0.17740.70610.33420.36000.29400.04560.0141
N4-FIC0.25001.21320.27530.26580.10260.03400.0082
SMC-I0.15200.96610.63360.28050.29960.05090.0338
SMC-FIC0.14670.76580.69720.26860.12910.04780.0436
I-FIC0.13910.83550.18030.22930.21820.04870.0195
Table 2. MST topological indicators determined on the basis of DTW distance between the time series of the DeltaCoVaR measure of all 38 analyzed institutions. Own source.
Table 2. MST topological indicators determined on the basis of DTW distance between the time series of the DeltaCoVaR measure of all 38 analyzed institutions. Own source.
NSMCIFIC
APL7.17786.50218.67148.4211
max.deg4.00007.00004.00004.0000
alpha2.02843.68613.80643.8528
RCE (k=2)0.42670.44100.29820.1428
RCE (k=3)0.34100.00000.00000.0000
diameter0.01240.01880.01780.0119
assortativity−0.3413−0.4137−0.2877−0.2982
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Denkowska, A.; Wanat, S. Dynamic Time Warping Algorithm in Modeling Systemic Risk in the European Insurance Sector. Entropy 2021, 23, 1022. https://doi.org/10.3390/e23081022

AMA Style

Denkowska A, Wanat S. Dynamic Time Warping Algorithm in Modeling Systemic Risk in the European Insurance Sector. Entropy. 2021; 23(8):1022. https://doi.org/10.3390/e23081022

Chicago/Turabian Style

Denkowska, Anna, and Stanisław Wanat. 2021. "Dynamic Time Warping Algorithm in Modeling Systemic Risk in the European Insurance Sector" Entropy 23, no. 8: 1022. https://doi.org/10.3390/e23081022

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