Multi-Name Credit Risk

Copulas

This is going to be a basic introduction, this is a complex topic to cover comprehensively.

Limitations of Multi-Name Latent Variables

The Gaussian latent-variable framework and conditional-independence construction are developed in O’Kane’s Chapter 13 (pp. 241–258). Its one-factor version is useful for simulating default times and calibrating thresholds to single-name hazard rates, but one common factor constrains how the names can move together.

The Multi-Name latent variable model is single factor. There is one variable which is seen by the other credits. They each have their own idiosyncratic component. In terms of properties, simulations, that’s it. We looked at conditional hazard rate and calculation of the portfolio of loss. Last assignment is related to this particular topic.

We can model the correlation, we can simulate, we can calibrate, the time-dependent threshold, based on the hazard rate and survival probabilities.

How can we extend this model?

There’s limitations on the one-factor correlation structure.

In one-factor, we have a number of correlation parameters 𝑁𝑐. Recall that the correlation between two credits 𝑖 and 𝑗 is 𝛽𝑖𝑗. We have the constraint that the absolute value of each correlation parameter is less than or equal to 1.

The entire correlation matrix has 𝑁𝑐(𝑁𝑐−1)2 correlation parameters, which is a lot.

The question we can ask: Does one factor structure prevent the modeling of groups, or sectors? The model may be insufficient.

We can look at some examples. Consider a simple portfolio of 4 credits grouped in two sectors. How can we represent such groups? We could take 𝛽1=𝛽2=𝛽𝑎. These two stocks will have the same exposure to the market variable 𝑧, and vice versa for the other sector 𝛽3=𝛽4=𝛽𝑏.

In a single factor model, the correlation is the product of two correlation parameters for two credits.

𝐶=[1𝛽𝑎2𝛽𝑎𝛽𝑏𝛽𝑎𝛽𝑏𝛽𝑎21𝛽𝑎𝛽𝑏𝛽𝑎𝛽𝑏𝛽𝑎𝛽𝑏𝛽𝑎𝛽𝑏1𝛽𝑏2𝛽𝑎𝛽𝑏𝛽𝑎𝛽𝑏𝛽𝑏21]

If you split this into four square matrices, then you’ll see the sub-correlation matrix for each group. The correlation between the two groups.

Let’s assume that beta_a > beta_b > 0. One is more exposed to the market than the other. This also implies that

𝑐=𝛽𝑎2≥𝛽𝑎𝛽𝑏≥𝛽𝑏2

For example, take 𝛽𝑎=0.8 and 𝛽𝑏=0.5. The within-sector correlations are 𝛽𝑎2=64% in sector A and 𝛽𝑏2=25% in sector B. The cross-sector correlation is 𝛽𝑎𝛽𝑏=40%. Sector B is therefore more correlated with sector A than it is with itself. That is the one-factor limitation: every correlation must be the product of two loadings on the same market factor.

Sector B is not fully captured.

So we can try to extend the model, make it more complex, and accommodate this particular scenario.

In this case, we can consider a two-factor version of the model.

For some credit i, we have

𝐴𝑖=𝛽1𝑖𝑍1+𝛽2𝑖𝑍2+1−𝛽1𝑖2−𝛽2𝑖2𝜖𝑖𝐴𝑗=𝛽1𝑗𝑍1+𝛽2𝑗𝑍2+1−𝛽1𝑗2−𝛽2𝑗2𝜖𝑗

Similar to the previous formulation, but with one more factor.

The linear combination of standard normal is standard normal, so that doesn’t change.

The latent variable A_j corresponds still to the time-dependent threshold for each credit.

We can calculate the correlation between these assets in a similar kind of matrix. For each element:

𝑐𝑖𝑗=𝛽1𝑖𝛽1𝑗+𝛽2𝑖𝛽2𝑗

We can revisit the matrix in the following case.

In sector A, the credits have a first factor weight and second factor weight beta_1a and beta_2a.

Sector B is similar with beta_1b and beta_2b

This is more generic, you would say this group has correlation to these factors.

We’ll assume the first credits are from sector A.

That would be the correlation between credit a in sector a and b in sector b

𝑐=[1𝛽1𝑎2+𝛽2𝑎2𝛽1𝑎𝛽1𝑏+𝛽2𝑎𝛽2𝑏𝛽1𝑎𝛽1𝑏+𝛽2𝑎𝛽2𝑏𝛽1𝑎2+𝛽2𝑎21𝛽1𝑎𝛽1𝑏+𝛽2𝑎𝛽2𝑏𝛽1𝑎𝛽1𝑏+𝛽2𝑎𝛽2𝑏]

(Bottom half is same as top half, mirrored)

For example, give sector A loadings (𝛽1𝑎,𝛽2𝑎)=(0.8,0) and sector B loadings (𝛽1𝑏,𝛽2𝑏)=(0,0.5). The within-sector correlations are then 64% for A and 25% for B, while the cross-sector correlation is the dot product 0.8⋅0+0⋅0.5=0. Separate factors can represent strong dependence within each group and weaker dependence across groups. More generally, the correlation between two credits is the dot product of their factor-loading vectors.

In general, M-factors are needed to model M-sector portfolio. Three sectors? Three factors.

The simulation is very simple, but instead of generating just a Z_1, we generate Z_1 and Z_2. It becomes a little more complex, with the number of parameters, compared to a single factor. We go from n(n-1)/2, to a lot more. If you want to implement these, you need to calibrate the exposure to the parameters. So the complexity becomes prohibitive, and that’s a limitation.

It has some applicability, but in general, the more typical way is through copula functions.

Copulas (Finally)

You can model default time dependencies, correlations for default times. We also will have measures of dependency. We will look at main copulas for credit modeling, and Monte Carlo pricing of correlated products with copulas.

We’ll look at some properties, and dependency limits, and some relations between copulas and the model we just discussed. And other ways of modeling dependence than correlation. If we have time, we’ll have some code to visualize copulas.

Next week, I have a section for estimation of parameters of copulas, more complex. But for the final exam, copulas will not be included.

The latent variable model can also be expressed as a Gaussian copula, so they are related.

Definition: An N-dimensional copula function C is a multivariate cumulative distribution function with N uniform marginals with probabilities u_1, u_2, … u_N.

This is just the multivariate cdf. One of the characteristics is that it has uniform marginals. So we can say that thIS IS THE JOINT PROBABILITY

ℙ(𝑈1̂≤𝑢1,𝑈2̂≤𝑢2…𝑈𝑁̂≤𝑢𝑁)=𝐶(𝑢1,𝑢2…𝑢𝑁)

This is the definition of such copulas where

𝑈𝑖̂∼ Uniform(0,1)

Dependent Structure of Default Times of N Credits

Let 𝑞𝑖(𝑡)=𝑃(𝜏𝑖≤𝑡) be credit 𝑖’s cumulative default probability by time 𝑡. The default-time copula is

𝐶(𝑞1(𝑡1),𝑞2(𝑡2),…,𝑞𝑁(𝑡𝑁))=𝑃(𝜏1≤𝑡1,𝜏2≤𝑡2,…,𝜏𝑁≤𝑡𝑁).

It expresses the joint probability of defaults by their marginal default probabilities. A copula is a multivariate distribution with uniform marginals; it separates the choice of each name’s marginal default curve from the choice of dependence across names. For continuous marginal distributions, Sklar’s theorem gives a unique copula representation:

𝐻(𝑥1,…,𝑥𝑁)=𝐶(𝐹1(𝑥1),…,𝐹𝑁(𝑥𝑁)).

Setting all but one input to one recovers that name’s marginal, for example 𝐶(1,…,𝑢𝑘,…,1)=𝑢𝑘. If any default probability is zero, the joint-default probability is zero. The same construction works in 𝑁 dimensions; the bivariate case is a convenient way to display it.

For the Gaussian latent-variable model, the bivariate default probability is

𝑃(𝜏𝑖≤𝑡𝑖,𝜏𝑗≤𝑡𝑗)=Φ2(Φ−1(𝑞𝑖(𝑡𝑖)),Φ−1(𝑞𝑗(𝑡𝑗));𝜌𝑖,𝑗).

Equivalently, its Gaussian copula is 𝐶𝜌𝐺𝐶(𝑢,𝑣)=Φ2(Φ−1(𝑢),Φ−1(𝑣);𝜌). This is the expression that was missing from the original note at this point (O’Kane, Chapter 14, pp. 261–263).

Dependency Limits

Latent variable model has dependence limits. We kind of look to see when we have positive and negative dependence of names in the portfolio. This is not equal to the correlations, but we can think a little bit in that way.

When we have an expression for a copula, (the joint probability distribution), it’s good to look at these properties to see the maximum and minimum dependence, and then how to measure them, based on differences dependency metrics.

Independence

The simplest is independence.

The expression for such an independence copula is

𝐶(𝑢1,𝑢2,…𝑢𝑁)=𝑢1𝑢2…𝑢𝑁=∏𝑖=1𝑁𝑢𝑖

If they’re independent, the joint probability distribution is the product of the marginals.

Perfect Positive Dependence

Perfect Negative Dependence

We can then state the Fréchet-Hoeffding Theorem:

For any copula 𝐶:[0,1]𝑁→[0,1]

and any realization (𝑢1,…𝑢𝑁)∈[0,1]𝑁, the following bounds hold:

𝑤(𝑢1,𝑢2…𝑢𝑁)≤𝐶(𝑢1,𝑢2…𝑢𝑁)≤𝑀(𝑢1,…𝑢𝑁)

Basically this theorem says if you have a copula with a particular realization, this copula is bounded above and below by two functions M and w.

w the lower Fréchet-Hoeffding bound is

𝑤(𝑢1,…𝑢𝑁)=(1−𝑁+∑𝑖=1𝑁𝑢𝑖)+

and upper bound is

𝑀(𝑢1,…𝑢𝑁)=min(𝑢1,…𝑢𝑁)

In the bivariate case where we only have two variables u and v, we have

max(𝑢+𝑣−1,0)≤𝐶(𝑢,𝑣)≤min(𝑢,𝑣)

Upper bound is perfect positive, lower bound is perfect negative.

This result holds for any copula.

Ideally we would like to estimate this copula with some data. We need to make a choice for this expression, and estimate those parameters.

But the question is, this is a representation of the original joint probability distribution, but is this a unique representation? Can we have different copulas for this?

We have one more theorem, Sklar’s Theorem.

We know by definition, the copula is a multivariate distribution function.

Any such function can be written as a copula, and its representation is unique, the marginal distributions are continuous. If you have discrete distributions, then uniqueness is not guaranteed.

Let’s consider more generally, any N-dimensional distribution function H with marginal distributions F_1, F_2, F_N for random variables x_1, x_2, … x_N. H is the joint probability distribution.

Because this is multi-dimensional, this will correspond to

𝐻(𝑥1,𝑥2,…𝑥𝑁)=ℙ(𝑋1≤𝑥1,𝑋2≤𝑥2…,𝑋𝑁≤𝑥𝑁)

We can write this as the probability that the marginal function F_1

=ℙ(𝐹1(𝑋1)≤𝐹1(𝑥1),𝐹2(𝑋2)≤𝐹2(𝑥2),…𝐹𝑁(𝑋𝑁)≤𝐹𝑁(𝑥𝑁))

We basically want to transform this to get a copula function, to get here from a generic N-dimensional function.

Let 𝑈𝑖̂=𝐹𝑖(𝑋𝑖) and the realization 𝑢𝑖=𝐹𝑖(𝑥𝑖) The marginal will take values between 0 and 1, it’s a cdf.

The original function

𝐻(𝑥1,𝑥2…𝑥𝑁)=ℙ(𝑈1̂≤𝑢1,…𝑈𝑁̂≤𝑢𝑁)𝐻(𝑥1,𝑥2…𝑥𝑁)=𝐶(𝐹1(𝑥1),𝐹2(𝑥2)…𝐹𝑁(𝑥𝑛))

We know that C is a unique copula if these Fs are continuous.

And in reverse,

𝐶(𝑢1,𝑢2…𝑢𝑁)=𝐻(𝐹1−1(𝑢1),𝐹2−1(𝑢2),…𝐹𝑁−1(𝑢𝑁))

The relationship between these two is that the copula is going to separate the choice of the marginals from the choice of the dependency structures. It decouples these things. We can take any function and its copula representation, and calibrate it to the names of the portfolio independent of the dependency structure based on the way I want to assign dependency to this portfolio.

We might want to add some dynamics to this dependencies, the difference between credit default so we can calculate the conditional survival/default probability. We could impose this by choosing a different dependency structure.

Alternative to Dependence Structure of Default Times

The survival copula uses survival probabilities 𝑠𝑖(𝑡)=1−𝑞𝑖(𝑡):

𝐶̂(𝑠1(𝑡1),…,𝑠𝑁(𝑡𝑁))=𝑃(𝜏1>𝑡1,…,𝜏𝑁>𝑡𝑁).

In the bivariate case, the default and survival copulas are related by

𝐶̂(𝑢,𝑣)=𝑢+𝑣−1+𝐶(1−𝑢,1−𝑣).

For the Gaussian latent-variable model, default thresholds are jointly normal. The probability that both thresholds have been crossed is

𝑃(𝜏𝑖≤𝑡𝑖,𝜏𝑗≤𝑡𝑗)=Φ2(Φ−1(𝑞𝑖(𝑡𝑖)),Φ−1(𝑞𝑗(𝑡𝑗));𝜌𝑖,𝑗).

Thus the Gaussian copula is

𝐶𝜌𝐺𝐶(𝑢,𝑣)=Φ2(Φ−1(𝑢),Φ−1(𝑣);𝜌).

The standard bivariate normal is unchanged when both variables are multiplied by −1. As a result, the Gaussian default and survival copulas have the same form. For a non-degenerate Gaussian copula, extreme joint events become less likely relative to their marginal tails as the thresholds move farther out: its upper- and lower-tail dependence coefficients are zero (O’Kane, Chapter 14, pp. 261–263, 269–270).

Measuring Dependence

An important property of this is dependence, so the question is how do you measure?

There are many ways.

The most popular way is Pearson Linear Correlation.

𝜌𝑃=𝔼[𝑋𝑌]−𝔼[𝑋]𝔼[𝑌]𝔼[𝑋2]−𝔼[𝑋]2𝔼[𝑌2]−𝔼[𝑌]2

Advantages: easier to understand. Everyone understands correlation. It is also invariant under linear transformation. Say we change the variables by scaling and shifting (multiplying and adding), it doesn’t affect the correlation.

For jointly Gaussian variables, zero correlation does imply independence.

However, there is a big disadvantage: linear correlation being 0 DOES NOT imply independence in general

Sometimes the correlation is abused. It is a measure of linear dependence between variables. But just because there’s no linear dependence, doesn’t mean there are other kinds of dependence.

Here is a five-point counterexample. Let 𝑋 take the equally likely values −2,−1,0,1,2, and set 𝑌=𝑋2. Then 𝐸[𝑋]=0, 𝐸[𝑌]=2, and 𝐸[𝑋𝑌]=𝐸[𝑋3]=0, so

Cov(𝑋,𝑌)=𝐸[𝑋𝑌]−𝐸[𝑋]𝐸[𝑌]=0.

Yet 𝑌 is completely determined by 𝑋. The variables are dependent, but their linear correlation is zero. This illustrates why Pearson correlation alone does not describe general dependence (O’Kane, Chapter 14, §14.3, pp. 264–265).

Rank Correlation

Given 𝑛 observations (𝑋𝑖,𝑌𝑖), let 𝑅𝑖 and 𝑆𝑖 be the ranks of 𝑋𝑖 and 𝑌𝑖. A pair of observations is concordant when their order agrees:

(𝑋1−𝑋2)(𝑌1−𝑌2)>0.

It is discordant when the product is negative. Rank measures compare these orderings, so a monotone transformation of either variable does not change them.

For example, if five observations have identical ranks in both variables, then all (52)=10 pairs are concordant and none are discordant. Kendall’s tau and Spearman’s rho are both 1. This spells out the perfectly ordered example in the notes (O’Kane, Chapter 14, §14.4, pp. 265–268).

Kendall’s Tau

𝜏=𝑐−𝑑𝑐+𝑑

where c is the number of concordant pairs, and d is the number of discordant pairs.

Then the total number of pairs is c + d, which n choose 2 = n(n-1)/2.

In the previous case, all of these are concordant, so this is 1/1.

And if it’s discordant, that’s −1.

The sample estimator of Kendall’s τ is

𝜏=2∑𝑖=1𝑛−1∑𝑗=𝑖+1𝑛sign((𝑥𝑖−𝑥𝑗)(𝑦𝑖−𝑦𝑗))𝑛(𝑛−1)

So basically you’re enumerating all these pairs, and then dividing it by the known bottom, and flipping the 2.

For continuous variables, independence gives 𝜏=0, perfect positive dependence gives 𝜏=1, and perfect negative dependence gives 𝜏=−1.

For a continuous x, y, Kendall’s tau should be

𝜏𝑥𝑦=4∫01∫01𝐶(𝑢,𝑣)𝑑𝐶(𝑢,𝑣)−1

Spearman’s Rho

Spearman’s rho is Pearson correlation applied to the ranks. With no ties, it can be calculated directly from the rank differences:

𝜌𝑆=∑𝑖=1𝑛(𝑅𝑖−𝑅̄)(𝑆𝑖−𝑆̄)∑𝑖=1𝑛(𝑅𝑖−𝑅̄)2∑𝑖=1𝑛(𝑆𝑖−𝑆̄)2=12∑𝑖=1𝑛(𝑅𝑖−𝑅̄)(𝑆𝑖−𝑆̄)𝑛(𝑛2−1)

Furthermore, for a continuous x and y.

𝜌𝑆=12∫01∫01𝐶(𝑢,𝑣)𝑑𝑢𝑑𝑣−3

This is important because for each copula it’s going to be dependent, as a function of those parameters, it’s going to have different values in the Pearson, Kendall or Spearman value.

There are some advantages to rank correlation, which is that it’s able to capture nonlinear dependence, but it has some disadvantage as well.

Tail Dependence

Rank correlation records whether observations tend to move in the same or opposite order, but it does not measure the magnitude of extreme co-movements. Tail dependence asks whether one variable remains extreme when the other is already in an extreme tail.

For variables with marginal CDFs 𝐹𝑋 and 𝐹𝑌, the upper-tail dependence coefficient is

𝜆𝑈=lim𝑢→1𝑃(𝑌>𝐹𝑌−1(𝑢)|𝑋>𝐹𝑋−1(𝑢)).

The lower-tail coefficient is

𝜆𝐿=lim𝑢→0𝑃(𝑌≤𝐹𝑌−1(𝑢)|𝑋≤𝐹𝑋−1(𝑢)).

Here 𝑢 is a quantile level. In credit-risk terms, joint defaults correspond to the lower tail of latent asset values, while large portfolio losses correspond to the upper tail of losses. A positive coefficient means that an extreme observation in one variable has a non-vanishing limiting probability of being accompanied by an extreme observation in the other. The tail plot in the notes is illustrating this limiting behavior.

The Gaussian copula has zero upper- and lower-tail dependence for correlations strictly between −1 and 1. It can match ordinary dependence while understating the chance of joint extremes; a copula with tail dependence is needed when that behavior matters (O’Kane, Chapter 14, §§14.5–14.6, pp. 269–270).