Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Public data

Experiment design: which choices change the call

On 381 readings from 78 experiments, a stricter daily bar, sequential or fixed, cut the calls the last snapshot did not confirm from 117 to 27 or 28.

The records: 99 test arms from 78 public experiments, up to four metrics each, read once a day.

In plain words

A team launches a change to half its visitors and opens the dashboard the next morning. The difference looks significant, so someone asks to ship. The usual 5% test assumes one look at the end. Every extra look is another chance for noise to cross the line.

A sequential rule is a test built to be looked at every day. It asks for stronger evidence early, so noise rarely crosses its line. The price is that it waits longer on small real effects.

The records here are public. A large online fashion retailer published 78 of its experiments, 99 test arms against control, four unnamed metrics each, with running totals every half day. Each test was read once a day, at that day's first snapshot, under each rule, and every call was compared with the usual test at the last snapshot. Of these, 15 arm and metric series carry no variances in the records and cannot be tested, which leaves 381 tests, each one metric of one arm.

The calls

Checking every day made 219 calls, and 117 did not hold at the last snapshot. The sequential rule made 91, and 27 did not hold.

Calls that did not hold at the last snapshot, out of all calls, on 381 tests.

Calls that did not hold at the last snapshot, out of all calls, for two ways of stopping, on 381 testsChecked daily, usual 5% test: 219 calls on 381 tests; 117 did not hold at the last snapshot (53% of its calls).Checked daily, usual 5% test117 of 219Checked daily, sequential rule: 91 calls on 381 tests; 27 did not hold at the last snapshot (30% of its calls).Checked daily, sequential rule27 of 91Checked daily, fixed bar as strict: 90 calls on 381 tests; 28 did not hold at the last snapshot (31% of its calls).Checked daily, fixed bar as strict28 of 90Solid bar: did not hold. Track: all calls.
Calls on 381 tests (99 arms, up to 4 metrics). Held: the test at the last snapshot was also significant, in the same direction.
Way of stoppingCallsHeldDid not holdLast-snapshot results reached
Checked daily, usual 5% test219102117102 of 105
Checked daily, sequential rule91642764 of 105
Checked daily, fixed bar as strict (added after the results)90622862 of 105
One look at the last snapshot (the yardstick itself)1051050 by definition105 of 105
Sequential rule early, one look at the end (read after the results)13010327103 of 105

In a check added after the results, resampling whole experiments 2,000 times (arms of one experiment share a control), the daily check's share of calls that did not hold is 53% (95% interval 44% to 63%), the sequential rule's 30% (17% to 45%), and the gap 24 points (14 to 33). In the combined row, the calls made at the end hold by definition; the cost is that 39 of them wait for the planned end.

In a change added after the results, a daily check with a fixed bar (a z of at least 3.33, p under 0.0009 at each look), the least strict bar on a grid of 0.01 that makes no more calls than the sequential rule, made 90 calls, and 28 did not hold: 31% (95% interval 18% to 46%, resampling whole experiments) against 30%, a difference of 1 point (−2 to 6). On the real tests, then, the gap comes from strictness; the replay shows why a daily check needs it. The fixed bar was not replayed.

Change after the first results. The first version counted the 15 series without variances as tests with no call, 396 tests in all, although the design said to drop them. They are now dropped. No call changed; per 100 tests, the calls that did not hold moved from 20.2 to 21.0 for the daily check and from 5.6 to 5.8 for the sequential rule.

Another change after the results. The daily look was first taken only at whole-day snapshots, so the 96 series recorded at half-day offsets had no looks. It is now each day's first snapshot. The daily check's calls went from 158, 80 of them not holding, to 219 and 117; the sequential rule's from 71 and 22 to 91 and 27. Per 100 tests, calls that did not hold moved from 21.0 to 30.7 and from 5.8 to 7.1. The method page has the details.

A further change after the results. The comparison above mixes being built for daily checks with being stricter, so a daily check with a fixed bar as strict was added (table, fourth row). The prediction that the sequential rule would beat it by 5 points or more missed.

Of the daily check's 117 calls that did not hold, 2 pointed the wrong way; the rest faded below significance. When either rule did call a result that held, it did so with about 49% of the final users in, for the daily check, and 43% for the sequential rule.

The sequential rule has one setting, how large an effect it expects. It was fixed before the run at a hundredth of a standard deviation. At a third of that it made 98 calls with 31 not holding; at three times it made 77 with 22. The call does not hinge on the setting.

By metric (metrics are unnamed in the records); the main figures sum all four
MetricDaily check: callsDid not holdSequential rule: callsDid not holdSignificant at the last snapshot
Metric 1451920226
Metric 26137341827
Metric 3563119425
Metric 4573018327

In checks added after the results, the sequential rule's share of calls that did not hold is lower on all four metrics, but on metric 2 only just: 18 of 34 against 37 of 61; metric 2 accounts for 18 of the sequential rule's 27 calls that did not hold. Of the daily check's calls, 6 first come at the last snapshot, where the daily look is the last-snapshot test and holds by definition. Without them the daily check's share is 55% (117 of 213) against 30%, a gap of 25 points (95% interval 16 to 34).

The relabelling replay: each rule's false alarms, measured

The real tests cannot say which calls were false. A replay can. The replay takes the 13,979,592 users of the Criteo advertising tests, puts them in one random arrival order and cuts it into 14 simulated days of about 999,000 users. It then discards the real arms and relabels every user A or B at random, 2,000 times. Any difference found is a false alarm by construction.

The daily check's false alarms climb with every look, to 20.5% after two weeks. The sequential rule creeps up to only 0.6%.

Share of 2,000 random relabellings that flagged a difference in visits, by daily looks so far.

False alarms of the daily check by number of daily looks, and of the sequential rule, with one look at the end for comparison0%5%10%15%20%25%1714daily looks so farAfter 1 daily look: the daily check had flagged a difference in 3.2% of relabellings.After 2 daily looks: the daily check had flagged a difference in 6.1% of relabellings.After 3 daily looks: the daily check had flagged a difference in 8.5% of relabellings.After 4 daily looks: the daily check had flagged a difference in 10.6% of relabellings.After 5 daily looks: the daily check had flagged a difference in 12.4% of relabellings.After 6 daily looks: the daily check had flagged a difference in 14.1% of relabellings.After 7 daily looks: the daily check had flagged a difference in 15.2% of relabellings.After 8 daily looks: the daily check had flagged a difference in 16.4% of relabellings.After 9 daily looks: the daily check had flagged a difference in 17.2% of relabellings.After 10 daily looks: the daily check had flagged a difference in 18.0% of relabellings.After 11 daily looks: the daily check had flagged a difference in 18.8% of relabellings.After 12 daily looks: the daily check had flagged a difference in 19.7% of relabellings.After 13 daily looks: the daily check had flagged a difference in 20.1% of relabellings.After 14 daily looks: the daily check had flagged a difference in 20.5% of relabellings.After 1 daily look: the sequential rule had flagged a difference in 0.25% of relabellings.After 2 daily looks: the sequential rule had flagged a difference in 0.25% of relabellings.After 3 daily looks: the sequential rule had flagged a difference in 0.35% of relabellings.After 4 daily looks: the sequential rule had flagged a difference in 0.35% of relabellings.After 5 daily looks: the sequential rule had flagged a difference in 0.35% of relabellings.After 6 daily looks: the sequential rule had flagged a difference in 0.40% of relabellings.After 7 daily looks: the sequential rule had flagged a difference in 0.40% of relabellings.After 8 daily looks: the sequential rule had flagged a difference in 0.45% of relabellings.After 9 daily looks: the sequential rule had flagged a difference in 0.50% of relabellings.After 10 daily looks: the sequential rule had flagged a difference in 0.55% of relabellings.After 11 daily looks: the sequential rule had flagged a difference in 0.55% of relabellings.After 12 daily looks: the sequential rule had flagged a difference in 0.55% of relabellings.After 13 daily looks: the sequential rule had flagged a difference in 0.60% of relabellings.After 14 daily looks: the sequential rule had flagged a difference in 0.60% of relabellings.one look, 5.0%sequential, 0.6%daily, 20.5%
False alarms in 2,000 random relabellings, with 95% intervals
RuleVisitsConversionsStore revenue per customer
Daily check, usual 5% test20.5% (18.8% to 22.4%)22.2% (20.5% to 24.1%)12.0% (10.7% to 13.5%)
One look at the end5.0% (4.1% to 6.0%)4.7% (3.8% to 5.7%)4.5% (3.6% to 5.4%)
Sequential rule0.6% (0.3% to 1.0%)0.5% (0.3% to 1.0%)0.0% (0.0% to 0.2%)
Sequential rule early, one look at the end (read after the results)5.2% (4.4% to 6.3%)4.9% (4.0% to 5.9%)4.5% (3.6% to 5.4%)
The same, end test at 4.5% (added after the results)4.9% (4.0% to 5.9%)4.5% (3.6% to 5.4%)not run

The first look, at 3.2%, is a rare draw: about 3.7 standard errors below 5%. In a check added after the results, ten other seeds put the first look between 4.2% and 5.8%, and the two-week total between 20.9% and 22.4%.

The store column repeats the replay on a UK online store's 1,310 customers over 28 real days, with daily looks from the end of the first week. Revenue per customer is skewed, and the daily check still flagged 12.0% of runs.

The sequential rule's guarantee assumes the variance and the expected effect size are known. Here both are estimated from the data at each look, an approximation, so its false alarms are measured rather than assumed: 0.6% on visits and 0.55% on conversions, and under 5% in a unit test on simulated yes-or-no streams with the same settings. That supports the rule on these metrics; it does not prove it on others, such as skewed revenue or effects that change over a test, so a team should repeat the replay on its own metrics before adopting it. Versions with a proven guarantee for estimated variances also exist.

The combination in the last two rows is the candidate I would validate on a team's own traffic before running it. Its two parts each spend up to 5%, so it carries no single 5% guarantee: on visits it flagged 5.2% (4.4% to 6.3%). With the end test at 4.5%, a change added after the results, it flagged 4.9% on visits and 4.5% on conversions. Both are below 5% as observed, but their intervals cross it (up to 5.9% and 5.4%), and they reuse the same draws, so this is a calibration, not proof of a 5% guarantee. The daily check is about four times worse. The arrival order is simulated, since the data carry no dates: one order, cut into equal days.

What did not go as expected

What is blocked

A replay of real experiments, read day by day with their real user-level arms, would settle how often early calls hold when effects change over a test; a relabelling replay of the same logs would count false alarms on real traffic. Both need user-level logs, which these records do not publish. The arrival order in the replay here is simulated for the same reason.