Definitionresearch
Confidence sequence
Also called anytime-valid confidence interval.
A sequence of confidence sets that contains the true parameter at all times at once with probability 1 - alpha, so it stays valid at any stopping time.
A confidence sequence is a sequence of confidence sets , one after each new observation, such that with probability at least the true parameter lies in every one of them at the same time. A fixed-sample confidence interval covers the parameter at one planned sample size; a confidence sequence covers it at all sample sizes together, so the analyst can watch the interval shrink, stop at any time for any reason, and still report a set with coverage . The usual construction inverts a family of test martingales with Ville's inequality. Darling and Robbins introduced the idea in 1967.
Definition
Let be observations with a distribution from a model , let be a parameter with values in a set , and let .
Definition. A confidence sequence for is a sequence of sets , , where each is a function of , such that
Equivalent form. The sets form a confidence sequence if and only if for every and every stopping time with respect to , where may take the value and the event is read as "true" (Howard, Ramdas, McAuliffe and Sekhon 2021). Proof. If the uniform statement holds, then , which has probability at most ; this direction holds even for random times that are not stopping times. Conversely, fix , write , and let . It is a stopping time. For each , is a stopping time and , so . Letting gives .
Construction from test martingales. Suppose that for each there is a process , computable from , which is a test supermartingale under every with . Let
Then is a confidence sequence: for the true , the event that some misses it is the event that for some , which has probability at most by Ville's inequality. The running intersection misses only if some does, so it is also a confidence sequence, and it never grows. This is the sequential form of test-interval duality.
Examples and non-examples
The normal mixture confidence sequence. Let be i.i.d. , and . For each , mixing the exponential martingale over gives the test martingale
Solving for gives the interval with
The free parameter chooses the sample sizes where the interval is tightest. With and , against the fixed-sample half-width :
| 10 | 100 | 1000 | 10 000 | |
|---|---|---|---|---|
| confidence sequence | 0.9606 | 0.3273 | 0.1136 | 0.0390 |
| fixed-sample | 0.6198 | 0.1960 | 0.0620 | 0.0196 |
| ratio | 1.55 | 1.67 | 1.83 | 1.99 |
The ratio grows like , since .
Non-example: the fixed-sample interval at every step. The interval covers with probability 0.95 at each fixed , but not at all together. In 1000 simulated paths of data, it missed the true mean at some in 38.6% of the paths, at some in 52.4%, and at some in 64.0%; the normal mixture sequence above with missed at some in 3.1%. By the law of the iterated logarithm, almost surely, so the fixed-sample interval misses the mean infinitely often with probability 1.
A union bound example. Choose , which add up to , and take the fixed-sample interval at level at each . By the union bound this is a confidence sequence. It is valid but wide: for the normal model with its half-width is 1.1088, 0.4567, 0.1724 and 0.0622 at , 100, 1000 and 10 000, which is 1.15 to 1.59 times the mixture width of the table. The squared quantile grows like against for the mixture, so the ratio tends to 2, slowly.
Bounded data. For with conditional mean , the betting products of the test martingale page give a confidence sequence for with no other assumption. The Hoeffding supermartingale gives a simpler one with a closed form.
Non-example: stop when the interval looks good. An analyst computes the fixed-sample interval after each observation, stops at the first where it excludes 0, and reports that interval. The report is for a stopping time , so by the equivalence above its coverage is at least under every such rule only when the whole sequence is a confidence sequence. With true mean 0 and at most 1000 observations, the simulation above shows that this rule ends with an interval that misses 0 in 52.4% of the paths.
Related definitions
- Confidence interval. The fixed-sample notion, with for one fixed in advance. A confidence sequence restricted to one is a confidence interval; the converse fails, as shown above.
- Width. No confidence sequence for a mean with finite variance can have width with for all large , by the law of the iterated logarithm, since such intervals miss the mean infinitely often almost surely. Howard et al. (2021) construct stitched boundaries with width of order ; the normal mixture has the larger order but smaller constants over a planned range of .
- Always valid confidence interval. Inverting the mixture SPRT gives the normal mixture confidence sequence above; Johari, Koomen, Pekelis and Walsh (2022) call its running intersection an always valid confidence interval and use it in online experiments.
- Repeated confidence intervals. In a group sequential design, intervals computed at a few planned analyses with the group sequential critical values cover the parameter at all analyses together. They are confidence sequences for a finite set of times.
- Sequential tests. A confidence sequence gives an anytime-valid test of : reject at the first with . Its type I error is at most by the definition.
References
- D. A. Darling and Herbert Robbins, Confidence sequences for mean, variance, and median, Proceedings of the National Academy of Sciences 58(1) (1967), pages 66 to 68, the definition of a confidence sequence and the first constructions for the mean, the variance and the median
- Steven R. Howard, Aaditya Ramdas, Jon McAuliffe and Jasjeet Sekhon, Time-uniform, nonparametric, nonasymptotic confidence sequences, Annals of Statistics 49(2) (2021), pages 1055 to 1080, the equivalence of time-uniform coverage and coverage at stopping times, the normal mixture boundary, and stitched boundaries with iterated-logarithm width
- 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, the supermartingale constructions behind time-uniform boundaries, with Ville's inequality
- Herbert Robbins, Statistical methods related to the law of the iterated logarithm, Annals of Mathematical Statistics 41(5) (1970), pages 1397 to 1409, the method of mixtures and the resulting boundary-crossing bounds for sums
- Ramesh Johari, Pete Koomen, Leonid Pekelis and David Walsh, Always valid inference, continuous monitoring of A/B tests, Operations Research 70(3) (2022), pages 1806 to 1821, always valid confidence intervals obtained by inverting the mixture SPRT
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 5X8RTE Edit this page History Report an error Markdown