COPULA Procedure

Hierarchical Archimedean Copula (HAC)

(Experimental)

Adopting the notations of Savu and Trede (2010), let L denote the total level of hierarchies and let D denote the dimension of the HAC. There are n Subscript l distinct copulas at each level l comma l equals 1 comma ellipsis comma upper L. These copulas are indexed by left-parenthesis l comma j right-parenthesis comma j equals 1 comma ellipsis comma n Subscript l Baseline. At each level, there are also d Subscript l variables, 0 less-than-or-equal-to d Subscript l Baseline less-than-or-equal-to upper D and sigma-summation Underscript l Endscripts d Subscript l Baseline equals upper D. In the first step, all the variables at the lowest level are grouped into n 1 subsets, each subset being an ordinary multivariate Archimedean copula

upper C Subscript 1 comma j Baseline left-parenthesis bold-italic u Subscript 1 comma j Baseline right-parenthesis equals phi Subscript 1 comma j Superscript negative 1 Baseline left-parenthesis sigma-summation Underscript bold-italic u Subscript 1 comma j Baseline Endscripts phi Subscript 1 comma j Baseline left-parenthesis bold-italic u Subscript 1 comma j Baseline right-parenthesis right-parenthesis comma j equals 1 comma ellipsis comma n 1

where phi Subscript 1 comma j is the generator of copula upper C Subscript 1 comma j, bold-italic u Subscript 1 comma j denotes the variables that belong to copula upper C Subscript 1 comma j, and the sum sigma-summation Underscript u Subscript 1 comma j Endscripts is the sum over each variable in the subset bold-italic u Subscript 1 comma j. The copulas upper C Subscript 1 comma j can be different Archimedean copulas for j equals 1 comma ellipsis comma n 1. Then at the second level, the copulas upper C Subscript 1 comma j that are derived in the first level are aggregated as if they are individual variables. Suppose there are n 2 copulas and d 2 variables,

upper C Subscript 2 comma j Baseline left-parenthesis bold-italic upper C Subscript 1 comma j Baseline comma bold-italic u Subscript 2 comma j Baseline right-parenthesis equals phi Subscript 2 comma j Superscript negative 1 Baseline left-parenthesis sigma-summation Underscript bold-italic upper C Subscript 1 comma j Baseline Endscripts phi Subscript 2 comma j Baseline left-parenthesis bold-italic upper C Subscript 1 comma j Baseline right-parenthesis plus sigma-summation Underscript bold-italic u Subscript 2 comma j Baseline Endscripts phi Subscript 2 comma j Baseline left-parenthesis bold-italic u Subscript 2 comma j Baseline right-parenthesis right-parenthesis

where phi Subscript 2 comma j denotes the generator of upper C Subscript 2 comma j and bold-italic upper C Subscript 1 comma j represents the subset of copulas in upper C Subscript 1 comma h Baseline comma h equals 1 comma ellipsis comma n 1, that is aggregated for copula upper C Subscript 2 comma j for j equals 1 comma ellipsis comma n 2. This structure continues until at level l equals upper L a single copula upper C Subscript upper L comma 1 aggregates all the copulas at its previous level, l equals upper L minus 1.

A four-dimensional example that has total levels upper L equals 2 and a structure shown in FigureĀ 5 is defined as follows:

StartLayout 1st Row 1st Column upper C Subscript 2 comma 1 Baseline left-parenthesis u 1 comma u 2 comma u 3 comma u 4 right-parenthesis 2nd Column equals upper C Subscript 2 comma 1 Baseline left-parenthesis upper C Subscript 1 comma 1 Baseline left-parenthesis u 1 comma u 2 right-parenthesis comma upper C Subscript 1 comma 2 Baseline left-parenthesis u 3 comma u 4 right-parenthesis right-parenthesis 2nd Row 1st Column Blank 2nd Column equals phi Subscript 2 comma 1 Superscript negative 1 Baseline left-parenthesis phi Subscript 2 comma 1 Baseline ring phi Subscript 1 comma 1 Superscript negative 1 Baseline left-parenthesis phi Subscript 1 comma 1 Baseline left-parenthesis u 1 right-parenthesis plus phi Subscript 1 comma 1 Baseline left-parenthesis u 2 right-parenthesis right-parenthesis plus phi Subscript 2 comma 1 Baseline ring phi Subscript 1 comma 2 Superscript negative 1 Baseline left-parenthesis phi Subscript 1 comma 2 Baseline left-parenthesis u 3 right-parenthesis plus phi Subscript 1 comma 2 Baseline left-parenthesis u 4 right-parenthesis right-parenthesis right-parenthesis EndLayout

Figure 5: Example Four-Dimensional Hierarchical Structure with Two Levels

Example Four-Dimensional Hierarchical Structure with Two Levels


Theorem 4.4 of McNeil (2008) states that the sufficient condition for a general hierarchical Archimedean structure to be a proper copula is that all appearing nodes of the form phi Subscript m comma j Baseline ring phi Subscript n comma j Superscript negative 1 have completely monotone derivatives. This condition places certain constraints on the copula parameters. In particular, if all the copulas in a hierarchical structure come from the Frank, Clayton, or Gumbel family, then theta Subscript m comma j Baseline less-than-or-equal-to theta Subscript n comma j for all j when m less-than n. Intuitively, this means that rank correlation must be increasing as you move down the hierarchical structure.

The hierarchical Archimedean copulas available in the COPULA procedure are the hierarchical versions of the Clayton, Frank, and Gumbel copulas.

Simulation

A slightly modified version of the recursive algorithm from McNeil (2008) works for all valid hierarchical structures that have Clayton, Frank, or Gumbel generators:

  1. Start at l equals upper L, and generate a random variable V with the distribution function F with Laplace transform phi Subscript upper L comma 1 Superscript negative 1.

  2. For l equals upper L minus 1 comma ellipsis comma 1, generate u Subscript l comma j from its parent hierarchy. For upper C Subscript l comma j, recursively call this algorithm with the proper inner generators that correspond to the copula family.

  3. Return bold-italic upper U equals left-parenthesis phi Subscript upper L comma 1 Superscript negative 1 Baseline left-parenthesis minus log left-parenthesis u 1 right-parenthesis slash upper V right-parenthesis comma ellipsis comma phi Subscript upper L comma 1 Superscript negative 1 Baseline left-parenthesis minus log left-parenthesis u Subscript upper D Baseline right-parenthesis slash upper V right-parenthesis right-parenthesis Superscript upper T.

Let phi 1 be the outer generator and phi 2 the nested generator, and let theta 1 and theta 2 be the respective generator parameters. Let v be a draw from distribution function F with Laplace transform phi 1 Superscript negative 1. The inner copula generators phi 12 left-parenthesis dot semicolon v right-parenthesis equals exp left-parenthesis minus v phi 1 ring phi 2 Superscript negative 1 Baseline left-parenthesis dot right-parenthesis right-parenthesis and their corresponding Laplace transform distributions for the Clayton, Frank, and Gumbel family are summarized in Table 3.

Table 3: Inner Generators and Corresponding Distributions

Copula Type phi 12 left-parenthesis x semicolon v right-parenthesis Distribution with LT phi 12 left-parenthesis dot semicolon v right-parenthesis
Clayton exp left-parenthesis v minus v left-parenthesis 1 plus x right-parenthesis Superscript theta 1 slash theta 2 Baseline right-parenthesis Tiled stable
Gumbel exp left-parenthesis minus v x Superscript theta 1 slash theta 2 Baseline right-parenthesis Stableleft-parenthesis StartFraction theta 1 Over theta 2 EndFraction comma 1 comma left-parenthesis v cosine StartFraction theta 1 pi Over 2 theta 2 EndFraction right-parenthesis Superscript theta 2 slash theta 1 Baseline comma 0 right-parenthesis
Frank left-parenthesis StartFraction 1 Over 1 minus e Superscript minus theta 1 Baseline EndFraction left-parenthesis 1 minus left-parenthesis 1 minus left-parenthesis 1 minus e Superscript minus theta 2 Baseline right-parenthesis exp left-parenthesis negative x right-parenthesis right-parenthesis Superscript theta 1 slash theta 2 Baseline right-parenthesis right-parenthesis Superscript v No closed form


Note that when theta 1 equals theta 2, the inner generators for the Clayton and Gumbel family both simplify to the generator of the independence copula, exp left-parenthesis minus v x right-parenthesis. For more information about simulating from the distribution with the Laplace transform given by the inner generator for the Frank family, see Hofert (2011). For more information about how to simulate from a tilted stable distribution, see McNeil (2008).

Last updated: June 19, 2025