Learning to Bet for Horizon-Aware Anytime-Valid Testing
Abstract
Lay Summary
We study hypothesis testing for experiments that are monitored as data arrives but must stop by a fixed deadline, such as a budget or participant limit. Standard methods can either raise too many false alarms when results are checked repeatedly, or become too cautious when designed for infinite horizon. We develop a strategy inspired by betting: bet steadily when evidence is progressing, take bigger risks near the deadline, and act more cautiously when enough evidence has already accumulated. Using simulated experiments, we train a machine learning system to choose these actions in real time. The learned method detects real effects more often by the deadline and produces tighter plausible ranges, while still controlling false alarms. This can improve A/B tests, adaptive experiments, and resource-limited studies.