normalCDF = x => {
const a1 = 0.254829592, a2 = -0.284496736, a3 = 1.421413741
const a4 = -1.453152027, a5 = 1.061405429, p = 0.3275911
const sign = x < 0 ? -1 : 1
const z = Math.abs(x) / Math.sqrt(2)
const t = 1.0 / (1.0 + p * z)
const y = 1 - (((((a5 * t + a4) * t) + a3) * t + a2) * t + a1) * t * Math.exp(-z * z)
return 0.5 * (1 + sign * y)
}The Vasicek Portfolio Loss Distribution
Interactive exploration of the limiting distribution of the portfolio loss rate in the single-factor Gaussian copula model, the Vasicek distribution
Let each loan default independently conditional on the common factor \(F\) with conditional probability \(p(F)\). If all loans are equally weighted and their number grows, the portfolio loss rate \(L = \frac{1}{n}\sum L_i\) converges to \(p(F)\), whose distribution inherits the factor randomness. This yields the Vasicek distribution (Vasicek 2002; Christoffersen 2012, chap. 12):
\[ F_L(x;\, PD, \rho) \;=\; \Phi\!\left(\frac{\sqrt{1 - \rho}\,\Phi^{-1}(x) - \Phi^{-1}(PD)}{\sqrt{\rho}}\right) \]
\[ f_L(x;\, PD, \rho) \;=\; \sqrt{\frac{1 - \rho}{\rho}}\, \exp\!\left(-\frac{1}{2\rho}\bigl(\sqrt{1 - \rho}\,\Phi^{-1}(x) - \Phi^{-1}(PD)\bigr)^{2} + \tfrac{1}{2}\bigl(\Phi^{-1}(x)\bigr)^{2}\right) \]
The distribution has mean \(PD\), is supported on \([0, 1]\), and is heavily right-skewed. Higher asset correlation thickens the right tail and pulls mass toward the extremes.
Inputs
Tip
How to experiment
Set PD = 2%, ρ = 0.10 to reproduce Figure 12.6 in Christoffersen. Push ρ to 0.30 and notice the density mass sliding to the right tail — at ρ = 0.60 the distribution becomes distinctly bimodal. Flip the normal-approximation toggle on: the Gaussian with the same mean and variance misses the skew entirely, which is why credit VaR based on normal assumptions understates tail risk.
Note
Reading the shape. At \(\rho = 0\) the distribution collapses to a point mass at \(PD\): with independent defaults and infinitely many loans, the law of large numbers kills all dispersion. At \(\rho \to 1\) the distribution becomes Bernoulli with mass \(1 - PD\) at zero and \(PD\) at one: all firms default together or none do. Intermediate \(\rho\) interpolates between these and generates the heavily right-skewed shapes that drive credit tail risk.
References
Christoffersen, Peter F. 2012. Elements of Financial Risk Management. 2nd ed. Academic Press.
Vasicek, Oldrich. 2002. “The Distribution of Loan Portfolio Value.” Risk 15 (12): 160–62.