Code / experiments/micro/expF_multiple_testing/hypothesis.md
experiments/micro/expF_multiple_testing/hypothesis.md
92 lines
---
project: anomaly-atlas
document: expF_multiple_testing/hypothesis
author: Simon-Pierre Boucher
contact: contact@spboucher.ai
data_source: hfmarketdata.io
created: 2026-08-12
modified: 2026-08-12
status: final
---
# Hypothesis — expF_multiple_testing
*Pre-specified 2026-08-12 before the battery ran. RC/SPA/DSR passed the
§8.1 gate first (4 tests: pure noise never survives; a planted profitable
rule always does).*
```text
Hypothesis
The survival curve (charter result-type E): after honest correction for
the FULL searched universe, few or none of the C/D scan leads survive.
Prior: the daily 2008-2015 reversal family and possibly ES->SPY have the
best odds; the tiny 2014-2015 lead-lag residuals and most intraday
reversion cells should die.
Falsification criterion
Not falsifiable as a directional claim — the DELIVERABLE is the measured
survival rate at each layer. The pipeline is broken (investigate, not
publish) if a rule from the expE calendar family survives SPA (expE
already showed all 8 inside the permutation band).
Artifact null(s)
The searched-universe null itself: RC/SPA bootstrap under H0 "no rule
beats zero", universe = EVERYTHING the scans looked at (not only the
FDR survivors) — 2 signed variants of every cell/pair/class.
Method (pre-declared)
Rule construction (mechanical, no tuning):
R-family (expC, 127 cells x2 signs): contrarian rule at the cell's
timeframe on RTH trade-time returns, pos_t = -sign(r_{t-1});
1day cells use the previous daily return. Daily aggregation; days
without data = 0 (idle).
L-family (expD, 49 pairs x2): follower timed by leader's previous
1min return on both-fresh minutes, daily aggregation.
C-family (expE, 8 classes x2): +/-(r_t - unconditional mean) on class
days, 0 elsewhere (drift-adjusted so "long Mondays" cannot free-ride
the equity premium).
Blocks (common day calendars): expC 2000-2007, expC 2008-2015, expC 1min
2014-2015, expD 2006-2007, expD 2014-2015, expE train.
Battery per block: (1) naive |t|>1.96 count; (2) BH-FDR on two-sided
rule p-values across ALL blocks jointly; (3) Hansen SPA (500 stationary
bootstraps, mean block 5 days, seed 42) + StepM-style step-1 survivor
count (rule t >= bootstrap max-stat 95th pct); (4) DSR of each block's
best rule, n_trials = total universe size, sr_variance across the
universe. White RC reported alongside SPA.
IMPORTANT honesty note: rules are evaluated on the SAME train data the
scans ran on — expF measures survival of the in-sample search under
correction. Out-of-sample survival is expH's job on the validation split.
Result
Run 20260812T072749Z — 0 network requests (582 cache hits; the frozen
cache carried the whole battery). Universe: 372 signed rules, 6 blocks.
Survival funnel (GROSS, frictionless): naive |t|>1.96 = 232 (62%) ->
BH-FDR = 226 (61%) -> SPA step-1 = 68 (18%). All expC/expD blocks reject
at the bootstrap floor (RC and SPA p = 0.002); the expE calendar block
survives nothing (naive 0, spa_p 0.87) — the pipeline-broken tripwire did
NOT fire. Best rules carry annualized Sharpe 10-31 — physically absurd,
the §12 red flag. Intersection with the artifact-adjusted expC triage:
12/14 cells also pass SPA. L-family step-1 includes -L:ES->SPY (the
splice-invariant basis effect) and -L:SPX->SPY (the KNOWN index-staleness
artifact, deliberately kept in the universe as a canary — it survives
statistical correction, which proves the point below).
Interpretation
(Level 0.) The survival curve's headline is METHODOLOGICAL and it is the
strongest result of the project so far: statistical correction corrects
for SEARCH, not for MECHANISM. 18% of gross rules survive Hansen SPA —
and the survivors are dominated by bounce harvesting (a contrarian rule
earns -autocov1 > 0 on paper and pays the spread in reality) plus
frictionless lead-lag timing; the known artifact (SPX->SPY) sails through
SPA unharmed. Honest validation therefore REQUIRES all three layers:
artifact nulls (scans) AND search correction (expF) AND costs (expG).
The double-filtered pool going to expG: 12 reversion cells + ES->SPY +
the expD 2014-2015 FDR set. DSR by block is reported but is mostly a
universe-heterogeneity diagnostic here (bounce-inflated Sharpe variance);
documented, not over-read.
Next experiment
expG (cost frontier) on the double-filtered pool; expH (validation split)
for whatever survives costs.
```