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.
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 that share a common factor Z. Each is standard normal, and any two have correlation ρ. Setting the default threshold at 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.
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.
Loss distribution of a large portfolio
One simulated year: 400 loans
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)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 , against 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.
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
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
Medianp = 2%, ρ = 0.15. What's the median annual loss rate?Show answer
The median of Z is 0, so the median loss is , 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.