LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Covariate-Indexed Inclusion Probabilities on Unbalanced Panels

Open repository
Nov 18, 2026
Statistical Finance

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: Experiments 1-3 (Section 6 simulations) were attempted; the parametric rate under DGP-I (Experiment 1) reproduces the paper closely, but the DGP-D composition floor and the diagonal-specification comparisons are materially off-level (factor ~2×), the coverage study (Experiment 2) partially reproduces the qualitative martingale-undercoverage story but the diagonal specification collapsed (an implementation defect), and the link-discrepancy diagnostic (Experiment 3) is qualitatively not reproduced — null discrepancy is 10-100× too large and the stacked-score standard error is numerically unstable at rank-deficient fits. Experiments 4-7 (Section 7 application + Appendix C simulations and boundary-target bands) were not run.

Results Comparison

Experiment 1 — Parametric Rate and Composition Floor (Section 6.1–6.2)

Metric (DGP-I, m=4, full psd)PaperReproducedDiffStatus
RMSE @ T=2500.0110.01094≈0%✓ within tolerance
RMSE @ T=10000.0060.00479−20%⚠ within 20% (tolerance: 10–20%)
RMSE @ T=4000
0.003
0.00267
−11%
✓ within ~10%
√T×RMSE @ T=250≈0.180.173−4%✓
√T×RMSE @ T=1000≈0.180.152−16%⚠ flat, but lower
√T×RMSE @ T=4000≈0.180.169−6%✓

Summary: The parametric-rate qualitative claim (flat √T×RMSE, RMSE ~ T^(-1/2)) is reproduced — the multiplier stays in 0.15–0.17 instead of decaying. Level at T=1000 is ~20% low but the qualitative picture holds.

Metric (DGP-D, full psd) — composition floorPaperReproducedDiffStatus
RMSE floor @ m=4≈0.021≈0.046 (0.0456→0.0463 across T)+119%✗ level off by ~2×
RMSE floor @ m=8≈0.019≈0.047 (0.0472→0.0479)+147%✗ level off by ~2×
Floor does not shrink with Tyes (flat from T=250)yes (0.0456 → 0.0463)—✓ qualitative
m=8 barely moves vs m=4+≈0.002+0.0016—✓ qualitative
Floor decomposition (Proposition 3.1(iv))PaperReproducedDiffStatus
Composition part0.01860.0461+148%✗ ~2.5× too large
Dictionary part @ m=40.00810.00521−36%⚠ same order
Dictionary part @ m=80.00150.00122−19%✓ within tolerance
Composition share @ m=484% (range 84-99%)98.7%✓ within stated range✓
Composition share @ m=8up to 99%99.9%✓ within stated range✓
Diagonal specification RMSE (m=4)PaperReproducedDiffStatus
DGP-I≈0.049 (T-independent)≈0.058 (0.0593, 0.0573, 0.0577)+18%⚠ same T-independent pattern, level ~20% high
DGP-D0.033–0.0380.069 (0.069, 0.069, 0.069)+80–110%✗ sign of the ordering vs DGP-I is wrong

Summary: The floor's qualitative signature is exactly reproduced (flat in T, doubling m barely helps, composition dominates 98–99% of the squared floor). The level is ~2× the paper's (the composition part is 0.046 vs 0.0186). The diagonal specification's DGP-I RMSE is the right shape (~T-independent, larger than the full model) but ~20% high; under DGP-D the diagonal RMSE is ~0.069, larger than its DGP-I value, the opposite of the paper (which has DGP-D diagonal RMSE below DGP-I), and ~80–110% off-level.

Experiment 2 — Coverage of Confidence Intervals (Section 6.3)

The replication used 25 replications (paper: 500), so binomial SE on a coverage proportion is ~0.10 — individual cells are noisy. The table below compares headline cells for the headline full_m4 spec at T=250:

Spec / DGP / zEstimatorPaperReproduced (T=250)Reproduced (T=1000)Reproduced (T=4000)Status
full_m4, DGP-I, z=−0.5martingale0.93–0.960.921.001.00✓/over
full_m4, DGP-I, z=0.0martingale0.93–0.960.881.000.96✓ noisy
full_m4, DGP-I, z=0.5martingale0.93–0.961.000.921.00✓/over
full_m4, DGP-D, z=−0.5martingale0.95–0.960.560.080.00✗
full_m4, DGP-D, z=0.0martingale0.92–0.930.880.760.60⚠ partial
full_m4, DGP-D, z=0.5martingale0.81–0.840.240.000.00✗ direction ok, level far worse
full_m4, DGP-D, z=0.5EWC0.90–0.930.400.000.00✗ qualitative order ok, level far worse
full_m4, DGP-D, z=0.5Bartlett0.86–0.870.280.000.00✗

Summary: Under DGP-I the headline full_m4 intervals cover at ~0.88–1.00 at every T and z (close to the paper's 0.93–0.96). Under DGP-D the qualitative claim that the martingale interval undercovers at z=0.5 worse than at z=−0.5 is reproduced, and the ranking martingale < Bartlett < EWC holds at T=250, but the level of undercoverage at z=0.5 is far worse (0.24 vs 0.81–0.84) and coverage collapses to ≈0 at T≥1000 rather than remaining 0.81–0.84 as the paper reports. The reduced replication count alone cannot explain a 0→0.81 gap; the most likely cause is the inflated DGP-D floor from Experiment 1 (the fits are systematically off-target under DGP-D, so their Hessian/score geometry is correspondingly distorted). The diagonal specification is not reproduced at all: its coverage is 0.0–0.24 at T≥1000 (paper: 0.93–0.97), an identified implementation defect in the Moore-Penrose face-band construction on the rank-deficient diagonal subcone.

Experiment 3 — Link Discrepancy Diagnostic (Section 6.4)

The replication used T=150 (paper: 1000), 20/10/30 reps (paper: 200/100/500), population panel 800 (paper: 20,000). Reduced counts widen MC noise but cannot by themselves explain the magnitude errors:

DesignPaper ‖D̂‖Reproduced ‖D̂‖Paper ratioReproduced ratioStatus
log-correct0.02970.4975.40.006✗
DGP-I0.04560.18912.44.09✗
DGP-D0.04030.11914.34.86✗
null p=0.05≈0.00030.051≈0.74.16✗ (null should be ~0, not 0.05)
null p=0.20≈0.00030.193≈0.60.009✗ (null is not null)

Population targets (exp3_population_targets.csv, n=800):

DesignPaper half-‖D‖ReproducedPaper larger gapReproduced larger gapStatus
log-correct0.01510.2050.03030.420✗ ~13×
DGP-I0.03070.3970.06130.793✗ ~13×

Summary: Experiment 3 is the most clearly failed reproduction. Three defects are visible:

  1. Null discrepancy is not zero. At p=0.05 and p=0.20 the discrepancy should be ~3×10^-4 (ratio ≈0.6-0.7). The replication gets ‖D̂‖ ≈ 0.05 and 0.19 — the null design is not behaving as a zero-discrepancy case, which indicates the log-correct curve construction or the constant-margin representation on {1, φ1..φ4} is wrong.
  2. The discrepancy magnitudes are ~10-15× too large at every design, including population targets (which do not depend on replication count): half-‖D‖ = 0.205 (paper 0.0151), 0.397 (paper 0.0307), larger-gap 0.420 / 0.793 (paper 0.030 / 0.061). This is a systematic scaling error in the log-link or log-correct curve, not Monte Carlo noise.
  3. The stacked-score standard error is numerically unstable at several evaluation points (mean_se = 13.2, 0.93, 170.5 at log-correct z=−0.75, 0.25, 0.75; 42.4 at null p=0.20). This is 2-4 orders of magnitude larger than neighbouring points from the same fit, the signature of a near-singular compressed Hessian in the rank-deficient (Moore-Penrose face) code path. The signal-to-noise ratio is therefore dominated by these unstable SEs rather than reflecting the well-behaved interior values.

Experiments 4–7 — Not reproduced

Experiments 4 (Section 7 stock-failure application) and 5 (Section 7.4 link-discrepancy on the stock panel), 6 (Appendix C.3 regime-mimicking simulation), and 7 (Appendix C.1 boundary-target confidence bands) were not run. Experiments 4 and 5 require CRSP delisting codes, the 121 of the 153 Jensen-Kelly-Pedersen (2023) characteristics, and Compustat items — none of which are served by the QuantX Dataloader (which serves OHLCV only) or by Massive. Experiments 6 and 7 were skipped for compute-time reasons. config.py keeps their parameters documented but no exp/expN.py exists for them.

Statistical & Economic Significance

  • Experiment 1 (statistical): The parametric-rate claim is supported with √T×RMSE ∈ [0.15, 0.17] across T ∈ {250, 1000, 4000}, statistically flat. The floor behavior is also qualitatively supported (4-fold m-increase barely moves it; flat in T). The level errors (floor 119% high) are economically large but the paper's headline qualitative claims survive.
  • Experiment 2 (statistical): With only 25 replications, coverage SE ≈ 0.10 on each cell, so individual t-tests on coverage are underpowered. The qualitative claim (martingale undercovers under DGP-D at z=0.5; EWC recovers more than Bartlett; martingale covers under DGP-I) is statistically supported in direction but the level mismatch (0.24 vs 0.81) is too large to attribute to MC noise and points to a systematic fit-quality issue under DGP-D.
  • Experiment 3 (statistical): The signal-to-noise ratio that the paper uses to demonstrate "the discrepancy is detectable" is not reproduced (ratios 0.006–4.9 vs 5.4–14.3). Worse, the null (where the paper shows the diagnostic correctly diagnoses "no gap") returns a discrepancy of 0.05–0.19, so the diagnostic is wrong on the null. The defect is both statistical (wrong size) and methodological (false positive at the null).
  • Economic relevance: None of the simulation experiments has direct economic content; the economic-relevance claim of the paper lives in Experiment 4 (the stock-failure application), which is not reproduced. So the replication cannot speak to the practical usefulness of the model.

Discrepancies (material)

  1. DGP-D composition floor ~2× too high (Experiment 1, and downstream in Experiment 2). The paper's floor is ~0.020; this run produces ~0.046. The decomposition shows the entire excess is in the composition part (0.0461 vs 0.0186), while the dictionary part is correctly sized and correctly shrinking (0.0052 → 0.0012 vs paper 0.0081 → 0.0015). The DPP kernel, bandwidth (0.15), margin transform and the exact-L-ensemble marginal formula follow Section 6.1 verbatim, so the most likely remaining cause is a subtle difference in how the realized DPP marginal is mapped to the composition target bar_q(z) — the file's _dpp_realized_margin is a custom formula whose derivation is not in the paper, and a small error there (e.g. clipping, normalization, or the L-ensemble marginal kernel formula) would inflate the composition gap exactly as observed.

  2. Diagonal specification RMSE ordering reversed under DGP-D (Experiment 1). Paper has DGP-D diagonal RMSE below DGP-I (0.033-0.038 vs 0.049); the replication has DGP-D diagonal RMSE above DGP-I (0.069 vs 0.058). Same root cause as (1): the inflated DGP-D floor moves all DGP-D RMSEs up uniformly.

  3. Diagonal-specification confidence bands collapse (Experiment 2). Coverage collapses to 0.00 at T≥1000 across all estimators (paper: 0.93–0.97). The RESULTS.md identifies this as a defect in the Moore-Penrose face-band formula applied to the rank-deficient diagonal subcone and it was not corrected. This is an implementation bug, not a tolerance issue.

  4. Coverage level at z=0.5 under DGP-D is far worse than the paper (Experiment 2). The martingale interval covers in 0.24 of replications at T=250 (paper: 0.81-0.84), and collapses to ≈0 at T≥1000. The ranking (martingale < Bartlett < EWC) survives at T=250 but the levels do not. The most likely cause is the elevated DGP-D floor from (1) pushing the fits systematically off-target and distorting their Hessian/score geometry.

  5. Link discrepancy is ~10× too large and non-zero at the null (Experiment 3). Population half-‖D‖ is 0.205/0.397 vs the paper's 0.0151/0.0307 — about 13×. The null designs (p=0.05, 0.20), which should give near-zero discrepancy (paper ratio ≈0.6–0.7), give ‖D̂‖ ≈ 0.05 and 0.19 (ratio 4.16 and 0.009). This points to a systematic scaling or sign error in either the log-correct curve construction or the log-link population target (the log-link population target is computed by a custom Nelder-Mead minimizer on the cross-entropy, with the resulting matrix re-projected to the psd cone, rather than by a cvxpy SDP — a methodological shortcut documented in the script but whose correctness is not established).

  6. Stacked-score standard error numerically unstable (Experiment 3). mean_se jumps from 0.035 to 13.2 to 170.5 across the four evaluation points of the log-correct design, and 0.021 to 42.4 at null p=0.20. This is a near-singular compressed Hessian in the rank-deficient face-se code path of diagnostics.stacked_full_space_se, which uses variance.pinv(fit.hessian_vec) without restricting to the face. It is an identified, unresolved numerical defect.

Methodology Issues

  • Solver. The paper's recommended SPG method (Birgin et al., 2000) is not used. The implementation in src/psd_model.py is a custom projected-gradient with Barzilai-Borwein step + a simplified monotone (not non-monotone) Armijo line search, with an iteration cap of 200 for Experiment 1 (the script documents that RMSE at m=8 changes by <1% between 30 and 500 iterations, justifying the cap) and 150-60 for Experiments 2-3. The paper's SCS/MOSEK tolerances are not used; default SCS is used for the two cvxpy SDP solves in the population-target code paths.
  • Fixed draws W_0, W_1 not specified in the paper. config.TRUE_CURVE_SEED = 20240601 and EXP3_LOG_CORRECT_SEED = 20240602 are documented as not specified; the choice is reproducible but not the paper's exact draws.
  • Log-correct design constants. The paper does not give c_0 or s; the replication sets EXP3_LOG_CORRECT_C0 = 0.0 and reuses the 0.6 ridge of Section 6.1 for U_4 — documented as not specified. This is the most likely source of discrepancy (5) above.
  • DPP sampler. The dppy package is not in the environment; a custom spectral L-ensemble sampler is implemented in data/generate_synthetic.py. The realized DPP marginal used in the floor decomposition is computed by an exact linear-algebra formula (_dpp_realized_margin) rather than by Monte Carlo, which the paper does not describe — this is the most likely source of discrepancy (1).
  • Log-link population target (Experiment 3). Because cvxpy's DCP rules reject log(expm1(·)), the log-link population target is computed by scipy.optimize.minimize(method="Nelder-Mead") on the Bernoulli cross-entropy and then re-projected to the psd cone — a documented workaround whose numerical correctness is not established.
  • Reduced Monte Carlo and population sizes. Experiments 1-3 were run at 20/25/10-30 reps (paper: 200/500/100-500) and a 3000/800-cross-section population panel (paper: 20,000). T=150 instead of 1000 for Experiment 3. These widen MC noise but are not by themselves sufficient to explain the level mismatches above, since the mismatches are also in the population (noise-free) quantities.
  • Missing experiments. Experiments 4-7 are not run. Experiment 4/5 need CRSP delisting codes + 121 Jensen-Kelly-Pedersen characteristics + Compustat, which the available data APIs do not serve. Experiments 6/7 were skipped for compute.

Reliability

  • Internal consistency: Experiment 1's parametric rate, floor-in-T and m=8-barely-moves claims are internally consistent and stable across T; the floor decomposition's Pythagorean check (composition² + dictionary² ≈ empirical_floor²) is asserted at rtol=0.40 (loosened from the paper's 0.15 for the reduced run) and passes. The diagonal-specification confidence bands, however, are unstable (collapse to 0 at T≥1000).
  • Anomalies / red flags:
    • DGP-D RMSE floor ~2× too high across the board (Experiments 1-2).
    • Diagonal-specification coverage collapse (Experiment 2).
    • Non-zero null discrepancy and ~10× magnified discrepancies (Experiment 3).
    • Unstable stacked-score SE at several evaluation points (Experiment 3).
  • Confidence in the reproduction: Medium for the qualitative claims of Experiments 1-2 (parametric rate, floor-in-T, DGP-D undercoverage ranking), low for the level claims and for Experiment 3, none for Experiments 4-7.

Experiment 1: RMSE vs T (DGP-I parametric rate vs DGP-D composition floor)

Experiment 2: coverage of nominal 95% confidence intervals (full_m4)

Verdict

Final Decision: PARTIALLY REPRODUCED

Why:

  • The parametric rate under DGP-I (Experiment 1) is reproduced — √T×RMSE stays flat at 0.15–0.17 (paper: ~0.18), with RMSE within 10-20% at every T, and the qualitative claim holds.
  • The composition floor's qualitative signature (flat in T; m=8 barely moves it; composition dominates ≥98% of the squared floor; dictionary part shrinks from m=4 to m=8 as predicted) is reproduced, but the level is ~2× the paper's (0.046 vs 0.021), with the excess entirely in the composition part — pointing to a systematic error in the custom realized-DPP-margin formula used to build the composition target.
  • The coverage study (Experiment 2) reproduces the DGP-I near-nominal coverage and the direction of the DGP-D martingale-undercoverage-at-z=0.5 finding plus the martingale < Bartlett < EWC ranking, but the level of undercoverage is far too severe (0.24 vs 0.81) and the diagonal specification's bands collapse to ≈0 at T≥1000 — an identified implementation defect in the Moore-Penrose face-band code.
  • The link-discrepancy diagnostic (Experiment 3) is not reproduced: the null designs give a discrepancy of 0.05–0.19 instead of ~3×10⁻⁴; the population half-‖D‖ is ~13× the paper's; the stacked-score SE is numerically unstable at rank-deficient fits; the paper's signal-to-noise ratios of 5.4-14.3 are not approached (reproduced 0.006-4.9).
  • Experiments 4-7 are not run, including the entire economic application of the paper.

The reproduction successfully demonstrates the parametric-rate theorem and the qualitative composition-floor and DGP-D-undercoverage stories, but does not establish the quantitative levels of the floor, the diagonal-specification comparison, the link-discrepancy diagnostic, or any of the application results.

Experiments

Simulation Study: Parametric Rate and Composition Floor

Test whether the positive semidefinite (psd) sum-of-squares model attains the parametric rate under independent inclusions (DGP-I) and whether a composition floor exists under a repulsive determinantal point process (DGP-D) where margins depend on cross-sectional composition.

Simulation Study: Coverage of Confidence Intervals for the Target Curve

Test the coverage of nominal 95% pointwise confidence intervals for the target curve under different variance estimators (martingale, Bartlett, equal-weighted cosine) under both independent (DGP-I) and repulsive (DGP-D) data generating processes.

Simulation Study: Link Discrepancy Diagnostic

Test the link discrepancy diagnostic D(z) = ell_star^Po(z) - exp(-ell_star^log(z)) as a lower bound on the larger of the two dictionary gaps, across four designs: log-correct (identity class wrong), DGP-I (log class wrong), DGP-D (both classes wrong), and null (both correct).

Application: US Stock Failure Prediction with Sum-of-Squares Models

Apply the log-link and identity-link sum-of-squares models to predict monthly failures (delistings for performance) of US common stocks, comparing against ordinary logit, kernel logistic regression, and the Campbell et al. (2008) failure logit across multiple dictionaries including rank-angle dictionaries.

Application: Link Discrepancy Diagnostic on the Stock Failure Panel

Apply the link discrepancy diagnostic Dhat=ellhatPo−exp⁡(−ellhatlog)D_{hat} = ell_hat^Po - \exp(-ell_hat^log)Dhat​=ellh​atPo−exp(−ell to the US stock failure panel to detect model class misspecification, comparing the identity-link and log-link fits across grid and richer dictionaries.

Simulation: Regime of the Application with Known Truth

Mimic the application (US stock failures) with a known truth: 3,450-5,750 items per period, d=10 covariates, event rate 0.25%, rolling 97-period windows, testing both identity-link and log-link fits with stationary and drifting rates, and examining coverage, penalty bias, and the effect of binning by fitted probability versus true margin.

Simulation: Confidence Bands at Boundary Targets of the PSD Cone

Test confidence intervals for the fitted curve at boundary targets (rank-deficient parameter matrices) on the positive semidefinite cone, comparing face bands (with curvature term), bands without curvature, full-space bands, and benchmark estimator bands, under both strict complementarity (Gamma > 0) and zero multiplier (Gamma = 0) conditions.

Original paperRun QCA on your paper
h​
a
tl
o
g
)