Theoremresearch
Ville's inequality
Also called maximal inequality for nonnegative supermartingales.
A nonnegative supermartingale that starts at 1 ever reaches 1 / alpha with probability at most alpha. It makes sequential tests valid under optional stopping.
Ville's inequality bounds the probability that a nonnegative supermartingale ever climbs high: the chance that it ever reaches a level is at most its starting mean divided by . It is Markov's inequality for the whole path at once, not for one fixed time. For a test martingale, which starts at 1, it says that the wealth of a bettor against a true null ever reaches with probability at most . This is what makes sequential tests and confidence sequences valid when the analyst checks the data after every observation and stops at will.
Statement
Theorem (Ville's inequality). Let be a supermartingale with respect to a filtration under a probability , with for all . Then for every ,
In particular, if and , then .
Here runs over . The supermartingale property means that each is -measurable and integrable and almost surely for .
In plain words
A gambler starts with one unit of money and makes a sequence of bets that are fair or worse for the gambler, and can never owe money. The rule says that the chance that the gambler is ever twenty times richer than at the start is at most one in twenty. It does not matter how the gambler picks the bets, when the gambler looks at the balance, or whether the game ever ends. A test of a hypothesis can use the same idea. The tester bets against the hypothesis. If the hypothesis is true, the bets are fair, so a big win is rare. The tester can look after every new data point and stop at the first big win, and the false alarm rate stays below the chosen level.
Proof
Fix . Let , with . The event depends only on , so is a stopping time and for .
Step 1: the stopped mean does not grow. Fix an integer . For every outcome,
because the sum telescopes up to and its later terms are 0. Each term is integrable. Since is -measurable and bounded,
So .
Step 2: Markov's step. On we have , and everywhere . Hence
Step 3: let . The events increase with to . By continuity of from below, .
Step 4: from "some " to "". The supremum can equal without being attained. For every with , the event is contained in , so by Step 3 its probability is at most . Letting gives the bound .
Step 1 is the optional stopping theorem for the bounded stopping time , written out. The proof never uses the distribution of the increments, only their conditional means and the sign of .
Consequences
- Anytime-valid tests. If is a test supermartingale for every distribution in a null , the rule "reject at the first with " has type I error at most under every , for every stopping rule the analyst uses, including never stopping. The mixture SPRT is this rule with a mixture likelihood ratio.
- Anytime-valid p-values. satisfies , because for .
- Confidence sequences. If is a test martingale when is the true parameter, the sets contain the true at all times at once with probability at least . See confidence sequence.
- Wald's bound for the SPRT. In the SPRT the likelihood ratio is a test martingale under . Rejecting when therefore has type I error at most , with no approximation.
- Line-crossing bounds. Let be a sum of i.i.d. variables. For , is a test martingale. On the event that for some , with and , the martingale is at least . So . The same argument with a sub-Gaussian or bounded increment gives the time-uniform versions of the Hoeffding and Azuma inequalities surveyed by Howard, Ramdas, McAuliffe and Sekhon (2020).
- E-processes. Fatou's lemma applied to Step 1 shows for every stopping time , so a test supermartingale is an e-process; see test martingale.
- Continuous time. If , with real , is a nonnegative supermartingale with right-continuous paths, apply the theorem to the times and let . Right continuity makes the supremum over these times equal to the supremum over all , so the same bound holds.
Tightness
The constant cannot be improved.
- A two-point martingale. Let , , and let for all with probability and for all otherwise. This is a nonnegative martingale and .
- Geometric Brownian motion. Let be standard Brownian motion and , a continuous nonnegative martingale with . For let be the first time . Up to the process stays in , so optional stopping at gives . As , on because , and dominated convergence gives . So equality holds with no overshoot. For Gaussian sums in discrete time the martingale jumps over the level, and the inequality is strict.
- Nonnegativity is needed. Let with a simple symmetric random walk. It is a martingale with , but it takes negative values, and by recurrence it reaches every level with probability 1, far above .
- The supermartingale property is needed. for a Gaussian walk is nonnegative and starts at 1, but it is a submartingale, and it also reaches every level with probability 1 when .
- Fixed time against all times. Markov's inequality at one fixed gives the same number for . Ville's inequality says that the bound for all times at once costs nothing more. The price of uniformity is paid in power. At a planned sample size , the rule "reject if for some " is a level- test, so by the Neyman-Pearson lemma its power against a simple alternative is at most that of the most powerful fixed-sample test with observations.
History
Jean Ville proved the inequality for nonnegative martingales in his 1939 thesis, Étude critique de la notion de collectif, where he used martingales, a word he brought into probability, to criticize von Mises's definition of randomness; Shafer, Shen, Vereshchagin and Vovk (2011) tell this history and name the inequality after him. The statement is the special case for nonnegative supermartingales of Doob's maximal inequality, in the form found in textbooks such as Durrett, Section 4.4. Its use as the basis of anytime-valid inference, test martingales and time-uniform concentration bounds is surveyed by Howard, Ramdas, McAuliffe and Sekhon (2020) and Ramdas, Grünwald, Vovk and Shafer (2023).
References
- Rick Durrett, Probability, Theory and Examples, fifth edition, Cambridge University Press, 2019, Section 4.4 (Doob's inequality, convergence in L^p)
- Glenn Shafer, Alexander Shen, Nikolai Vereshchagin and Vladimir Vovk, Test martingales, Bayes factors and p-values, Statistical Science 26(1) (2011), pages 84 to 101, Ville's inequality for test martingales and its history in Ville's 1939 thesis
- Steven R. Howard, Aaditya Ramdas, Jon McAuliffe and Jasjeet Sekhon, Time-uniform Chernoff bounds via nonnegative supermartingales, Probability Surveys 17 (2020), pages 257 to 317, Ville's maximal inequality as the tool that turns nonnegative supermartingales into time-uniform bounds
- Aaditya Ramdas, Peter Grünwald, Vladimir Vovk and Glenn Shafer, Game-theoretic statistics and safe anytime-valid inference, Statistical Science 38(4) (2023), pages 576 to 601, Ville's inequality as the basis of anytime-valid tests, p-values and confidence sequences
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag WDQ3S8 Edit this page History Report an error Markdown