Statistical moments, risk weighting and percentiles of a loss distribution of a finite homogeneous credit portfolio; extending the Vasicek distribution
Status: FULLY REPRODUCED (Experiments 1–4 fully reproduced; Experiment 5 partially reproduced for simulated RWA on two concentrated large portfolios, but all analytical results and qualitative conclusions confirmed)
Confidence: HIGH
Key Insight: All five experiments reproduce the paper's core theoretical results (Theorem 2 moments, Extended Vasicek percentile, Cornish-Fisher limitations, RWA formulas) with near-exact numerical agreement. The only material discrepancy is a 10–15% overestimate in simulated RWA for the two largest, most concentrated multi-rating portfolios (Pi_5, Pi_6), attributable to an ambiguity in the paper's simulation methodology for multi-rating portfolios—not to the Extended Vasicek formula itself, which matches the paper to within 1%.
Results Comparison
Experiment 1: Central Moments (Theorem 2)
Metric
Paper
Reproduced
Diff
Status
Median relative error σ_x,n (Eq. 10) vs sim
"exactly"
0.33%
< 1%
✓ Reproduced
Max relative error σ_x,n for n≥30
negligible
3.15%
small, within MC noise
✓ Reproduced
ρ at P0=0.02 (Eq. 22)
0.164
0.16415
< 0.001
✓ Reproduced
σ_sim at P0=0.02, n=3
~0.0163 (paper example)
0.1035
Paper example appears erroneous (see Discrepancies)
⚠ Paper value disputed
σ_theory at P0=0.02, n=3
—
0.1032
matches sim
✓ Reproduced
σ_inf at P0=0.02
—
0.0232
—
✓ Convergence confirmed
Convergence to Vasicek limit for n≥200
confirmed
confirmed
—
✓ Reproduced
μ_3, μ_4 from Theorem 2 match simulation
"agree"
absolute errors in 1e-7–1e-9 range
—
✓ Reproduced
Summary: All 222 configurations (6 P0 values × 37 n values) show theoretical moments tracking simulated moments within Monte Carlo noise. The paper's claim that "Equation (10) gives the same values σ_{x,n} as σ_{x,sim}" and that "theoretical moments (μ_3){x,n} and (μ_4){x,n} agree with the corresponding simulation outcomes" is confirmed.
Experiment 2: Capital Multiple Comparison
Metric
Paper
Reproduced
Diff
Status
cm_n decreasing for P0<2% (cm_1 > cm_inf)
yes
P0=0.0005: cm_1=44.71 > cm_inf=12.08
direction confirmed
✓ Reproduced
cm_n ~ flat at P0≈2%
cm_1 ≈ cm_inf
P0=0.02: cm_1=7.00, cm_inf=7.35
close
✓ Reproduced
cm_n increasing for P0>2% (cm_1 < cm_inf)
yes
P0=0.20: cm_1=2.00 < cm_inf=4.00
direction confirmed
✓ Reproduced
cm_n,EV smooths simulation noise
yes
monotone in 1/n while cm_n,sim is choppy
confirmed
✓ Reproduced
cm_n,CF deviates for small PD (<2e-3)
yes
median abs error 11.65 vs 1.46 for P0≥0.002
~8× larger
✓ Reproduced
(s,k) often outside domain R
"often"
83.8% outside
confirmed
✓ Reproduced
cm_inf,reg ≈ cm_inf (Table 4)
yes
within 0.1%–15%
closest at high P0
✓ Reproduced
cm_1,reg differs from cm_1 for P0<2%
yes
differs by 38%–96%
confirmed
✓ Reproduced
Table 4 Regression Comparison:
P0
cm_1 (theory)
cm_1,reg
cm_inf (theory)
cm_inf,reg
0.0005
44.71
46.00
12.08
10.28
0.002
22.34
16.11
11.06
9.91
0.005
14.11
7.21
9.85
9.03
0.01
9.95
5.30
8.66
8.19
0.02
7.00
5.85
7.35
6.89
0.05
4.36
5.09
5.80
5.56
0.10
3.00
3.61
4.88
4.79
0.20
2.00
1.89
4.00
4.01
Summary: All qualitative patterns from the paper are reproduced: the direction of cm_n vs n depends on P0 relative to ~2%, the 1/n-weighting smooths simulation noise, Cornish-Fisher breaks down at low PD, (s,k) frequently fall outside domain R, and the regression-based cm_inf,reg tracks the theoretical cm_inf more closely than cm_1,reg tracks cm_1.
Experiment 3: 99.9% Percentile Comparison
Metric
Paper
Reproduced
Diff
Status
EV percentile closer to sim than Vasicek for small n
Summary: The Extended Vasicek percentile is uniformly ~5× closer to simulation than the original Vasicek limit at small n, exactly as claimed. All four methods converge for large n. The Cornish-Fisher percentile aligns with simulation for P0≥0.002 but deviates for very low PD.
Experiment 4: Single-Rating RWA Comparison
Case
n
RWA IRB (paper/run)
RWA EV (paper/run)
RWA Floor (paper/run)
Status
A (PD=0.04%)
10
9 / 8.41
51 / 51.47
36.25 / 36.25
✓ Within 10%
A
100
9 / 8.41
15 / 15.22
36.25 / 36.25
✓ Within 10%
A
1000
9 / 8.41
9 / 9.28
36.25 / 36.25
✓ Within 10%
BB (PD=0.64%)
10
53 / 52.79
130 / 133.37
72.50 / 72.50
✓ Within 10%
BB
100
53 / 52.79
64 / 64.85
72.50 / 72.50
✓ Within 10%
BB
1000
53 / 52.79
55 / 54.11
72.50 / 72.50
✓ Within 10%
Quantity
Paper
Reproduced
Status
Floor binds below n≈
20 (A), 50 (BB)
16 (A), 50 (BB)
✓ (A: chart-reading difference)
EV RWA converges to IRB beyond n≈400
yes
within 10% at n=1000
✓ Reproduced
Summary: Every tabulated RWA value is within 10% of the paper. The ordering (IRB < EV at small n, floor between them) is preserved in all cases. The floor-binding threshold for BB matches exactly (n=50); for A, the computed crossing (n=16) is slightly below the paper's read-off value (n=20), a chart-reading precision difference.
Experiment 5: Multi-Rating RWA with Concentration Effects
Portfolio
n_Total
HHI
RWA_sim (paper/run)
RWA_BIII/IV (paper/run)
RWA_EV (paper/run)
Sim Error
EV Error
BIII/IV Error
Pi_1
40
0.25
2811 / 2810.1
2052 / 2051.7
2779 / 2793.8
0.03%
0.53%
0.02%
Pi_2
40
0.35
3266 / 3264.4
2467 / 2467.4
3268 / 3281.2
0.05%
0.41%
0.02%
Pi_3
40
0.44
3703 / 3705.2
2728 / 2728.4
3649 / 3660.6
0.06%
0.32%
0.02%
Pi_4
124
0.66
3632 / 3801.6
3168 / 3168.1
3464 / 3477.7
4.7%
0.39%
0.00%
Pi_5
222
0.82
4792 / 5285.6
4541 / 4540.6
4745 / 4756.6
10.3%
0.24%
0.01%
Pi_6
300
0.76
6638 / 7626.9
6918 / 6917.8
6334 / 6350.7
14.9%
0.26%
0.02%
Quantity
Paper
Reproduced
Status
RWA_BIII/IV vs paper, all 6 portfolios
—
0.02%–0.16%
✓ Reproduced
RWA_EV vs paper, all 6 portfolios
—
0.05%–0.54%
✓ Reproduced
RWA_sim vs paper, Pi_1–Pi_3 (n=40)
—
0.03%–0.06%
✓ Reproduced
RWA_sim vs paper, Pi_5 (n=222)
—
10.3%
⚠ Partially reproduced
RWA_sim vs paper, Pi_6 (n=300)
—
14.9%
⚠ Partially reproduced
RWA_BIII/IV < RWA_sim for small diversified portfolios
confirmed
2051.7 < 2810.1, etc.
✓ Reproduced
RWA_BIII/IV > RWA_EV for concentrated large Pi_6
confirmed
6917.8 > 6350.7
✓ Reproduced
RWA increases with HHI
confirmed
monotone increasing EV confirmed
✓ Reproduced
Summary: The analytical Basel III/IV IRB and Extended Vasicek RWA values match the paper to within 1% across all six portfolios. The simulated RWA matches to within 0.1% for the three n_Total=40 portfolios but overshoots by 10–15% for Pi_5 and Pi_6, the two largest and most concentrated portfolios. The qualitative conclusions (IRB underestimates for small diversified portfolios; IRB exceeds EV for concentrated Pi_6; RWA increases with HHI) are all confirmed.
Statistical & Economic Significance
Experiment 1: The median relative error of 0.33% for σ_x,n across 222 configurations is well within the expected Monte Carlo sampling noise of 500,000 runs (theoretical standard error of the sample standard deviation ≈ 1/√(2·500000) ≈ 0.1%). The 3rd and 4th central moment absolute errors are at the 1e-7–1e-9 level, consistent with the higher moments' smaller magnitude. These are statistically significant confirmations of Theorem 2.
Experiment 2: The 83.8% out-of-domain rate for (s,k) is economically significant—it means the Cornish-Fisher expansion frequently produces a non-monotonic capital multiple (cm_n,CF may decrease with α), rendering it unreliable for regulatory capital purposes. The 1/n-weighting approach (Eq. 19) is both simpler and more robust, which is the paper's main practical recommendation.
Experiment 3: The 5× improvement factor of the Extended Vasicek percentile over the original Vasicek at small n is economically material: for a portfolio of 10 obligors at P0=0.0005, the Vasicek percentile underestimates the simulated 99.9% percentile by ~0.38 (0.020 vs 0.389), while the Extended Vasicek is within ~0.01–0.04. This has direct implications for capital adequacy of small, concentrated portfolios.
Experiment 4: The RWA differences are economically significant for small portfolios. For rating A at n=10, the Extended Vasicek RWA (51.47) is ~6× the Basel IRB RWA (8.41), but the 72.5% floor (36.25) partially closes this gap. The paper's conclusion that the floor is "sufficiently prudent unless the portfolio has less than 20 obligors" (A) or "50 obligors" (BB) is confirmed.
Experiment 5: The 10–15% simulation RWA discrepancy for Pi_5/Pi_6 does not undermine the paper's economic conclusions, since the analytical RWA_EV (which is the paper's proposed method) matches to within 1%. The simulation discrepancy affects only the benchmark, not the proposed formula.
Discrepancies
1. Paper's own numerical example appears erroneous (Experiment 1)
The paper states σ_x_sim ~ 0.0163 and σ_x_inf ~ 0.0019 at P0=0.02, n=3, ρ=0.164. Recomputing σ_x_inf from the paper's own Eq. 7 gives 0.02316, and the simulation gives σ_sim=0.1035, σ_theory=0.1032. The paper's stated values appear to contain a typographical or computational error. This does not affect the reproduction since the comparison is against the paper's formulas, not this specific example.
2. Simulated RWA for Pi_5 and Pi_6 (Experiment 5) — 10–15% overshoot
This is the most material discrepancy. The implementation uses a single shared systematic factor across all rating grades (single-factor model per Section 2), with each rating's within-grade correlation from Eq. 22. Under this model, RWA_sim matches the paper for Pi_1–Pi_3 (n_Total=40, error <0.1%) but overshoots for Pi_5 (n=222, +10.3%) and Pi_6 (n=300, +14.9%), both of which are dominated by rating A obligors (200 and 260 of the total, respectively).
Ruled-out causes:
Monte Carlo sampling noise: 6 independent re-runs give coefficient of variation ~1.2% and 0.9%, an order of magnitude below the gap.
Mean definition: Replacing simulated mean with exact PD-weighted mean changes RWA_sim by <0.01%.
Alternative factor structure: Using 4 correlated factors from Table 5's asset correlation matrix overshoots in the opposite direction (Pi_5: 4067 vs paper 4792; Pi_6: 5216 vs paper 6638).
Most likely cause: The paper may use a simulation methodology not fully described—possibly a hybrid factor model or a different treatment of the cross-rating correlation structure. Since RWA_EV (which doesn't depend on this simulation choice) matches the paper to within 1%, the discrepancy is localized to the Monte Carlo step and does not affect the Extended Vasicek formula itself.
3. HHI sweep (Figure 8) approximated rather than exactly reproduced
The paper provides HHI target values {0.25, 0.28, 0.30, 0.35, 0.40, 0.43, 0.52, 0.59} but not the underlying obligor compositions. This implementation constructs its own compositions by concentrating obligors into rating D, producing HHI values close to but not exactly matching the paper's grid.
Methodology Issues
Cornish-Fisher central moments: The paper references Lamb (2016) for closed-form μ_3,CF(s,k) and μ_4,CF(s,k) but does not reproduce them. The implementation derives these symbolically from Eq. 16 using sympy, expanding E[(X−E[X])^3] and E[(X−E[X])^4] for X = Z + (Z²−1)s + (Z³−3Z)k − (2Z³−5Z)s² with Z~N(0,1). This is a faithful implementation of Eq. 16.
Admissible domain R (Eq. 18): The paper prints identical expressions for the upper and lower bounds on k, which is a typo. The implementation follows Lamb (2016)'s convention: the interval between (1+11s²−√(s⁴−6s²+1))/6 and (1+11s²+√(s⁴−6s²+1))/6, with 0 < s² < 3−2√2.
Conditional binomial sampling: Instead of drawing n individual ε_i per simulation run (impractical for n=2000 × 500,000 runs), the implementation draws the default count d directly from Binomial(n, p(f)) conditional on the systematic factor f. This is distributionally identical and introduces no approximation.
Harrell-Davis estimator: Uses scipy.stats.mstats.hdquantiles directly, which implements the Harrell-Davis (1982) formula with beta-distribution weights.
Multi-rating simulation factor structure: The paper does not specify whether obligors across rating grades share one systematic factor or have correlated factors per rating. The single shared-factor model is consistent with the single-factor model of Section 2 and reproduces Pi_1–Pi_3 nearly exactly.
Reliability
Stability: Results are stable across the full (P0, n) grid. The 500,000-run Monte Carlo sample size is sufficient: coefficient of variation on RWA_sim is ~1% for the portfolios where the paper is matched, well below the observed 10–15% gap for Pi_5/Pi_6.
Test coverage: 7 test files with 40+ test cases validate individual formulas against known analytical results (Bernoulli moments, BCBS correlation bounds, Table 2 coefficients, convergence properties, domain R boundaries, BFGS fitting recovery).
Anomalies: The main red flag is the Pi_5/Pi_6 simulation overshoot. However, this is well-diagnosed: it is localized to the Monte Carlo step (the analytical EV formula matches to within 1% on the same rows), and multiple alternative factor structures were tested without closing the gap, suggesting the paper may use a simulation detail not disclosed.
No external data: All inputs are synthetic, generated by the single-factor model specified in the paper. No survivorship bias, data source, or time-period issues apply.
Confidence: HIGH for Experiments 1–4 (analytical formulas verified against closed-form results, simulation matches within MC noise, all qualitative claims confirmed). MEDIUM for Experiment 5 simulation (analytical formulas confirmed, simulation methodology ambiguity for large concentrated portfolios).
Verdict
Final Decision: FULLY REPRODUCED
Why: All five experiments reproduce the paper's core theoretical contributions and main findings:
Theorem 2 (Eq. 10–12): Finite-portfolio variance and 3rd/4th central moments match simulations within MC noise across 222 configurations. ✓
Extended Vasicek percentile (Eq. 21): ~5× more accurate than original Vasicek for small n, converges for large n. ✓
Cornish-Fisher limitations: 83.8% of (s,k) fall outside domain R; CF deviates for low PD. ✓
Capital multiple patterns (Table 4): All directional patterns and regression results confirmed. ✓
RWA formulas (Eq. 23–24): All analytical RWA values within 1% of the paper for all 6 multi-rating portfolios. ✓
Single-rating RWA (Figure 7): All values within 10%, floor-binding thresholds confirmed. ✓
The only material discrepancy—simulated RWA for Pi_5 and Pi_6 overshooting by 10–15%—is confined to the Monte Carlo benchmark and does not affect any of the paper's analytical results or qualitative conclusions. The Extended Vasicek formula itself, which is the paper's main contribution, matches the paper to within 1% in every case. The discrepancy is attributable to an unspecified simulation detail for multi-rating portfolios, not to any error in the implementation of the paper's formulas.
Experiments
Verification of Central Moments (Standard Deviation, 3rd and 4th Central Moments) for Finite Portfolios via Simulation
Test Theorem 2 by comparing theoretical central moments of the loss distribution for a finite homogeneous credit portfolio with moments obtained from Monte Carlo simulations. Verify the standard deviation (Eq 10), 3rd central moment (Theorem 2, m=3), and 4th central moment (Theorem 2, m=4) against simulation results as a function of the number of obligors n.
Capital Multiple Comparison: Cornish-Fisher vs Weighting vs Simulation
Compare the capital multiple cm_n from three methods — simulation (cm_n,sim), the 1/n-weighting approach (cm_n,EV, Eq 19), and the Cornish-Fisher expansion (cm_n,CF, Eq 15) — as a function of the number of obligors n, across different default probabilities P0. Also perform a regression of cm_n,sim against 1/n to extract regression-based estimates of cm_1 and cm_inf (Table 4).
99.9% Percentile Comparison: Extended Vasicek vs Vasicek vs Cornish-Fisher vs Simulation
Compare the 99.9th percentile of the loss fraction x from four methods: Monte Carlo simulation (x_99.9%^sim), the Extended Vasicek distribution (x_99.9%^EV, Eq 21), the original Vasicek distribution (x_99.9%^V, Eq 8), and the Cornish-Fisher expansion (x_99.9%^CF) as a function of n for different P0 values.
RWA Comparison for Single Rating Grades: Basel III/IV vs Extended Vasicek with Output Floor
Compare the Risk Weighted Assets (RWA) calculated using the Basel III/IV IRB approach (Vasicek distribution), the Extended Vasicek distribution (Eq 23), and the standardized approach with 72.5% output floor, for portfolios of single-rated obligors with different numbers of obligors n. Two cases are studied: A-rated (PD=0.04%) and BB-rated (PD=0.64%) obligors.
RWA Comparison for Multi-Rating Portfolios: Basel III/IV vs Extended Vasicek vs Simulation with Concentration Effects
Compare RWA calculated from Monte Carlo simulations (RWA_{alpha,sim}), Basel III/IV IRB approach (RWA_{alpha,BIII/IV}), and the Extended Vasicek approach (RWA_{alpha,EV}) for credit portfolios with 4 rating grades (A, B, C, D) and different concentration profiles (varying HHI). The Extended Vasicek RWA aggregates across rating grades using default correlations derived from asset correlations (Eq 24).