Customers & growth · Conversion rate optimization
Sequential testing
Best for Startup to Growth
Use it when
You want to check a running A/B test as data arrives and stop early on a clear win or harm, without the false winners that peeking creates.
Skip it when
- You will read the test once, when the planned sample is reached. Use Statistical significance framework with a fixed sample.
- The test has no plan yet with a metric, smallest lift and sample size. Use Test design framework first.
- You have a test idea but no written prediction or success metric. Use Test hypothesis development first.
- You need the whole test run from launch to the ship decision. Use A/B testing framework, with this as its stopping rule.
What to apply first and what to use instead are listed below.
Approaches
Group sequential
Set a maximum sample and a small number of planned looks, and spread the false positive budget across them so each look has its own stopping threshold.
- Pro It has the most power when the maximum sample can be estimated, and with no early stop it ends as a standard test.
- Con The maximum sample must be estimated before launch, running past it breaks error control, and the thresholds need software to compute.
Always valid
Use p-values and intervals that stay valid at every moment, so the team can look as often as it likes and stop whenever a threshold is crossed.
- Pro It needs no fixed sample or look schedule and suits data that streams in continuously.
- Con It has less power than a group sequential test with a good sample estimate, needs a tuning setting and is harder to explain.
Count rule
For a conversion test split 50/50, stop for the variant when its conversions lead the control's by a threshold set from the planned total, and stop with no winner when that total is reached.
- Pro It needs no special software and anyone can check it from two running counts.
- Con It fits only conversion counts with an even split, is one-sided by default, and runs longer than a fixed test when there is no effect.
Inputs
- Test planHypothesis, primary metric, guardrails and smallest lift worth detecting, from Test design framework.
- Error ratesThe significance level, the power and whether the test is one-sided or two-sided, agreed before launch.
- Baseline and trafficCurrent rate or mean and variance of the primary metric and weekly eligible users, from analytics over the last four weeks.
- Data arrivalWhether results arrive continuously or in daily batches, and how often the team wants to look.
- Testing toolA platform or analyst script that implements the chosen sequential method and logs every look.
Steps
- Choose the method from how data arrives and whether you can estimate the maximum sample, group sequential when you can, always valid when you cannot or data streams in, and the count rule for a simple conversion test.
- Set the maximum sample where the method uses one, the look schedule and the thresholds for a win, for harm and for stopping with no winner, and date them in the test plan before launch.
- Launch, and run the sample ratio check at the first look before reading any result.
- At each planned look, compare the test statistic or always-valid p-value with that look's threshold, and stop only when one is crossed or the maximum sample is reached.
- Report the lift with the interval and p-value the sequential method produces, and decide to ship, roll back or drop.
- Log the look at which the test stopped, the sample used against the fixed-sample size it would have needed, and the decision.
Output
A sequential test record attached to the test log, showing the rule set before launch and every look taken against it.
- Method and reason for choosing it
- Maximum sample, look schedule and thresholds
- Statistic at each look
- Stop reason (win, harm, no winner or maximum sample)
- Lift with the method's interval and p-value
- Sample used against the fixed-sample size
- Decision
Done when
- The method, maximum sample where used, look schedule and thresholds are dated before launch.
- Every look is logged with its statistic and the threshold it was compared with.
- The test stopped at a threshold or at the maximum sample, and a group sequential test never ran past its maximum.
- The readout uses the interval and p-value from the sequential method.
- The sample ratio check passed before the first result was read.
Measure
Each quarter, compare the sample your sequential tests used with the fixed-sample size each would have needed, and track the share of declared winners whose gain held four to eight weeks after shipping. Judge both against your previous quarters. It is working when tests with clear results stop earlier and the share of winners that hold does not fall.
Hypothetical example
Larchmont, an online grocer, tests a new delivery slot picker. Results land in daily batches and the analyst can estimate the maximum sample, so the team picks a group sequential test with a maximum of 40,000 users per group and four weekly looks. The tool computes a threshold for each look, and the plan is dated before launch. The sample ratio check passes at look one. At look two the lift in checkout completion is positive but inside the threshold. At look three, with 30,000 users per group, the lift of 1.2 points crosses the threshold, with an adjusted interval of 0.4 to 2.0. The team ships the picker and logs that the test used 75 percent of its maximum sample.
Common mistakes
- Reading an ordinary p-value every day and stopping on the first significant one. Use a method built for repeated looks.
- Running a group sequential test past its maximum sample. Stop there, or choose an always-valid method if you may need to run longer.
- Changing the look schedule or thresholds mid-test. Date them in the plan before launch.
- Reporting an ordinary confidence interval at the stopping point. Report the interval the sequential method gives.
- Choosing an always-valid method by default when data arrives in batches and the sample can be estimated. Use a group sequential test there, since it has more power.
Sources
- Choosing a Sequential Testing Framework: Comparisons and Discussions · Mårten Schultzberg, Sebastian Ankargren, 2023
- Always Valid Inference: Bringing Sequential Analysis to A/B Testing (published in Operations Research 70(3), 2022, as Always Valid Inference: Continuous Monitoring of A/B Tests) · Ramesh Johari, Leonid Pekelis, David J. Walsh, 2022
- Simple Sequential A/B Testing · Evan Miller, 2015
By company stage
Apply first
- A/B testing frameworkCustomers & growth · Conversion rate optimization
Iterative test sequences are chains of A/B tests; you need the single test before you can run a programme of them.
Use instead
- Statistical significance framework
You will read the test once, when the planned sample is reached. Use Statistical significance framework with a fixed sample.
- Test design framework
The test has no plan yet with a metric, smallest lift and sample size. Use Test design framework first.
- Test hypothesis development
You have a test idea but no written prediction or success metric. Use Test hypothesis development first.
- A/B testing framework
You need the whole test run from launch to the ship decision. Use A/B testing framework, with this as its stopping rule.
Where it sits
Open the conversion rate optimization roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account