Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Public data

Experiment design: which choices change the call

Counting orders as independent added 17 false alarms per 100 random splits of one store over four weeks.

Over twelve weeks it added 34. Data, method, the predictions and how they came out, the changes made after the results, the checks, a glossary and the downloads.

Data and licences

Four public datasets
DatasetRowsLicenceUsed for
Criteo uplift, version 2.1 (Criteo AI Lab)13,979,592CC BY-NC-SA 4.0, non-commercial: fine for this page, not for a productadjustment, segments, the relabelling replay
ASOS Digital Experiments (Liu and others, ASOS and Imperial College)24,153CC BY 4.0daily checks against the sequential rule
Online Retail II (UCI repository)1,067,371CC BY 4.0per-order metrics, store replay
MineThatData e-mail test (Kevin Hillstrom)64,000shared publicly for analysis, credited, not copied hereclassic adjustment, the readout

The data files are not copied here; the README gives the sources and checksums. Large files were read in chunks of a million rows with DuckDB, never whole.

What each part does

How much each choice moves, per 100 decisions: checking daily at the usual bar left 30.7 calls per 100 real readings that the last-snapshot test did not confirm, 23.6 more than the sequential rule (compared like for like, added after the results); counting orders as independent added 16.8 false alarms per 100 no-effect splits at four weeks and 34 at twelve; uncorrected segments, 0.1. On the no-effect replay, daily checks at the usual bar raised about 20 more false alarms per 100 splits than the sequential rule (20.5% against 0.6%).

Predictions written down before the first run

9 of 13 came out as expected, 2 the opposite, and 2 in between. One outcome moved with the daily-look change below: the sequential rule's share of last-snapshot results reached was 47%, in between, and is now 61%, as expected.

Each prediction, its result and the outcome
What was predictedResultOutcome
Criteo visits: noise removed by straight-line adjustment, expected 10% to 40%25.8%As expected
Criteo visits: binned prediction removes at least 3 points more noise than the straight line−4.0 pointsThe opposite
E-mail test spend: noise removed by prior spend alone, expected under 5%0.04%As expected
Daily check: share of its calls that do not hold, expected 25% to 50%53.4%Neither
Sequential rule: share of its calls that do not hold, expected 10% or less29.7%Neither
Sequential rule: share of last-snapshot results it reaches, expected 50% to 85%61.0%As expected
Replay: daily check's false alarms over 14 looks, expected 15% to 25%20.5%As expected
Replay: sequential rule's false alarms, expected 5% or less0.60%As expected
Store: false alarms counting orders as independent, expected 10% to 30%21.7%As expected
Store: false alarms with the customer as the unit, expected 3% to 7%5.0%As expected
Segments found at 5% that hold elsewhere, expected 50% or less99.8%The opposite
Segments found after the Holm correction that hold elsewhere, expected 80% or more100.0%As expected
Split check: Criteo and the e-mail test pass, at least one ASOS arm flagged12As expected

Changes made after the first results

Checks

Glossary

Usual test
The standard 5% significance test (here Welch's), built for one look at the planned end.
Significant at 5%
If there were no real effect, a difference at least this large would turn up in under 5% of tests.
Sequential rule
A test designed to be checked as often as you like while keeping its false alarms at 5% or less; here an approximation, with its false alarms measured.
Relabelling replay
Real users with the arms thrown away and redrawn at random; any difference found is a false alarm. Also called an A/A test.
Delta method
The interval for a ratio such as revenue per order, computed with the customer as the unit.
CUPED
Adjusting a test's metric for data from before the test, to cut its noise.
Holm correction
A stricter bar when many segments are tested, so chance finds are rarer.
Guardrail
A metric that must not get worse for a change to ship.
Did not hold
An early call that the same test at the last recorded snapshot did not confirm: no longer significant at 5%, or significant the other way.

Reproduce and download

The code, the results and the predictions are in this folder: README, predictions, results summary, money assumptions. Every random draw is seeded. Python 3.12 with DuckDB, NumPy and SciPy.