Quant techniques · credit risk

Why credit losses come in bad years: the Vasicek one-factor model

A bank lends to a thousand firms, each with a 2% chance of defaulting this year. If the defaults were independent, losses would land between 1% and 3% almost every year. They don’t: in good years hardly anyone defaults, in recessions many do at once. The Vasicek model captures that with a single shared factor, “the economy”, and gives the whole loss distribution in closed form. It’s the formula inside Basel’s capital rules.

1Ai=ρ Z+1−ρ εi,default if Ai<Φ−1(p)A_i = \sqrt{\rho}\,Z + \sqrt{1-\rho}\,\varepsilon_i,\qquad \text{default if } A_i \lt \Phi^{-1}(p) Each firm’s asset value mixes a common factor Z with its own shock. ρ is the asset correlation between any two firms.
2p(Z)=Φ ⁣(Φ−1(p)−ρ Z1−ρ)p(Z) = \Phi\!\left(\dfrac{\Phi^{-1}(p) - \sqrt\rho\,Z}{\sqrt{1-\rho}}\right) Given the economy Z, defaults are independent with this probability. Bad Z, high default rate.
3P(L≤x)=Φ ⁣(1−ρ Φ−1(x)−Φ−1(p)ρ)P(L \le x) = \Phi\!\left(\dfrac{\sqrt{1-\rho}\,\Phi^{-1}(x) - \Phi^{-1}(p)}{\sqrt\rho}\right) For a large portfolio the loss rate L equals p(Z), so its distribution follows from Z’s.
4L99.9%=Φ ⁣(Φ−1(p)+ρ Φ−1(0.999)1−ρ)L_{99.9\%} = \Phi\!\left(\dfrac{\Phi^{-1}(p) + \sqrt\rho\,\Phi^{-1}(0.999)}{\sqrt{1-\rho}}\right) The loss rate in the 1-in-1,000 bad year: the Basel IRB capital formula (before loss-given-default and maturity adjustments).
The model

One factor drives everyone

Merton’s view of default: a firm defaults when its asset value falls below its debt. Vasicek (1987, 2002) put many such firms in one model, with standardised asset returns AiA_i that share a common factor Z. Each AiA_i is standard normal, and any two have correlation ρ. Setting the default threshold at Φ−1(p)\Phi^{-1}(p) makes each firm’s default probability exactly p.

The key step is conditioning on Z. Once you know how the economy did, the firm-specific shocks are independent, so defaults are independent with probability p(Z) from step 2. With 2% unconditional PD and ρ = 0.15, a 1-in-100 bad year (Z = −2.33) pushes everyone’s default probability to about 10.6%; an ordinary good year (Z = +1) brings it down to 0.4%.

For a large portfolio, the law of large numbers says the realised default rate equals p(Z). The randomness left is all in Z, so the loss distribution is just a transformation of a standard normal, step 3.

The shape

Same mean, very different tails

The expected loss is p whatever ρ is. Correlation doesn’t change the average; it moves losses from typical years into bad ones. The median loss falls (with ρ = 0.15, about 1.3% against a 2% mean) and the tail grows.

default probability passet correlation ρ

Loss distribution of a large portfolio

One simulated year: 400 loans

Vasicek density of the default rateif defaults were independent99.9% quantile / defaulted loan
–expected loss rate (= p)
–99.9% loss rate (Basel IRB formula)
–99.9% loss rate if independent (1,000 loans)
–P(loss rate > 3p)

With p = 2% and ρ = 0.15, the 99.9% loss rate is 17.6%, five times what 1,000 independent loans would give (3.5%), and a loss rate above 6% happens about one year in 18. Set ρ to 0 and the large-portfolio distribution collapses onto 2%. Push ρ towards 0.5 and the distribution piles up near zero with a long tail: most years are fine, a few are disasters. Press “Simulate a year” a few times to see it: most years a handful of loans default; occasionally a bad draw of Z takes out dozens.

import numpy as np
from scipy.stats import norm

def vasicek_quantile(p, rho, alpha=0.999):
    """Large-portfolio default-rate quantile in the one-factor Gaussian model."""
    return norm.cdf((norm.ppf(p) + np.sqrt(rho) * norm.ppf(alpha)) / np.sqrt(1 - rho))

def simulate_losses(p, rho, n_loans=1000, n_years=20_000, seed=0):
    rng = np.random.default_rng(seed)
    Z = rng.standard_normal(n_years)
    p_z = norm.cdf((norm.ppf(p) - np.sqrt(rho) * Z) / np.sqrt(1 - rho))
    return rng.binomial(n_loans, p_z) / n_loans          # default rate each year

print(vasicek_quantile(0.02, 0.15))                       # 0.176
print(np.quantile(simulate_losses(0.02, 0.15), 0.999))    # ≈ 0.18 (finite portfolio adds a little)
Correlations

Asset correlation vs default correlation

ρ is the correlation between firms’ asset values. The correlation between their default indicators is much smaller. For p = 2% and ρ = 0.15, the probability both of two firms default is Φ2(Φ−1(p),Φ−1(p);ρ)≈0.088%\Phi_2(\Phi^{-1}(p), \Phi^{-1}(p); \rho) \approx 0.088\%, against 0.04%0.04\% if independent, so the default correlation is only about 0.024. Tiny default correlations still produce fat-tailed portfolio losses, because there are so many pairs of loans.

This one-factor structure is also the Gaussian copula that was used to price CDO tranches before 2008, with a single correlation parameter. Its thin joint tails (the normal copula has no tail dependence) were one reason senior tranches looked safer than they were.

Where people slip in interviews

  • Thinking correlation raises expected loss. It doesn’t; it changes the distribution around the same mean.
  • Mixing up asset and default correlation. An asset correlation of 0.15 can mean a default correlation of 0.02.
  • Assuming diversification removes credit risk. It removes the idiosyncratic part; the systematic part, driven by Z, never diversifies away.
  • Treating the Gaussian copula’s tails as realistic. Joint extremes are more common in practice; t copulas or stochastic correlation fatten them.
Practice

Try these before you open the answer

Warm-upp = 2%, ρ = 0.15. What's the default probability for each firm in a year when Z = −2.33?
Show answer
Φ ⁣(−2.054+0.387×2.330.922)=Φ(−1.25)≈10.6%\Phi\!\left(\frac{-2.054 + 0.387 \times 2.33}{0.922}\right) = \Phi(-1.25) \approx 10.6\%
LimitsWhat does the large-portfolio loss distribution look like when ρ = 0? When ρ → 1?
Show answer

ρ = 0: the loss rate is exactly p every year. ρ → 1: every firm defaults together or none does: loss 100% with probability p, else 0.

BaselCompute the 99.9% loss rate for p = 1% and ρ = 0.2.
Show answer
Φ ⁣(−2.326+0.447×3.0900.894)=Φ(−1.057)≈14.5%\Phi\!\left(\frac{-2.326 + 0.447 \times 3.090}{0.894}\right) = \Phi(-1.057) \approx 14.5\%
Medianp = 2%, ρ = 0.15. What's the median annual loss rate?
Show answer

The median of Z is 0, so the median loss is p(0)=Φ(Φ−1(0.02)/0.85)=Φ(−2.228)≈1.3%p(0) = \Phi\big(\Phi^{-1}(0.02)/\sqrt{0.85}\big) = \Phi(-2.228) \approx 1.3\%, below the 2% mean.

StretchWhy is the conditional default count binomial, and the unconditional one not?
Show answer

Given Z, the firm-specific shocks are independent, so each firm defaults independently with probability p(Z): a binomial count. Unconditionally, all firms share the same unknown Z, so their defaults are positively dependent; the count is a mixture of binomials over Z, with much more variance than a single binomial.

The quantiles were checked against 20,000 simulated years of a 1,000-loan portfolio. The figure plots the exact large-portfolio density and simulates individual years in your browser.