Estimating an Extreme Bayesian Network via Scalings
Claudia Klüppelberg, Mario Krali
Introduction
Human society is continuously faced with challenges arising from factors of both uncontrollable and/or synthetic nature. The former is manifested through events such as natural disasters, in particular climate extremes like heavy rainfall or storms, unusually high/low temperatures, or river flooding. Similarly, synthetic factors correspond to those catastrophes influenced by human intervention, for instance industry fire, terrorist attacks, or a financial market crash. Such events occur rarely in isolation, but are rather interconnected, and occur simultaneously across certain instances; for example, floods disseminate through a river network, or extreme losses occur across several financial sectors. Such events make it necessary to not only understand dependencies between rare events, but also their causal structure.
When modeling rare events, one faces by definition a limited amount of data. While extremes in a univariate setting are well studied, multivariate extremes still remain a focus of present research. This is partly due to the augmented dimensionality problem, which affects crucially non-parametric methods (see de Haan and Ferreira (2006), Chapter 7), but also by the lack of a parametric family to characterize interdependencies (see Beirlant et al. (2004), Chapters 8, 9).
Recently, there has been interest in graphical models for modeling dependencies between extreme risks, which brings not only a potential complexity reduction, but also allows for modelling cause and effect in the context of extreme risk analysis. The model we consider in the present paper originates from Gissibl and Klüppelberg (2018), where max-linear structural equation models have been proposed and investigated. The underlying graphical structure of the model is a directed acyclic graph (DAG), also called a Bayesian network. Identifiability and estimation of recursive max-linar models are investigated in Gissibl et al. (2018). We refer to Lauritzen (1996) and Diestel (2010) for details on graphical modeling and graph theory, respectively.
Some other methods for combining graphical modeling with extremes have been proposed recently. In Segers (2019), Markov trees with regularly varying node variables are investigated using the so-called tail chains. In Engelke and Hitz (2018), a new approach using conditional independence relations between node variables is introduced, when considering undirected graphical models for extremes. This work is based on the assumption of a decomposable graph as well as the existence of density, which then leads to a Hammersley-Clifford type factorization of the latter into a lower dimensional setting. The method is applied to the estimation of flood in the Danube river network. A recursive max-linear model has been fitted to data from the EURO STOXX 50 Index in Einmahl et al. (2018), where the structure of the DAG is assumed to be known.
High dimensions are a serious challenge of dependence modeling of extreme events, and as a consequence most of the applications so far have focused on a lower dimensional setting. An exception is Cooley and Thibaud (2019), who present a new approach to extract the dependence structure from a regularly varying random vector. The authors propose the use of a dependence summary similar to the extreme dependence measure from Larsson and Resnick (2012), which can be considered an analogue to the covariance. Aiming at reducing the complexity, the authors propose a decomposition technique alike that of the Principal Component Decomposition for normal distributions. Other attempts aiming at dimension reduction of extremes involve Chautru (2015), and Janssen and Wan (2019), who present clustering approaches, or Haug et al. (2015), who propose a factor analysis for extremes.
In the present paper we develop a new structure learning and estimation algorithm for the recursive max-linear model in Gissibl and Klüppelberg (2018). Our approach is motivated by Cooley and Thibaud (2019) and applies to regularly varying node variables, which is a common assumption for extreme risk modelling. Multivariate node distributions have heavy-tailed marginals and are eponymous to those which lie in the domain of attraction of multivariate Fréchet distributions; see Resnick (1987), Section 5.4.2 (Proposition 5.15). We refer to Resnick (1987, 2007) for further details on regular variation.
Our multivariate regular variation setting is similar to that in Gissibl et al. (2018), which investigates the use of the tail dependence coefficients matrix towards the recovery of a causal order and identifiability of the max-linear coefficient matrix. Their method has the severe drawback that the initial nodes have to be known. For instance, in a DAG with two nodes and one edge there can only be one initial node, which can not be determined by the tail dependence coefficient as it is symmetric. This problem is to be encountered also in a DAG of larger size with several initial nodes, thus being a serious disadvantage to find a complete causal order. In contrast, other than regular variation itself, our methodology is free of assumptions. More recently, in a heavy-tailed setting, Gnecco et al. (2019) propose a method for identifying a causal order from the estimated conditional means of the integral transforms of pairs of nodes.
For arbitrary recursive max-linear models, a different identification and estimation method based on a generalized MLE can be found in Gissibl et al. (2018) and Klüppelberg and Lauritzen (2020). An extension of this method to models with observational noise has been investigated in Buck and Klüppelberg (2019). In these papers all innovations have to be independent and identically distributed, which is stronger than the tail assumptions imposed by regular variation.
We develop a new non-parametric methodology aimed at applying recursive max-linear models to extreme phenomena in a multivariate regular variation setting. First, targeting the problem of recovering a causal structure as a graphical model on a DAG, we propose a new technique via the scaling parameters of multivariate marginal distributions. This scaling technique allows for the manipulation of the dependence structure between extremes by simple scalar multiplication. These manipulations then uncover specific parts of the spectral measure, which fully characterize the dependence structure of interest to pave the way for estimating the causal dependence structure of the model. Second, we estimate the spectral measure empirically, where we focus on the relevant parts for the estimation of the required scaling. Asymptotic properties of the empirical spectral measure proven as an extension of a result of Larsson and Resnick (2012) lead to consistent and asymptotically normal estimates of all dependence parameters.
The application of the proposed methodology to financial data and to food dietary data shows that the recursive max-linear model can model multivariate extremes from real-life data with the goal of inferring causality for high risks.
Our paper is structured as follows. Preliminaries on graph theoretical terminology and regular variation, including the scaling parameter, are introduced in Section 2. Section 3 provides relevant properties of recursive max-linear models with regularly varying node variables. In Section 4 we show how the dependence structure of a recursive max-linear model can be identified from the scaling parameters of the model. Section 5 prepares for the causal inference by applying the scaling technique to find initial nodes as well as to reorder all other components into generations. Section 6 deals with statistical inference of the model. We propose non-parametric estimators of the relevant scalings, which also yield estimators of the dependence parameters. This allows us to estimate a partial order of the nodes and, in particular, a well-ordered graphical model on a DAG. We also show the asymptotic normality of the model dependence parameters. Finally, Section 7 is dedicated to two applications, namely to a real world financial data set of industry portfolio returns, as well as food dietary interview data.
Preliminaries
Let be a directed acyclic graph (DAG) with nodes and edges , where are the parents of node . Each node of is associated with a random variable, and dependence between two random variables can be represented via an edge connecting the corresponding nodes; for background see Lauritzen (1996).
Throughout we use the following notation. A path from node to has length , and we summarize all paths from to in the set .
For a node with parents we set , likewise, we denote by the ancestors of and set . The ancestral set of some subset of nodes is denoted by or . We also work with the following two notions throughout.
(i) We call an initial node, if , and denote by the set of all initial nodes. (ii) In a DAG , a generation of nodes is the set of all nodes that have a longest path of same length from any initial node. Let , then the -th generation of nodes is defined by:
The following two auxiliary results provide some properties of this concept.
In a DAG there is no path between two nodes of the same generation.
Suppose that there exists a path in some generation , for nodes on . A longest path from to would be of length , say for some . Extend now the same path along to get . Clearly is longer than , giving a contradiction to . ∎
The next result proves useful; its proof is not difficult and can be found in Krali (2018), Lemma 3.3.
Consider a DAG with , and the set of initial nodes. Suppose that has generations. Then for , and for , we have if and only if for all it holds that .
A directed graph is well-ordered, if for all we have for all . We refer to such an order as a causal order.
Note that we employ a reverse ordering than in Gissibl and Klüppelberg (2018).
2 Multivariate Regular Variation
Multivariate regular variation can be defined in various ways, and we shall work with the following two equivalent definitions (cf. Resnick (2007), Theorem 6.1).
in , for some , and for Borel subsets ,
The measure is called the spectral measure. (c) If satisfies the above definition, we write , and is called the index of regular variation.
As explained in Theorem 6.5 of Resnick (2007), starting with an arbitrary vector with positive components, we can always standardize all marginals to with normalizing sequence as in (b) chosen as . This implies that all scaling information is pushed into .
Let and consider its polar representation as in Definition 3(b) such that for . For every define
We abbreviate and call it the scaling or scaling parameter of .
The following auxiliary results are well-known and simple consequences of the definitions of regular variation. For the sake of completeness, we provide short proofs.
(a) From the homogeneity of the exponent measure and its polar representation in Definition 3(b) we obtain
(b) We simply compute the total mass of the -dimensional unit simplex :
Immediately from Definition 4 and Lemma 3 above we find for that, if has scaling , then has scaling for every .
(i) As is a finite measure, it can be normalised to a probability measure by defining
For a simple assessment of the dependence structure of the components of a random vector, various summary measures have been introduced; see e.g. Sections 8.2.7 and 9.5.1 of Beirlant et al. (2004). We note that Definition 4 is a non-normalized version of the extreme dependence measure (EDM), which is a bivariate dependence measure on the positive unit sphere and measures the limit of conditional cross-moments in the radial components of two random variables. The EDM has been introduced in Section 3 of Resnick (2004). A more refined version can be found in Propositions 3 and 4 in Larsson and Resnick (2012), where also more details on the EDM are given.
[Extreme dependence measure (EDM)] Let . Then for any two components of , setting (\omega_{i},\omega_{j}):=\big{(}\frac{X_{i}}{R},\frac{X_{j}}{R}\big{)}, the EDM is given by
Recursive Max-linear Models
Recursive max-linear models were introduced in Gissibl and Klüppelberg (2018) and estimated with different methods in \al@gkl,GKO; \al@gkl,GKO; Klüppelberg and Lauritzen (2020). We summarize notation and results needed in the present paper.
A max-linear structural equation model on a DAG is defined as
From Theorem 2.2 of Gissibl and Klüppelberg (2018) we know that a max-linear structural equation model from (3.1) has a solution in terms of its innovations , which can be found by a path analysis. For each path of length from to define the path weights . Furthermore, define for
Then can be written as the recursive max-linear (ML) vector:
The matrix is called the ML coefficient matrix. Furthermore, a path from to such that is called max-weighted.
If the innovations vector , then by simple calculations given e.g. in Proposition A.2 of Gissibl et al. (2018), see also Proposition 4.1 of Krali (2018), with discrete spectral measure
where is the -th column of . Obviously, the entries of are the dependence parameters of .
Using the representation of in (3.4) together with Remark 1 (ii) we obtain the following lemma.
For and the Euclidean norm, the scalings of the recursive ML random vector (3.3) can be expressed by the matrix as follows.
From Definition 4 and (3.4) we find for
The calculation of squared scalings is analogous.
Finally, we consider the standardized recursive ML random vector from (3.3) by standardizing the ML coefficient matrix.
[Standardized ML coefficient matrix] Define
Then is referred to as standardized ML coefficient matrix.
Since the innovations vector is standardized, all scaling information is in : Proposition 1 entails that the recursive ML vector has components with squared scalings for .
The following result has been proven in Lemma 2.1 of Gissibl et al. (2018).
Assume that the DAG corresponding to the recursive ML vector is well-ordered. Then
We summarize all model assumptions used throughout the rest of the paper.
The innovations vector has independent and standardized components.
We work with the Euclidean norm .
The ML coefficient matrix is standardized as in eq. (3.5), such that the components of are standardized.
Identification of the ML Coefficient Matrix From Scalings
In this section we consider a recursive ML vector such that (A1)-(A3) are satisfied. We show how to identify from , when is a recursive ML vector on a well-ordered DAG; i.e.,
We identify from the squared scalings of maxima over combinations of components of . For a set we define
We first compute the relevant squared scalings.
The random variable is again max-linear, in particular with squared scalings as follows: (a) Let , then
(b) If , then
(a) Starting with for , we calculate:
By eq. (3.4) is regularly varying. In order to compute the squared scaling , we use the same arguments as in Proposition 1 which yields (4.3). (b) This follows directly from (a) in combination with Lemma 5. ∎
We now illustrate the identification of the ML coefficient matrix by the following example.
Let be a recursive ML vector on a well-ordered DAG satisfying (A1)-(A3) such that
Note that by standardization every row must have norm 1.
We first compute the diagonal entries. By standardization, . By Lemma 5 we know that for . Let for and be defined as in (4.2). From Lemma 6 we obtain
From this we first find . Similarly .
The next step is to find the remaining entries in the first row of , namely and . Proceeding with we find from Lemma 6 for first which yields
Finally, we find , since the rows of have norm 1.
We now proceed by proving the correctness of the above recursion, which gives rise to Algorithm 1 below.
Let be a recursive ML vector on a well-ordered DAG satisfying (A1)-(A3). Then the following recursion yields the standardized ML coefficient matrix :
We first show (4.5). From Lemma 6 we find for :
which implies that . For , by standardization of we have . In order to prove (4.6) we compute first:
Fix now . We proceed by induction over . We start with the initial index By (4.5) we know all for , and by (4.8),
By the induction hypothesis, suppose that we have found for all , where . Let . Then, it is straightforward to see that
Equation (4.7) follows from the fact that is standardized, hence, all rows have norm 1 (by Remark 2, ) ∎
The Algorithm corresponding to Proposition 2 reads as follows.
In Proposition 2 we have shown that we can compute the diagonal entries of from the squared scalings by a recursion algorithm. Furthermore, we have identified the non-diagonal entries of the -th row of from
Consider the row-wise vectorized version of the squared entries of the upper triangular matrix , where we use for the matrix with squared entries of and its vectorized version
Note that both vectors and show a similar structure, built from row vectors with components, respectively; so both have components. By means of Proposition 2 we show that can be written as a linear transformation of .
Let and be as in (4.9) and (4.10), respectively. Then
, for ;
for ;
for ;
for ,
where for and . All other entries of are equal to zero.
(ii) Starting from (4.6) we show by induction that for and ,
For we clearly have that Suppose now that this holds for all . We show now that it holds for . More specifically,
where the last equality is due to the telescoping sum after noting that .
(iii) Similar to (ii), for with ,
while for we obtain again .
(iv) The results in (i)-(iii) show already the linearity between the vectors and . It remains to construct the matrix for such that . We start by renumbering the vector components in and replacing the double indices for and by
Then the vector in (4.10) becomes . Moreover, (4.14) maps into and for and .
Also notice that for all , by the structure of , its -th component is for , and .
(v) We construct now , where by (i)-(iii) contains many zeros, and we focus on the non-zero entries.
Since becomes for and, by the structure of , the -th components of are , respectively, in each -th row of there must be a 1 on the diagonal; i.e. . Furthermore, , and all other entries in this row are 0.
Similarly, we find the other non-zero entries by representation (4.12) and (4.13). ∎
We illustrate the linear transformation (4.11) for , which clarifies the structure also for higher dimensions. For a recursive ML vector with 4 nodes, by (4.12) and (4.13) the identity becomes
Reordering the Vector Components
In Section 4 we have assumed that the DAG underlying the recursive ML vector is well-ordered. In a real life situation this will rarely be the case, and the components of have to be reordered. In this section we use again the scalings for finding a causal order of the components of . This is achieved by first identifying the initial nodes, which can be ordered arbitrarily within all initial nodes. The same applies for every following generation: within each generation the order is arbitrary. All such obtained partial orders correspond to equivalent well-ordered DAGs and we construct one representative DAG by the method as follows.
We start with an auxiliary result which ensures that the recursive ML vector is invariant with respect to column permutations of the ML coefficient matrix .
Denote by an arbitrary permutation of the columns of , and notice that an arbitrary component of is given by
and, therefore, . ∎
Since by Lemma 7 the distribution of is invariant with respect to column permutations, we can assume that an arbitrarily ordered recursive ML vector , needs only row permutations in , denoted by , to become well-ordered:
We refer to entries of the matrix as and to entries from the row-permuted matrix as , corresponding to a reordered vector in distribution on a well-ordered DAG.
In order to find an initial node, we fix one node which we want to investigate and extend the notation from (4.2) to maxima over a -tuple of partly scaled random variables: for we define for ,
By Lemma 6, also . The following theorem provides necessary and sufficient conditions for the identification of initial nodes.
Let be an arbitrarily ordered recursive ML vector with ML coefficient matrix satisfying (A1)-(A3). Then the following holds. (a) If is an initial node of the recursive ML vector in a well ordered DAG, then for all scalars it holds that
(b) If there exists a scalar , such that for eq. (5.2) holds, then is an initial node of the recursive ML vector in a well ordered DAG.
Let be the component of such that is an initial node. W.l.o.g. we may set . By the representation (4.1), and given the standardized scalings, we know that , and . By Lemma 6(b), for some , we compute
Taking the difference yields (5.2). We prove this by contradiction. Let be a row permutation that transforms into a recursive ML vector on a well-ordered DAG, and suppose that for some non-initial node, say , there exists some such that
Given that a recursive ML vector can have more than one initial node, w.l.o.g. assume that there are initial nodes. Since is not an initial node, we know by Definition 2 that . Furthermore, as must have an ancestor, there exists some node for , such that and, hence, . Since is a row permutation, which permutes into a recursive ML vector on a well ordered DAG, we know that there exists some , such that . By Lemma 5, and since , and , it follows that . This implies that
Next, for the summands in the sum on the right-hand side, following Lemma 5, we obtain
which, when combined with eq. (5.4), yields the inequality
However, this is a contradiction to eq. (5.3). ∎
2 Reordering the Vector Components: Finding the Descendants
Once we have identified the initial nodes of the recursive ML vector , we provide a necessary and sufficient criterion for identifying the causal order of the descendants.
We proceed iteratively by identifying every new generation in the DAG. Suppose we have found all nodes which belong to a certain number of generations, and that there are such nodes which we have ordered as . Let be the corresponding components in the arbitrarily ordered recursive ML vector
The next logical step is to investigate, whether , belongs to the next generation of nodes in the causal order. Define and let contain all other components. Then we take the maximum over a -tuple of partly scaled random variables: for define
Let be an arbitrarily ordered recursive ML vector with ML coefficient matrix satisfying (A1)-(A3). Let be the first nodes of the recursive ML vector of a well-ordered DAG, which have already been ordered. Then the following holds: (a) If has no ancestors in , then for all scalars it holds that
(b) If there exists a scalar such that (5.7) holds, then we identify as the -th node.
W.l.o.g. let be a node such that . Consider the squared scaling of as in (5.6), and . By representation (4.1) and Lemma 6, and following similar steps as in the proof of Theorem 2(i), we find
Therefore, (5.7) is satisfied. Suppose now that for () there exists some such that
We have the following system of equalities:
The summands in the last summation are non-negative. For we can take as the -th node. Then the difference is equal to . Similarly, if for , then this implies that and, thus, that can be chosen as the -th node. Suppose now that , and for some . Then, by Lemma 5 and since , a bound similar to that in (5.5) gives
Therefore we have that either , or for . In both cases can be chosen as the -th node. ∎
One of the consequences of the proof of Theorem 3 provides a criterion, when two or more components of are neither descendants nor ancestors of one another in a DAG.
Let be as in Theorem 3 and suppose that we have found the first nodes. If for and some , then
As another direct consequence of Theorem 3 we obtain the following corollary.
Let be as in Theorem 3 and suppose that we have found the first nodes. Let be such that is the -th node, while belongs to a different generation. Define for and
[The reordering algorithms for a 10 nodes model] We assess the performance of the reordering procedure based on Theorems 2 and 3. We assume that the recursive ML vectors have standard Fréchet(2) components, which allows us to estimate the scalings by the standard MLE given for by (see Krali (2018), Section 5.4 for details)
To perform the reordering we turn both Theorem 2 and Theorem 3 into Algorithm 2 and Algorithm 3, respectively. For every node, say , Algorithm 2 checks the criterion in Theorem 2 (see Line 4 below). The difference between and is entered into the -th- component of the vector . Finally, the vector is filled with non-zero components only for those nodes, which satisfy the criterion of Theorem 2. Algorithm 3 follows a similar logic.
When estimating the scalings, then the -s in Algorithms 2 and 3 are a.s. different from 0. Hence, both algorithms are adapted to allow for small bounds to both quantities, which have to be chosen appropriately. We are interested in checking if the final order identifies the nodes in accordance with their respective generations. To this end, we choose a small bound , which enables Algorithm 3 to return more than one node per iteration step; namely the generations. Based on simulation experience, we chose and . All simulations and data analysis are done using R, R Core Team (2016).
As the initial order is irrelevant, we set w.l.o.g. . We perform 100 simulation runs for each of the sample sizes .
The reorderings are obtained by first applying Algorithm 2 and then Algorithm 3. For some simulations it has happened that the bounds in Line 5 in Algorithms 2 and 3 are not satisfied by any of the components. We indicate this in Table 5.1, where the column “Valid Runs” corresponds to the number of simulation runs (out of ) for which the conditions of the bounds in the algorithms are satisfied each time the “if” loop is entered.
The column “Correctly Reordered” gives the number of runs for which Algorithms 2 and 3 return the generations . The column “Success Ratio” presents the ratio of “Correctly Reordered” over “Valid Runs”.
Statistical Theory for Regularly Varying Innovations
The discrete spectral measure of the ML model poses serious challenges towards the objective of estimation. Einmahl et al. (2016), Einmahl et al. (2012), and Einmahl et al. (2018) develop estimation procedures for the stable tail dependence function. In both, Einmahl et al. (2012) and Einmahl et al. (2018), the methods are also applied to models with discrete spectral measure, whose dependence parameters can be obtained from the stable tail dependence function. Janssen and Wan (2019) provide a new way for estimating the atoms of the spectral measure on the unit sphere by using a clustering approach. For our purposes we resort to the empirical spectral measure.
Finally, we estimate by the linear transformation as given in Theorem 1.
The following CLT holds for every . Again we use the polar representation (6.1). Let the radial component of have distribution function .
2 Asymptotic Normality of the Scalings of Maxima
We show asymptotic multivariate normality of the vector . To this end we use the Cramér-Wold device and a properly chosen continuous function on to which we then apply Theorem 4.
where the entries of the covariance matrix are given by the right-hand sides of the following two limits. The diagonal entries for satisfy
and the non-diagonal entries for two different sets are given by
Moreover, the covariance matrix is singular.
which is—as a linear function of continuous functions—itself continuous on . The empirical estimator for is by (6.3) given as
Applying Theorem 4 for the given choice of it follows that
To show that is singular, let for such that , and set the remaining components of the vector to zero. Summarize all these into the set , and note that since there are exactly such entries in , namely corresponding to the dimension of . Then we obtain
Next, when computing the covariance we simply use the identity . Let . Consider f(\boldsymbol{\omega})={d}\big{(}\underset{k\in\boldsymbol{h}_{i}}{\bigvee}\omega_{k}^{2}+\underset{l\in\boldsymbol{h}_{j}}{\bigvee}\omega_{l}^{2}\big{)}. Then using again Theorem 4 we get
The asymptotic covariance matrix can also be expressed in terms of the squared entries of the matrix .
Let the assumptions of Theorem 5 hold. Then the entries of are given by the right-hand sides of the following two limits: On the diagonal we obtain
where . For the non-diagonal entries we obtain
where and
With the explicit form of the spectral measure (3.4), expression (6.7) becomes:
Similarly, for the covariance, from (6.8) we obtain:
Summing the variance terms together we obtain
The identities giving , , and follow from (4.3). ∎
Finally we prove asymptotic normality of the estimated ML coefficient matrix computed via Theorem 1 as . As is a deterministic matrix, we obtain as . Then Theorem 5 and Corollary 3 gives the asymptotic normality of the estimated ML coefficient matrix .
Let be a recursive ML vector satisfying (A1)-(A3), and let be i.i.d. copies of . Let the assumptions of Theorem 5 hold and assume that the ML coefficient matrix satisfies
Estimate with as in Theorem 1 and as in (6.5). Then
where is the covariance matrix in Corollary 3.
Data Applications
For estimating a causal order as well as for the estimation of the ML coefficient matrix we need estimates for the scalings in Algorithms 1, 2, and 3, respectively. Notice that in Proposition 2 we estimate the ML coefficient matrix for a well-ordered DAG, so that we first estimate the order of the nodes and then . The structure learning is based on the scalings of as defined in (5.6), and the estimation of as in Proposition 2 is based on scalings of as in (4.2). In contrast to Example 3 we make no distributional assumptions on , but use the non-parametric estimation method developed in Section 6.
For the non-parametric estimation of all scalings needed in the algorithms, as in Section 6 we denote by the number of upper order statistics corresponding to the radial threshold used for the estimation of the spectral measure. We recall that it has to be chosen as and we choose . We observe that we may have rather few components exceeding the radii computed as in (6.1) based on all components. If some components of an observation are very large, then other components may not exceed the corresponding threshold. As the choice of the upper order statistics is based on these radii, there may be rather few exceedances in some component. Hence, we resort to lower dimensional vectors for appropriate sets for the estimation of the various scalings.
We want to apply Algorithms 2 and 3 for structure learning by replacing the theoretical scalings by their estimated counterparts. However, we have to modify both algorithms to account for estimation errors.
As the limited number of exceedances of radii in some components is particularly critical for identification of the initial nodes, we modify the estimation procedure, which has been presented in (5.1), and estimate for every the initial nodes only based on for (corresponding to ), but then for all . This means that the identification of the initial nodes is carried out by applying a pairwise version of Theorem 2 for all pairs. The following pairwise version of Algorithm 2 identifies the intial nodes of the DAG. It is based on Theorem 5.6 and Algorithm 3 of Krali (2018), adapted for possible estimation errors. The positive bounds have to be chosen appropriately to ensure that the estimates are close to zero. The scalar has to be chosen in accordance with Theorem 2.
Once the initial nodes are identified, we proceed finding the descendants. When searching for the -th node, we apply the following modification of Algorithm 3, which has again been adapted for possible estimation errors by an application of Corollary 2.
In contrast to Example 3, where our goal was to identify the generations of the graph, here we are only interested in a causal order of the nodes, and thus modify Algorithm 3 based on Corollary 2 so that it returns a unique node at each step of the if-loop.
1.2 Estimation of the Scalings
According to Line 4 of Algorithm 5 three squared scalings need to be estimated:
- : By (5.6), this estimate involves all components of . Thus, we set and proceed as in step (i) below;
-: We estimate the spectral measure based on and proceed as in step (i) below; such scalings we also need to estimate in Line 5 of Algorithm 4;
-: By (5.6), this is the estimated scaling of the rescaled vector and we follow step (ii) below.
For Algorithm 1 we have to estimate the following squared scalings for and :
-: We estimate the spectral measure based on .
- : Here we set .
The following two steps modify the setting of Section 6 and summarize the estimation of the scalings in both Algorithms 4, 5, and Algorithm 1.
Then for we estimate as
When , corresponding to the scaling of a single component, then by (7.1), , and plugging this in the estimator in (2), we obtain , which is the true scaling parameter .
The numerator, corresponds to the new mass of the spectral measure as a consequence of the scaling by of the components involved in and , see for instance Lemma 3(b).
1.3 Estimating the ML Coefficient Matrix
After having estimated also the scalings needed for Algorithm 1, we have to take care of estimation errors. Indeed, it can happen that entries of are estimated as being negative. For the two data examples to follow we simply set , with the square root taken entrywise, and keeping all positive estimates. For larger networks it may be advisable to choose a thresholding or lasso procedure to obtain a sparse graph.
2 Industry Portfolio Data
The data consist of seven time series of value-averaged daily percentage returns, each assigned to one of seven industry portfolios as part of the 30-Industry-Portfolio in the Kenneth French Data Library available at https://mba.tuck.dartmouth.edu/pages/faculty/ken.french/datalibrary.html.
All 30 portfolios have been analysed in Cooley and Thibaud (2019); Janssen and Wan (2019), where in Cooley and Thibaud (2019) it is suggested that the tails of the data are regularly varying. We refer to the introduction for more details on the objectives of these papers.
The seven portfolios we consider are: Chemicals (Ch), Fabricated Products (FP), Electrical Equipment (EE), Healthcare (H), Smoke (S), Utilities (U), and Others (O), which includes products which are not specific to any of the other listed industries. A precise description of the data, in particular of each industry sector can be found on the website above.
The data has been collected over the years 1950-2015. Since the time series over this time period is non-stationary and, in particular, since also the dependence structure changes over this long period, we have selected the time window from to containing observations, which show marginal stationarity. To each of the 7 time series we have fitted moving average processes of order 3, with the exception of Others where we have fitted a moving average process of order 4, and performed a Ljung-Box test with 8 lags on the residuals. The test did not reject the independence hypothesis of the residuals, supporting the assumption that the time series are stationary. Figure 2 depicts the time series plots in %-returns for the seven industries.
As we assess dependence in extreme negative returns, we transform the vector of the 7 portfolio time series to . Our aim is to fit a recursive ML model model to . We transform the data by the empirical integral transform to standardize them to Fréchet margins (see for instance, p. 381 in Beirlant et al. (2004), or Cooley and Thibaud (2019)). We map and define for
Running maxima. In order to provide some insight in the data structure, we start our analysis with a time-line of the high risk events of the seven industry portfolios and their association with shocks entering the industry network from the relevant component of the innovation vector . The horizontal axes of Figure 3 shows every time point, when the maximum over all seven standardized industry returns happens and indicates on the vertical axes the respective innovation component causing this maximum. Since the innovations for are atomfree and by Assumption (1) independent, representation (3.2) ensures that each recursive ML component realises its maximum in exactly one innovation. If two components of are realised by the same innovation, still the realised values of the two components are different by Lemma 5, which implies that is unique. These innovations are indicated in Figure 3.
We find that most of the shocks originate from the initial node Chemicals (7) during the time period 1990-1991 which coincides with the Gulf War, caused by the invasion of Kuwait by Iraq. During the war it was feared that Iraq made use of chemical warfare. Regarding Fabricated Products (6), the larger losses occur close to the end of 1997, which is associated with the slowdown in the Asian economies and which had spillover effects on the U.S economy, eventually leading also to the October 27, 1997 Mini-Crash. The Utilities (4) experience large losses in the years 1994 and 1996 associated with deregulation of the electric energy supply in the US, which was initiated in 1992. The Healthcare sector (2) experiences losses in the period 1992-1993 associated with the Clinton Health Care reform.
Our final goal is to approximate the causal dependence structure via a recursive ML model by means of the learning algorithm presented in the previous sections of this paper. This algorithm is based on all returns above a high threshold, not only on the maximum value.
Bivariate extremes. In a second exploratory analysis we plot the bivariate extremes (real data and simulated ones) in Figure 6 of Appendix A. We also simulate a 7-dimensional random vector from an innovation vector with independent standard Fréchet(2) components of dimension via , where the estimated matrix is given in (7.3). Two columns always belong together, the left one gives the empirical bivariate extremes of two of the seven components, respectively, which have also been the basis for the estimation procedure of Section 7.1. The right one presents a simulation of the estimated model. We plot only those bivariate observations with the 50 largest radii. Left and right (real and simulated data) look very much alike, indicating that the estimated bivariate models are valid approximations to the biviariate empirical distribution in the tails.
We give an interpretation of Utilities versus Electrical Equipment (line 6, columns 3 and 4): Here we notice that large losses in Utilities do not necessarily occur together with high risk for Electrical Equipment. This can be verified in the plot of realised bivariate extremes (column 3), where large losses for Utilities occurring close to the vertical axis correspond only to negligible losses for Electrical Equipment. This suggests that the common large losses between Utilities and Electrical Equipment are rather caused by their common ancestors. This may be due to idiosyncratic risks associated with one but not the other, which in this case might correspond to the innovation terms and .
Fitting a recursive ML model. Finally, we approximate the extreme dependence structure of by a recursive ML model. To this end, according to Section 6, we have to choose a threshold value of the radial components. We choose and set . For identification of the initial nodes we employ Algorithm 4 with and , and then in order to reorder the remaining nodes Algorithm 5. As output we obtain the ordered vector
Finally, we estimate the ML coefficient matrix by the estimation version of Algorithm 1 and setting . The estimated standardised ML coefficient matrix is given by
The estimated squared scaling parameters of the components of are obtained by summing the squared entries of the respective row. We find the estimated vector of scalings and recall that the theoretical ones are all equal to 1. Deviations from scalings of 1 stem from the fact that we set . In doing so, once has been computed, we ignore its entries that are close to zero but negative, for instance . Consequently this can make the sums of the square entries of the respective row be slightly greater than one.
The DAG corresponding to is given in Figure 4. We recall that implies no edge from to .
The estimated DAG should provide insight into the causality structure of the seven industries. We associate the estimated scalings with the standardised risk of each component. Then the estimated entries in indicate the proportions of risk inferred from the causal dependence.
The only initial node is Chemicals, whose high losses impact risk on all other industries as it has out-degree 6. For instance, the line of productions in Fabricated Products, Healthcare (which includes pharmaceutical industry), Electrical Equipment, Utilities (which includes electricity services and supply), and Smoke are highly dependent on the supply of chemical products and chemical processing.
Fabricated Products has out-degree 5 with its high risk affecting Utilities, Others, Smoke, Healthcare, and Electrical Equipment. A reason for this may lie in the industrial fabrication of many products in the affected industries. In particular the impact on Smoke, whose production line depends heavily on machinery, is stronger than that on Utilities, Electrical Equipment, and Others, since .
Others, whose components include also Cogeneration Power Producers, has out-degree 4 with its high risk affecting Utilities, Smoke and Electrical Equipment, and Healthcare to a lesser extent. On the other hand, Others has in-degree 2, so high risk in Chemicals or Fabricated Products affects Others, which can be seen from and with higher influence from Chemicals.
Electrical Equipment has out-degree 2 and in-degree 3, so its high risk is caused by Others, Chemicals, and Fabricated Products, where the influence of Chemicals is about twice as large as Others, and the influence of high risk in Fabricated Products is much lower. On the other hand, high risk in Electrical Equipment impacts on Healthcare and Smoke in about equal proportions.
Utilities, Healthcare, and Smoke have out-degree 0, so these portfolios are affected by high risk of other portfolios, but their high risks do not spread elsewhere. This is seen from columns 1,2, and 4 of , where the quantities on the diagonal correspond to the idiosyncratic risk. The quantities to the right measure the high risk influencing these three portfolios.
3 Dietary Supplement Data
The data is taken from a dietary interview from the NHANES report for the year 2015-2016, which is available at https://wwwn.cdc.gov/Nchs/Nhanes/2015-2016/DR1TOT_I.XPT; here also more details about the 168 data components can be found. The objective is that of estimating the total intake of calories, nutrients and non-nutrient food components from foods and beverages consumed a day prior to the interview. From the above data 38 components have been investigated in Janssen and Wan (2019) using the clustering approach mentioned already in the introduction.
We focus on four of the components, Vitamin A (DR1TVARA), Beta-Carotene (DR1TBCAR), Lutein+Zeaxanthin (DR1TLZ) and Alpha-Carotene (DR1TACAR). We abreviate them as VA, BC, LZ, AC, respectively. For each component there are observations, each corresponding to a different individual and generated from survey interviews, thus the data sample can be treated as an i.i.d. sample. A Hill plot (see e.g. Embrechts et al. (1997), Section 6.4) suggests that all data components are regularly varying with some positive index. We map (VA, BC, LZ, AC) and apply the empirical integral transform to standardize the data to Fréchet(2) margins as in (7.2). As in Section 7.2 we choose as radial threshold (see Section 6), taking upper order statistics. The bivariate extremes (real data and simulated ones) are plotted in Figure 7 of Appendix B with interpretations as in Section 7.2.
We apply Algorithms 4 and 5 to reorder the nodes and estimate a recursive ML model. In the two algorithms we set . This results in the causal order (VA, BC, LZ, AC). Following the procedure in Section 7.2, we obtain the ML coefficient matrix
The estimated scaling parameters of the components of equals up to three digits (1,1,1,1). The DAG corresponding to is presented in Figure 5. We interpret dependence in high amounts of the four given food components. The estimated entries in indicate the proportion of high intake from food consumption.
From the DAG in Figure 5 we observe that the only initial node is Alpha-Carotene. Having out-degree 3 its high intake affects the intake of the other three food components. Alpha-Carotene affects in particular Vitamin A, and Beta-Carotene, where in both cases it behaves as the main contributor of high values amongst the respective ancestral nodes. This can be seen from the relative magnitude of the entries, namely and . To a lesser degree Alpha-Carotene also affects high intake of Lutein+Zeaxanthin as is seen from .
On the other hand, high proportions of Lutein+Zeaxanthin, which has in-degree 1 and out-degree 2, lead to large intakes of Beta-Carotene, and affect those of Vitamin A in a similar fashion, but to a lesser proportion. From the estimated matrix in (7.4), we can infer that Lutein+Zeaxanthin, along with Alpha-Carotene is one of the main causes of high Beta-Carotene, with approximately equal contributions, judging by the relative sizes of . Finally Beta-Carotene, with in-degree 2 and out-degree 1 is the second largest contributor to high intake of Vitamin A, since . Among all four components, Vitamin A has in-degree 3, and out-degree 0, showing that high intake of VA does not influence any of BC, LZ, or AC.
Conclusions
We have developed a new structure learning and estimation algorithm for the recursive ML model (3.2). The proposed methodology is designed for estimating recursive max-linear models for extreme events in a multivariate regular variation setting. The technique is non-parametric based on the empirically estimated spectral measure. The parametric estimation step focuses on the scalings and reflects the changes caused by simple scalar multiplications of the observed data variables on the scaling parameters. In addition, based on the very same scalings, we have shown how to estimate all extreme dependence parameters. The latter are shown to be asymptotically normal. Finally, the application of the new estimation method to financial and food dietary intake data shows that the recursive max-linear model can be fitted for capturing causal dependence structures in the extremes arising from real-life data.