Lower Tail Dependence

The Lower Tail Dependence measures how often two assets fall into their lowest returns together: the share of the periods in which one asset fell into its lowest alpha share of returns in which the other did too (Embrechts, McNeil and Straumann, 2002). It shows whether assets crash together, which the correlation, an average over all periods, does not.

The formula for the Lower Tail Dependence starts from the indicators \(L_{i , t}\) of a return of asset i at or below its alpha quantile in period t, with alpha the tail probability, and takes the share of the tail periods of asset i in which asset j is in its tail too, with the distance \(d_{i , j}\) its negative logarithm:

\[\lambda_{i,j} = \frac{\sum_{t=1}^{T} L_{i,t} \cdot L_{j,t}}{\sum_{t=1}^{T} L_{i,t}}\] \[d_{i,j} = -\ln\left(\lambda_{i,j}\right)\]

A value of 1 means the two always crash together, 0 that they never share a tail period; with a tail of a few periods the estimate moves in large steps.

It is the codependence that the hierarchical optimizers (HRP, HERC, NCO) and get_asset_clusters take, or the distance they cluster on. Hierarchical portfolio construction groups the assets by how much they move together and spreads the capital across the groups, so the codependence decides which assets end up together. The Pearson correlation captures only linear co-movement on average; the other codependences capture co-movement in ranks, in large moves only, in any form of dependence or in crashes. Each comes with a distance, zero for assets that move as one, that the clustering works on (Mantegna, 1999).

Also known as: tail dependence matrix, lower tail dependence coefficient.

In the Finance Toolkit this is get_codependence_matrix with method="lower_tail", the same function as Codependence Matrix.

Example · AAPL, MSFT, JNJ, XOM · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_codependence_matrix:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "MSFT", "JNJ", "XOM"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.portfolio.get_codependence_matrix(method="lower_tail")

Which returns:

References

  • Paper Embrechts, P., McNeil, A. and Straumann, D. (2002). “Correlation and Dependence in Risk Management: Properties and Pitfalls.” In Risk Management: Value at Risk and Beyond, Cambridge University Press, 176-223.
  • Library Referenced against Riskfolio-Lib’s ltdi_matrix (Lower Tail Dependence)
Share