Experiments & A/B Testing (step by step)
P1.stats-literacy.02 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Correlation, Causation & Confounding
Where next?
Later in Data & Statistics Literacy
P1.stats-literacy.02 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Correlation, Causation & Confounding
Later in Data & Statistics Literacy
The last module ended on a promise: when you need to know whether a change truly caused a result, run a fair comparison. But a comparison is only fair if it is set up with care — let people choose their own group, peek at results early, or shift the goalposts afterwards, and the experiment will cheerfully confirm whatever you hoped. Here we look at what makes a split genuinely fair, at the quiet ways experiments mislead, and at how much evidence to insist on when the decision carries real risk — still one idea per step, each grounded in a worked example, and nothing that needs a calculator.
One mental model. An experiment earns trust when the only planned difference between two groups is the change you're testing. Split people randomly, decide the rules up front, and wait — then a difference in the outcome can be blamed on the change and nothing else.
Why it matters to you. A trainer of interpreters who wants to know whether a new glossary layout helps in the booth is running an experiment, whether or not they call it one.
Worked example. 30 trainee interpreters, two glossary layouts. If the 15 who volunteer for the new layout are the keenest, the new layout will look better whatever it is worth: keenness, not layout, made the difference. Toss a coin for each trainee instead. The keen and the less keen then fall on both sides in roughly equal numbers, and a gap in the booth scores can be blamed on the layout.
An A/B test splits users randomly into a control group (the current experience) and a variant (the change you want to try). Randomization balances all the other factors — known and unknown — across the two groups, so any later difference can be attributed to the change itself.
Worked example — self-selected beta vs a random split
You want to know if a new editor speeds people up. Two ways to run it — only one is trustworthy:
| Approach | Who's in the variant | If the variant looks faster… |
|---|---|---|
| Opt-in beta (users choose) | keen power users who volunteered | maybe the tool — or maybe just keener users |
| Random assignment | a fair cross-section, by chance | it's the tool; groups started comparable |
The opt-in group is faster before you change a thing, because motivated users self-selected in — that's a correlation, not proof. The random split makes the groups a fair like-for-like comparison, which is what turns 'these moved together' into 'this change caused that'.
In plain language: why splitting users randomly is what makes a result trustworthy, the common ways experiments quietly mislead you, and how to ask for more evidence when the decision is riskier. No maths required.
One mental model. An experiment earns trust when the only planned difference between two groups is the change you're testing. Split people randomly, decide the rules up front, and wait — then a difference in the outcome can be blamed on the change and nothing else.
An A/B test splits users randomly into a control group (the current experience) and a variant (the change you want to try). Everyone is assigned by chance, not by choice.
Why the random split is the whole point: randomization balances all the other factors — known and unknown — across the two groups. Roughly the same mix of new and loyal users, devices, regions, and moods lands on each side.
Without the random split you only have a correlation; with it, you have evidence of cause.
Even a well-built test can mislead you. The usual traps:
The fix is discipline: fix the sample size and duration up front, pre-declare the metric you'll judge on, then wait for the test to finish before you look and decide.
Not every decision deserves the same burden of proof. Calibrate how much rigour you demand to the consequences of being wrong.
Ask for strength of evidence proportional to the decision's cost of error.
The senior instinct is not 'always demand maximum proof' nor 'ship on a hunch' — it's matching the evidence standard to the stakes, so effort goes where being wrong hurts most.
Plain-language explainers on experiments and trustworthy decisions.
| Type | Resource |
|---|---|
| Book | Trustworthy Online Controlled Experiments — Kohavi, Tang & Xu (2020) |
| Idea | Correlation is not causation — why the random split is what buys you cause |
| In-app | Metrics & evaluation, for choosing the metric before you run the test |
| In-app | Reading Numbers, for signal vs noise when you read a test's result |
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Loading your notes...