Key Insight: The repository clearly reproduces the paper’s qualitative conclusions for both experiments, and the implementation appears stable and methodologically faithful. However, the headline quantitative recovery errors are materially worse than the paper’s targets, especially for posterior and PD recovery in Experiment 1, so this is not a full numerical reproduction.
Results Comparison
Experiment 1 — Baseline synthetic recovery study for joint latent-state EM
Metric
Paper
Reproduced
Diff
Status
MAE_pi
4.591e-3
1.7264e-2
+1.2673e-2
Materially worse
MSE_mu
1.170e-3
6.0545e-3
+4.8845e-3
Materially worse
MSE_Sigma
2.157e-3
3.8522e-3
+1.6952e-3
Worse, but closest metric
MAE_p
3.263e-3
1.0835e-2
+7.5720e-3
Materially worse
MSE_p
1.902e-5
2.2099e-4
+2.0197e-4
Materially worse
MSE_gamma
8.163e-4
5.4083e-3
+4.5920e-3
Materially worse
KL_avg
1.736e-3
1.0621e-2
+8.8850e-3
Materially worse
JS_avg
4.367e-4
2.7872e-3
+2.3505e-3
Materially worse
MSE_PD
1.419e-5
1.2766e-4
+1.1347e-4
Materially worse
MAE_PD
2.691e-3
7.7527e-3
+5.0617e-3
Materially worse
Component-level parameter comparison
Profile
π_true
π̂
p_true
p̂
Main observation
1
0.400
0.3655
0.010
0.0076
Weight and PD understated
2
0.200
0.2249
0.050
0.0393
Weight overstated, PD understated
3
0.250
0.2523
0.100
0.0725
Weight accurate, PD materially understated
4
0.150
0.1573
0.250
0.2473
Best recovered PD
Estimated means are directionally correct and close enough to preserve the latent structure:
Profile 1: (1.8,0.3) vs (1.833,0.276)
Profile 2: (1.8,1.8) vs (1.766,1.701)
Profile 3: (−0.8,0.3) vs (−0.775,0.268)
Profile 4: (−0.8,1.8) vs (−0.751,1.714)
Experiment 2 — Product-of-marginals approximation
Metric
Paper
Reproduced
Diff
Status
Avg KL joint vs PM
2.474e-3
4.2846e-3
+1.8106e-3
Somewhat worse but same order
MAE_PD^PM
2.193e-4
5.4335e-4
+3.2405e-4
Worse but still economically tiny
Summary
The repository does not match the paper numerically within reasonable tolerance for the main recovery metrics in Experiment 1. Most reproduced errors are about 2x to 6x larger than the paper targets, with several around 3x–4x larger. Still, the recovered model preserves the paper’s main pattern:
latent clusters are identified,
parameters are broadly recovered,
posterior errors remain small in absolute terms,
borrower-level PD recovery remains good in practical magnitude,
product-of-marginals approximation loses some information but only slightly distorts PDs.
So the study is qualitatively reproduced but not tightly quantitatively matched.
Statistical & Economic Significance
This repository does not report conventional inferential statistics such as:
t-stats,
p-values,
confidence intervals,
repeated Monte Carlo sampling distributions.
So strict statistical significance analysis is not available from the saved results. This is not unusual for a single-run synthetic recovery experiment, but it limits formal hypothesis-style validation.
Economically/practically:
Experiment 1
Even though the metrics are worse than the paper:
MAE_PD = 7.75e-3 is still below 1 percentage point on borrower-level PDs.
MSE_PD = 1.28e-4 implies small average squared PD errors.
The estimated profile PDs maintain the correct ranking:
p^1<p^2<p^3<p^4
which is economically important.
However, the underestimation of p2 and especially p3 is nontrivial:
0.05→0.0393
0.10→0.0725
That means the model understates risk for some mid-risk segments in this sample, which is materially relevant in credit risk applications.
Experiment 2
The factorization approximation results are economically mild:
Average PD distortion = 5.43e-4
Median PD distortion is only 6.18e-6
Even though average KL is above target, the practical effect on PD estimates remains very small.
So for Experiment 2, the paper’s economic message is reproduced well: posterior dependence exists, but ignoring it has little practical impact on PD in the baseline setting.
Discrepancies
1. Experiment 1 metrics are materially worse than the paper
This is the main discrepancy. The repository itself attributes it to a finite-sample draw with fewer defaults than expected.
Evidence:
Expected default rate under the DGP is approximately 7.65%
Observed default rate in the run is 6.88%
With N=5000, that is about 38–40 fewer defaults than expected
This explanation is plausible because:
the Bernoulli-default signal is the key source for recovering pk,
underestimated pk then feeds into PD and posterior recovery errors.
The pattern in the estimates strongly supports this:
all estimated pk are below truth except profile 4, which is nearly exact,
the shortfall is strongest in intermediate-risk groups.
2. Posterior recovery is worse than paper targets
Metrics like:
MSE_gamma,
KL_avg,
JS_avg
are all materially above the paper. This is likely downstream from imperfect parameter recovery, especially:
weight distortion in π,
mean shifts in μ,
PD underestimation.
Still, the posterior errors remain small in absolute magnitude, so this is a quantitative gap, not a qualitative failure.
3. Product-of-marginals metrics are above target but preserve the paper’s conclusion
Experiment 2’s achieved KL and PD distortion are roughly:
KL: ~1.7x target
PD distortion: ~2.5x target
But both remain small enough that the key conclusion survives. This discrepancy is likely inherited from Experiment 1 because Experiment 2 uses estimated posteriors and estimated pk as inputs.
Methodology Issues
No major methodology red flags were found from the reported outputs.
Evidence that methodology was likely followed correctly:
20/20 EM restarts converged
all runs admissible
best-run likelihood spread across restarts is tiny: < 0.0007
reported best log-likelihood:
-15820.625063
repository claims starting from true parameters reaches the same likelihood
label alignment was explicitly performed
predictive posteriors for evaluation were computed from scores only, preserving the crucial distinction between:
EM responsibilities τik=P(Zi=k∣Xi,Di)
predictive posteriors γikX=P(Zi=k
That distinction is one of the most important requirements in the user-provided experiment design, and the results documentation explicitly states it was respected.
So this looks like a correct implementation with different realized sample difficulty, not a methodology failure.
Reliability
Reliability appears strong.
Positive signals:
All 20/20 EM runs converged
All were admissible with ESS well above 10; minimum ESS around 785
Log-likelihood values are nearly identical across restarts
The repository reports 176 tests passing
Structural recovery is consistent with the true latent geometry
No major anomalies:
No evidence of label switching after alignment
No evidence of degenerate components
No evidence of unstable optimization
No evidence that the PM analysis was computed on misordered classes
Minor caution:
The study is based on one synthetic sample only, exactly as specified
Therefore results are inherently sensitive to this single draw
Without a Monte Carlo distribution, it is hard to judge whether the paper’s target numbers are typical or unusually favorable
Overall confidence in the repository’s reported results is high, but confidence in strict numerical equivalence to the paper is only moderate-to-low.
Embedded Result Figures
Reliability by Experiment
Experiment 1
Stable optimization: yes
Parameter recovery: yes, but weaker than paper
Posterior/PD recovery: yes, but errors materially above paper targets
Main finding reproduced: yes
Experiment 2
Dependence detected: yes
KL positive: yes
PD distortion small: yes
Main finding reproduced: yes
Verdict
Final Decision: PARTIALLY REPRODUCED
Why:
The repository reproduces the paper’s core qualitative findings and appears to implement the methodology correctly and robustly. However, the quantitative recovery metrics for Experiment 1 are materially worse than the paper’s reported targets, well outside the stated tolerances, so the reproduction is not full. Experiment 2 is closer and clearly supports the original conclusion, but because it depends on Experiment 1’s recovered posteriors, the overall outcome remains partial rather than full reproduction.
Experiments
Baseline synthetic recovery study for joint latent-state EM in credit risk
Reproduce the paper’s core controlled simulation experiment in which borrower-level latent credit profiles are generated from a 4-component Gaussian mixture with profile-specific Bernoulli default probabilities, then recovered via a joint EM algorithm fitted to observed score/default pairs (X_i, D_i). The experiment must validate parameter recovery, posterior belief recovery, and borrower-level probability-of-default recovery under the exact baseline data-generating process. A critical requirement is to preserve the distinction between EM responsibilities conditioned on both scores and default, tau_ik = P(Z_i=k | X_i, D_i), and predictive posteriors conditioned on scores only, gamma_ik^X = P(Z_i=k | X_i).
Product-of-marginals approximation analysis for borrower-level latent posterior beliefs
Analyze the information loss incurred when the borrower-level joint posterior distribution over latent creditworthiness and fragility states is approximated by the product of its marginal posteriors. This experiment is conceptually separable from the main recovery study once an estimated joint posterior over the 4 ordered latent profiles has been obtained, and it evaluates whether posterior dependence matters materially for borrower-level PD construction. The experiment treats posterior vectors as distributions over the ordered latent state grid (Z_R, Z_F) in {(0,0),(0,1),(1,0),(1,1)} and measures the discrepancy between the joint posterior and its factorized approximation using KL divergence, along with the induced distortion in borrower-level PDs.