Key Insight: The repository clearly reproduces the paper’s central qualitative conclusion: CSCV/PBO sharply distinguishes a no-signal random walk from a genuine seasonal signal. However, several quantitative results differ materially from the expected targets, most notably Example 1 PBO/probability-of-loss and some strategy-level/full-sample Sharpe outcomes.
Results Comparison
Metric
Paper / Expected
Reproduced
Diff
Status
Exp 1: T
1000
1000
0
Match
Exp 1: sigma / std ex1
~0.01
0.009792
-0.000208
Match
Exp 1: sigma / std ex2
slightly > ex1, ~0.01
0.009827
slight
Match
Exp 1: distinct months
~48
46
-2 months
Minor deviation
Exp 1: seasonal days
~240
230
-10
Minor deviation
Exp 2: M shape
(992, 8800)
(992, 8800)
0
Match
Exp 2: best full-sample SR ex1
~1.27
1.037
-0.233
Material
Exp 2: best full-sample SR ex2
~1.54
1.734
+0.194
Within tolerance
Exp 2: best strategy ex1
near (11,4,0,+1)
(18,4,3,+1)
different
Material
Exp 2: best strategy ex2
near (1,4,0,+1)
(1,6,4,+1)
close on entry/side, differs on hold/stop
Partial match
Exp 3: PBO ex1
~0.55
0.7895
+0.2395
Material
Exp 3: Prob(OOS loss) ex1
~0.53
0.7876
+0.2576
Material
Exp 3: alpha ex1
~0.87
0.9125
+0.0425
Match
Exp 3: beta ex1
~-0.75
-0.8245
-0.0745
Match
Exp 3: adj. R² ex1
~0.17
0.1316
-0.0384
Acceptable
Exp 4: PBO ex2
~0.13
0.1675
+0.0375
Within tolerance
Exp 4: Prob(OOS loss) ex2
~0.13
0.1688
+0.0388
Within tolerance
Exp 4: alpha ex2
~1.78
1.4198
-0.3602
Material
Exp 4: beta ex2
~-0.35
-0.4225
-0.0725
Match
Exp 4: adj. R² ex2
~0.05
0.0667
+0.0167
Match
Exp 5: PSR_stat ex1
~2.83
2.111
-0.719
Material
Exp 5: PSR ex1
~0.997
0.9826
-0.0144
Slightly low but same conclusion
Exp 5: stochastic dominance ex1
no A dominance / possibly B dominates A
B second-order dominates A
consistent
Match
Exp 6: PSR_stat ex2
> ex1, around 3+
3.596
—
Match
Exp 6: PSR ex2
near 1.0
0.9998
—
Match
Exp 6: stochastic dominance ex2
expected FO dominance by A
no strict FO / no SO
opposite
Material
Summary
The main pattern is reproduced:
Example 1 (pure random walk) shows high overfitting risk
Example 2 (seasonal effect) shows much lower overfitting risk
CSCV/PBO clearly separates the two
PSR looks high in both cases, reinforcing the intended lesson that PSR alone cannot detect selection bias
However, the reproduction is not quantitatively exact. The largest deviations are:
Example 1 PBO = 0.7895 vs expected ~0.55
Example 1 probability of OOS loss = 0.7876 vs expected ~0.53
Example 1 best full-sample strategy and Sharpe differ materially
Example 2 stochastic dominance result does not match expectation
Some intercept/PSR values differ meaningfully
So this is not a full numerical replication, but it does reproduce the core economic and methodological conclusion.
Statistical & Economic Significance
Statistical significance
The repository reports:
Example 1
PBO = 0.7895
95% CI = (0.782, 0.797)
Example 2
PBO = 0.1675
95% CI = (0.159, 0.176)
These confidence intervals are tight because CSCV uses 12,870 combinations, so the separation between examples is statistically very strong.
The degradation regressions are also directionally consistent:
Ex1: alpha 0.9125, beta -0.8245, adj. R² 0.1316
Ex2: alpha 1.4198, beta -0.4225, adj. R² 0.0667
Interpretation:
Both have negative IS→OOS slopes, but Ex1 is much more negative, consistent with overfitting.
Ex2 still has some degradation, but substantially less severe.
Economic significance
Economically, the result is quite meaningful:
In Example 1, an investor selecting the best in-sample strategy would be choosing a strategy that underperforms OOS in ~79% of CSCV splits. That is a severe practical warning.
In Example 2, the same selection process fails only ~17% of the time, indicating a real exploitable signal.
This difference is economically large, even if some exact numbers differ from the paper.
PSR interpretation
Ex1 PSR = 0.9826
Ex2 PSR = 0.9998
Both are very high. This is exactly the intended cautionary point:
A high PSR can coexist with severe overfitting
Therefore PSR is not sufficient as a model selection safeguard under multiple testing
That insight appears successfully reproduced.
Discrepancies
1. Example 1 PBO is much higher than expected
Expected: ~0.55
Reproduced: 0.7895
This is the most important quantitative discrepancy. It suggests the no-signal case is producing even stronger overfitting than described in the expected outcome.
Possible explanations:
The synthetic path generated under seed 42 may have produced a more selection-friendly noise structure than the paper’s benchmark
The strategy simulation details may differ from the intended implementation, especially around:
stop-loss handling
trade exit logic
overlapping monthly trades
return attribution after stop-loss breach
The paper/expected values may be approximate, while this implementation’s exact calendar and path produce a harsher overfitting profile
2. Example 1 full-sample optimal strategy differs materially
Expected: near Entry 11 / Hold 4 / Stop 0 / Side +1
Reproduced: Entry 18 / Hold 4 / Stop 3 / Side +1
This suggests either:
a different random realization drives a different false optimum, or
implementation differences make stop-loss strategies more competitive than expected
Given Example 1 is noise-only, the identity of the best strategy can vary substantially; however, the reported difference plus the larger PBO suggests the noise exploitation may be stronger than in the expected benchmark.
3. Example 2 stochastic dominance not reproduced
Expected: A first-order dominates B
Reproduced: No strict FO dominance, no SO dominance
This is a meaningful difference, but the repository gives a plausible explanation:
Distribution A has much wider support and fatter tails than B
Mean OOS performance is better, but strict dominance fails because of tail behavior
This does not overturn the main result of low PBO in Example 2, but it weakens one of the more specific claims.
4. Example 2 alpha lower than expected
Expected: ~1.78
Reproduced: 1.4198
This is material, but beta and PBO still point in the right direction. Likely causes:
different signal strength from realized synthetic path
slight calendar/month-count difference
interaction of embedded shift with trimmed sample and chosen stop-loss strategies
5. Example 1 PSR_stat below expectation
Expected: ~2.83
Reproduced: 2.111
This likely follows from the lower full-sample SR in Ex1 (1.037 vs expected 1.27). Since PSR_stat is driven by Sharpe, sample size, skew, and kurtosis, a lower realized Sharpe naturally lowers PSR_stat.
Methodology Issues
No major methodological failure is obvious from the reported results. In fact, the repository appears to follow the intended setup closely:
seed documented: 42
synthetic return generation documented
1000 observations generated and trimmed to 992
8,800 strategy grid constructed
CSCV with S=16, C(16,8)=12,870 combinations used
degradation regressions and PBO computed
PSR and stochastic dominance analyses performed
test suite: 114 passed, 1 skipped
That said, there are a few likely implementation-sensitive areas that could explain deviations:
Business-day calendar realization yielded 46 months rather than the user’s rough expectation of ~48
Seasonal day count = 230 rather than ~240
Stop-loss implementation can materially affect best-strategy location and PBO
The exact rule stated in Exp 2 for stop-loss includes an unusual line:
“set M[t_exit, n] = 0 if t < t_exit”
This could influence trade-path returns depending on actual code behavior
So methodology seems largely followed, but the exact numerical outcomes are probably sensitive to implementation details in trade simulation and sample calendar structure.
Reliability
Stability and consistency
The results are internally consistent:
Ex1 consistently looks overfit:
high PBO
high OOS loss probability
negative degradation slope
reverse/negative stochastic dominance
Ex2 consistently looks more genuine:
much lower PBO
much lower OOS loss probability
weaker degradation
stronger PSR and better full-sample SR
Red flags
A few red flags exist, but they are interpretive rather than fatal:
Ex1 PBO is far above expectation
could be a valid realization, but it is a large quantitative gap
Ex2 stochastic dominance fails
weakens one expected validation claim
Distinct months = 46
lower than the rough expected 48, but this is likely due to actual 1000-business-day span from the anchor date
Overall, there is no sign of random or contradictory reporting. The outputs tell a coherent story and pass a substantial test suite, which increases confidence.
Embedded Repository Figures
Experiment-by-Experiment Assessment
Exp 1 — Synthetic Data Generation
Mostly reproduced
Key targets met:
shape = 1000
std ~0.01
prices start at 100
Ex2 has higher mean than Ex1
Minor deviation:
46 months / 230 seasonal days instead of rough ~48 / ~240
This is not concerning by itself.
Exp 2 — Strategy Simulation
Partially reproduced
Matrix dimensions are correct.
Ex2 optimum correctly points to Entry day 1, long side, capturing the embedded seasonality.
Ex1 optimum and full-sample SR differ materially from expected.
Ex2 full-sample SR is slightly higher than expected, but within acceptable tolerance.
Exp 3 — CSCV Example 1
Partially reproduced
Qualitative result strongly reproduced: random walk case shows heavy overfitting.
But PBO and OOS loss probability are much higher than expected, so the quantitative match is poor.
Exp 4 — CSCV Example 2
Mostly reproduced
Low PBO and low OOS loss probability are both reproduced.
Regression beta and adj. R² are close.
Alpha is somewhat lower than expected, but not enough to overturn the main conclusion.
Exp 5 — Stochastic Dominance & PSR Example 1
Mostly reproduced
Main conclusion reproduced:
PSR looks attractive despite no true signal
optimization hurts OOS performance
PSR_stat is lower than expected, but interpretation is unchanged.
Exp 6 — Stochastic Dominance & PSR Example 2
Partially reproduced
PSR behavior is reproduced.
However, the expected stochastic dominance claim is not reproduced.
Still, low PBO remains the stronger and more central validation metric.
Verdict
Final Decision: PARTIALLY REPRODUCED
Why:
The repository successfully reproduces the central finding of the paper/setup: CSCV/PBO distinguishes genuine signal from overfit noise far better than in-sample Sharpe or PSR alone. This is the most important result, and it is clearly present.
However, several key numerical results differ materially from expected values, especially:
Example 1 PBO and OOS loss probability
Example 1 optimal strategy / Sharpe
Example 2 stochastic dominance conclusion
So the study is qualitatively and directionally reproduced, but not fully quantitatively matched.
Experiments
Data Generation: Synthetic Price Series for PBO Experiments
Generate two synthetic daily return series (T=1000 observations) used as the underlying asset for all subsequent experiments. Example 1 is a pure random walk with no embedded pattern. Example 2 is a random walk with a genuine monthly seasonal effect added to the first 5 business days of each month. Both series are saved as reusable artifacts for downstream experiments.
Strategy Simulation: Construction of the T x N P&L Matrix M for Both Examples
Simulate all N=8,800 monthly seasonal trading strategy configurations over both synthetic price series (Example 1 and Example 2) to produce the T_adjusted x 8,800 daily P&L matrices M_ex1 and M_ex2. Each column of M represents one strategy's daily return series. This matrix is the core input to all CSCV analyses.
CSCV Algorithm Implementation: PBO, Performance Degradation, and Probability of Loss for Example 1 (Pure Random Walk)
Apply the Combinatorially Symmetric Cross-Validation (CSCV) algorithm to the P&L matrix M_ex1 (pure random walk, no seasonal effect) to estimate the Probability of Backtest Overfitting (PBO), the performance degradation regression, and the probability of OOS loss. This experiment tests the hypothesis that in the absence of any true signal, the CSCV correctly identifies high PBO (approximately 55%) and negative performance degradation.
CSCV Algorithm Implementation: PBO, Performance Degradation, and Probability of Loss for Example 2 (Random Walk with Seasonal Effect)
Apply the identical CSCV algorithm to the P&L matrix M_ex2 (random walk with embedded monthly seasonal effect) to estimate PBO, performance degradation, and probability of OOS loss. This experiment tests the hypothesis that when a genuine predictable pattern exists, CSCV correctly identifies low PBO (approximately 13%) and attenuated performance degradation, validating that CSCV discriminates between real and spurious signals.
Stochastic Dominance Analysis and PSR Computation for Example 1 (Pure Random Walk)
Perform the stochastic dominance analysis comparing the OOS performance distribution of the IS-optimal strategy (Distribution A) to the mean OOS performance distribution across all strategies (Distribution B) for Example 1. Also compute the Probabilistic Sharpe Ratio (PSR) statistic for the globally optimal strategy. This tests whether the selection process adds value (stochastic dominance of optimized over non-optimized) and quantifies the statistical reliability of the IS Sharpe ratio.
Stochastic Dominance Analysis and PSR Computation for Example 2 (Random Walk with Seasonal Effect)
Perform the stochastic dominance analysis comparing the OOS performance distribution of the IS-optimal strategy (Distribution A) to the mean OOS performance distribution (Distribution B) for Example 2 (genuine seasonal effect). Also compute the PSR for the globally optimal strategy in Example 2. This tests whether genuine signal leads to stochastic dominance of the optimized over non-optimized OOS distribution, validating that CSCV correctly recognizes real predictability.