The Experiment JournalA/B testing, recorded properly

The bench › Optimization Tools

Stop Peeking: Fix Your A/B Tests with Sequential Testing

Recorded 2026-10-26

1 Overview

Sequential testing is a family of statistical methods for experiments where data arrive over time and someone will look at the results before the planned end. In a classic fixed-horizon test, the analyst waits until the target sample size is reached and then computes one test. In practice, dashboards refresh constantly, stakeholders ask for early reads, and teams often stop as soon as a result looks promising. That behavior is called peeking, and it quietly inflates the chance of declaring a winner when there is no real effect.

The core problem is that each look at accumulating data is another opportunity for random noise to cross a threshold. If you check a conventional significance test many times, the probability of at least one false positive grows well beyond the nominal level. Sequential testing fixes this by using decision boundaries that are adjusted for the number of looks, the timing of looks, or the amount of information collected. Instead of a single critical value, you get a rule that says when to stop for a win, when to stop for futility, and when to keep going.

This article explains the intuition, the design choices, and the practical tradeoffs. It is about experimentation education, not a promise that any method will rescue a poorly designed test. Results depend heavily on your setup, your metric, and your sample size, so treat every number below as a concept rather than a guarantee.

2 Framing the question

Before choosing a sequential method, write down the decision the experiment is meant to inform. A good hypothesis states the change, the population, and the direction of the expected effect. For example, a hypothesis might claim that a simplified checkout flow increases completed purchases for new visitors. The metric should be the one that most directly reflects that value, chosen before the test begins and not swapped later when a different metric looks better.

You also need to decide what counts as a meaningful effect. A statistically detectable effect can be tiny and commercially irrelevant, especially with a large sample. The minimum effect of interest is the smallest improvement that would justify the cost, risk, and maintenance of shipping the change. Sequential designs are often most useful when the cost of continuing to run a test is high, or when early harm must be detected quickly, because they allow principled early stopping rather than ad hoc peeking.

Finally, clarify the stopping philosophy. Some teams want to stop early only for harm, some want to stop early for benefit, and some want both. Others prefer to run to a fixed information target and use sequential boundaries only as a safety check. Each choice changes the boundaries and the interpretation, so agree on it before data collection starts. Documenting the plan in advance is what separates sequential testing from simply watching a dashboard and hoping.

3 Designing the test

A sequential test still begins with a randomized controlled experiment. Users, sessions, or other units are assigned at random to control or variant, and the assignment must be independent of the outcome. Randomization balances known and unknown differences on average, which is what allows a causal reading. If assignment is broken, no sequential boundary can repair the comparison.

The sequential element is the monitoring plan. You specify how often the data will be analyzed, or you use a method that allows continuous monitoring with boundaries derived from the amount of statistical information accumulated. Common approaches include group sequential designs, which evaluate at a fixed number of interim looks, and always-valid or sequential likelihood methods, which permit looks at any time. Each has assumptions about the data and each produces different boundaries.

You must also pre-declare the primary metric, the analysis population, the handling of missing data, and any segments you plan to examine. Multiple metrics and many subgroups multiply the chances of a spurious finding, so either correct for that multiplicity or treat secondary analyses as exploratory. Guardrail metrics, such as latency, error rate, or refund rate, should be monitored for harm. The design should state how ties, bots, and duplicate accounts are handled, because these details affect both the estimate and its uncertainty. A clear design document is the foundation that makes the sequential analysis meaningful rather than decorative.

4 Sample size and validity

Sample size planning for a sequential test starts from the same ingredients as a fixed-horizon test: the baseline rate of the metric, the minimum effect worth detecting, the acceptable false-positive rate, and the desired power. The difference is that sequential monitoring usually requires a larger maximum sample size to preserve power, because some probability of stopping early is spent on interim looks. The exact penalty depends on the number and timing of looks and on the boundaries chosen.

Validity depends on following the plan. Peeking without correction, changing the primary metric mid-flight, or stopping when a result becomes convenient all undermine the error guarantees. Sample ratio mismatch, where the observed allocation deviates from the intended split, is a warning sign of instrumentation or assignment problems and should be investigated before trusting any result. Novelty and primacy effects can distort early readings, and seasonality can make a short test unrepresentative of normal traffic.

Sequential methods control error rates under their stated assumptions, but they do not create information that is not there. A small sample yields wide uncertainty regardless of the boundary. A noisy metric yields imprecise estimates. A biased assignment mechanism yields a biased comparison. Treat the method as a disciplined way to decide when to stop, not as a substitute for careful measurement. When in doubt, run longer, simplify the metric, or fix the data pipeline before drawing conclusions.

5 Running and reading the results

During the test, the sequential boundary tells you whether the evidence has crossed a threshold for a decision. If the boundary for benefit is crossed, you may stop and consider shipping, subject to guardrails and practical review. If the boundary for harm is crossed, you may stop to protect users. If neither is crossed, you continue until the next planned look or the maximum information target. The estimate at any moment is still an estimate, and early estimates are especially unstable.

When you read the result, report the effect size with an uncertainty interval, the boundary that was crossed or not crossed, and the amount of data collected. Avoid treating a non-significant interim result as proof of no effect; it may simply mean the test has not accumulated enough information. Avoid treating a boundary crossing as proof of a permanent truth; it is a decision rule operating under uncertainty. The practical question is whether the observed improvement is large enough to matter and robust enough to survive scrutiny.

Also examine guardrails and secondary metrics for unintended consequences. A conversion win accompanied by a large increase in support contacts or page errors is not a clean win. Check whether the effect is consistent across important segments, while remembering that segment findings are noisier and more prone to false discovery. Document what was decided, when, and why, so future experiments can learn from the process as well as the outcome.

6 What to change next

If the test ended with a clear decision, the next step is to act on it and then verify. Shipping a winning variant is not the end of measurement; monitor the metric after launch to confirm the effect persists outside the experimental context. If the variant lost or the test was inconclusive, revisit the hypothesis, the metric, and the design rather than immediately rerunning the same test. Repeatedly rerunning until something looks significant is a form of peeking across experiments.

Consider whether the sequential plan itself needs adjustment. If interim looks were too frequent or too sparse, the boundaries may have been inefficient. If the minimum effect was set unrealistically small, the test may need a larger sample or a more sensitive metric. If guardrails fired, the change may need a redesign rather than a longer run. Each experiment should leave behind a clearer understanding of the user and the measurement system.

Finally, improve the process. Pre-register the hypothesis, metric, and stopping rule. Automate sample ratio checks and data quality alerts. Train stakeholders on why early peeking is costly and how sequential boundaries protect them. Over time, a team that treats experimentation as a disciplined practice accumulates reliable knowledge, while a team that chases dashboard fluctuations accumulates noise. The goal is not to avoid looking at data, but to look in a way that keeps the error rates honest.

7 Frequently asked questions

Does sequential testing mean I can check results as often as I want? Only if the method is designed for continuous monitoring. Group sequential designs assume a fixed number of looks, while always-valid methods allow arbitrary looks. Checking a fixed-horizon test repeatedly without correction is still peeking and still inflates false positives.

Is sequential testing always better than a fixed-horizon test? No. If you can wait until a planned sample size and no one will act on interim data, a fixed-horizon test is simpler and often more efficient. Sequential methods are most valuable when early stopping matters for cost, ethics, or speed, and when the team is willing to follow the boundaries.

Will sequential testing give me a smaller sample? It can allow stopping earlier when an effect is large, but it usually requires a larger maximum sample to preserve power. The benefit is a principled stopping rule, not a guaranteed reduction in data collection.

What if my result is inconclusive? Treat it as a signal that the effect may be smaller than the minimum of interest, the metric may be noisy, or the sample may be insufficient. Decide in advance whether to extend, redesign, or move on, and avoid simply rerunning until significance appears.

Adjacent experiments