Problem
Teams compare counts between groups: signups per variant in a conversion experiment, or errors per software version in a canary release. Data arrives as a stream, so people check results constantly and want to stop as soon as the answer is clear. A fixed-sample test then loses its error guarantee. Rates that drift during the day or week also break the usual stationarity assumptions.
Example from the article: a signup experiment and a Netflix canary of a release candidate, where successful play starts of control and candidate are compared (per the paper).
Solution in brief
Turn the count comparison into a multinomial test: each new success or event is a draw of "which arm it came from". Under equal rates that draw has known probabilities regardless of how the overall rate drifts. A Dirichlet-mixture Bayes factor on these draws is a martingale, so rejecting when it reaches keeps the false-positive rate at most at any stopping time. Inverting the same test gives confidence sequences.
Questions this case answers
- How to run a sequential test on count outcomes of several groups so that error rates hold under optional stopping when the underlying rates change over time
- How to build intervals for contrasts between groups that remain valid at any stopping time
- How to monitor an A/B test on conversion counts continuously without inflating false positives?
- How to compare event counts between a control and a release candidate in a canary and abort as soon as the evidence is clear?
Tools and methods
- Sequential multinomial test (Dirichlet mixture) — anytime-valid test of .
- Sequential p-value — running minimum of , valid under continuous monitoring.
- Confidence sequences — intervals for probabilities and arm contrasts, valid at all times.
- Inhomogeneous Bernoulli / Poisson process reduction — handles time-varying rates shared by all arms.
Google or a one-time email code. No password.