Expand description
Alpha-Investing: sequential FDR control for multiple simultaneous alerts.
When many monitors fire simultaneously (budget alerts, degradation triggers, capability detection decisions), testing each at a fixed alpha level inflates the family-wise false discovery rate. Alpha-Investing controls FDR by treating significance level as a spendable resource.
§Mathematical Model
The investor maintains a wealth W that starts at an initial budget W₀:
W₀ = initial_wealth (e.g. 0.5)For each new hypothesis H_i:
- Invest: spend α_i ≤ W from the wealth (the test level for H_i)
- Test: evaluate H_i at level α_i
- Update wealth:
- If H_i rejected (discovery): W += reward (typically ψ * α_i)
- If H_i not rejected: W unchanged (already spent α_i)
The investment can never exceed the current wealth, so the procedure self-limits when too many tests fail to reject.
§FDR Guarantee
Under independence or positive dependence of the test statistics, Alpha-Investing controls the modified FDR (mFDR) at level ≤ W₀:
mFDR = E[V] / E[R] ≤ W₀where V = false discoveries, R = total discoveries.
§Integration
Pair with conformal_alert for individual alert calibration:
conformal_alert → p-value → alpha_investing → gated decisionEach alert produces a p-value; the investor decides whether to “spend” enough alpha to declare the alert significant.
§Failure Modes
| Condition | Behavior | Rationale |
|---|---|---|
| Wealth exhausted (W ≈ 0) | All tests skipped | FDR budget spent |
| Negative p-value | Clamped to 0.0 | Invalid input guard |
| p-value > 1.0 | Clamped to 1.0 | Invalid input guard |
| Zero investment | Test skipped | No alpha allocated |
§Reference
Foster & Stine (2008), “α-investing: a procedure for sequential control of expected false discoveries”, JRSS-B 70(2):429-444.
Structs§
- Alpha
Investing Config - Configuration for the Alpha-Investing procedure.
- Alpha
Investor - Alpha-Investing controller for sequential FDR control.
- Test
Record - Record of a single hypothesis test within the Alpha-Investing sequence.
Enums§
- Test
Outcome - Outcome of testing a single hypothesis.
Functions§
- benjamini_
hochberg - Benjamini-Hochberg step-up procedure for FDR control.
- bonferroni_
test - Simple Bonferroni correction: test each hypothesis at α/m.