AWS Builder Center

Stop Declaring a Growth Win From a Before/After Comparison: Run It Through a Controlled Experiment

A metric that moved after you shipped a change is not evidence the change caused it, because everything else in the system moved at the same time. This article argues that a growth change is a hypothesis tested by a controlled experiment, and a result without a pre-registered success criterion, a power calculation, and explicit checks for sample-ratio mismatch and peeking should not be used to make a ship decision.

Series: community (6 articles)

  1. …
  2. 3
    Stop Declaring a Growth Win From a Before/After Comparison: Run It Through a Controlled Experiment This article

  1. Why the before/after story fails
The appeal of comparing the week before a launch to the week after is obvious: it needs no extra infrastructure and gives an answer immediately. It cannot, however, separate the treatment from seasonality, a concurrent campaign, a price change elsewhere, press coverage, or the underlying drift in the user base. Random assignment is what neutralizes those confounders by distributing them across variants, which is the reason teams that scale data-driven decisions lean on controlled experiments rather than time-series comparisons. The standard reference, Kohavi, Tang, and Xu's book, is built on experience at companies that each run more than 20,000 controlled experiments per year, and its central claim is that the experiment's causal interpretation survives only if the machinery around it is trustworthy [1].
  1. Define the answer before you look
The first failure is not statistical, it is organizational. An Overall Evaluation Criterion is the quantitative measure of the experiment's objective, and Kohavi's earlier treatment treats agreeing on one up front as a precondition for running the experiment at all [2]. Without it, a team that tests many metrics can always find one that moved favorably, which is metric shopping rather than inference. The hard part is real: a useful OEC has to be measurable over a short experiment window while still predicting the long-term outcome you actually care about, and a Netflix engineering paper documents how much iteration it takes to find short-term metrics that genuinely predict long-term goals [5].
That paper is worth pausing on because it undercuts a common shortcut. There is no single dashboard number that is automatically the right objective; the OEC is maintained as a composite, re-validated as the product changes, and chosen so it is hard to game and carries an economic or customer interpretation [5]. Pre-registering it means the decision rule, the population, the denominator, and the horizon are fixed before any result is read.
  1. Size the test, or the significance will lie to you
A test that cannot detect the effect it is looking for does not merely come back null. In an underpowered experiment, the few results that do clear the significance threshold tend to exaggerate the true effect, a point sometimes called the winner's curse. Industry practitioners give a concrete illustration: a test run with roughly 7% power instead of the conventional 80% produced significant results that overstated the effect by an expected factor of five and had about a 10% chance of pointing in the wrong direction entirely [6]. Those figures come from a vendor's worked example rather than a scientific constant, so treat the numbers as illustrative, but the underlying mechanism is standard and not in dispute. The minimum detectable effect is a design choice — the smallest lift that would change a decision — and the required sample size follows from it together with the baseline rate, significance threshold, and target power [1][6].
  1. Two failures that no reported p-value will reveal
Sample-ratio mismatch. A 50/50 experiment that returns meaningfully different group sizes is a stop sign, not a rounding detail. SRM is detected with a chi-square test against the intended split, and Microsoft's experimentation team treats it as evidence that the randomization or the measurement pipeline is broken; common causes include bot-filtering logic that drops real users, asymmetric eligibility, or lost events. Decisions built on an SRM-affected test can fabricate uplifts or hide regressions, so the split is checked before a single metric is read [3].
Peeking. Repeatedly checking the result and stopping the moment it looks significant performs an implicit test on every look, which substantially inflates the false-positive probability above the nominal 5% even though the final p-value, reported on its own, looks clean. The formal answer, deployed in a production platform and described in a peer-reviewed KDD paper, is an always-valid p-value and confidence sequence that remain valid under continuous monitoring; the practical alternatives are fixing the sample size in advance and waiting for it, or using a sequential method rather than naive repeated inspection [4].
The gate sequence below puts these checks in the order a trustworthy experiment actually runs.
![Five gates for a trustworthy experiment: pre-register OEC, power analysis, A/A and SRM check, run to planned sample, then guardrails.]( https://aka.doubaocdn.com/s/ysFQ30nfAX )
Figure by the author (illustrative).
  1. A pre-launch checklist rather than a verdict after the fact
Gate
What must be true before moving on
Failure signal
Hypothesis and OEC
Decision metric, population, denominator, and horizon pre-registered
Metric chosen or changed after seeing results
Power and MDE
Sample size computed for the smallest lift that matters
Test launched with no power calculation
A/A and SRM
Chi-square check on the split; A/A shows no spurious delta
Group ratios differ from the intended split
Execution
Runs to planned size, or uses a valid sequential method
Stopped early on a favorable peek
Guardrails
Segments, novelty effects, and secondary metrics reviewed
Surprising result with no mechanism (Twyman's law)
The last row is deliberately skeptical. A result that looks too surprising to be real usually has a data problem behind it, and segment cuts plus guardrail metrics are how a spurious aggregate gets caught before it ships.
  1. The honest limits, including when an experiment is not possible
None of this makes controlled experiments a universal tool. Network effects and two-sided marketplaces violate the assumption that variants are independent, so a treatment can change outcomes for the control group. Low-traffic products cannot reach an adequate sample in a reasonable window, and short experiments miss novelty effects and long-term consequences that a durable OEC is meant to stand in for. The book is explicit that some questions — rare events, large infrastructure shifts, changes with spillover — are poorly served by a standard A/B test [1]. Where a randomized test is genuinely infeasible, the defensible move is to be honest about the weaker causal claim: use quasi-experimental methods, hold out a comparison group where possible, aggregate a longer baseline, and test only for large effects rather than dressing a before/after delta up as a causal result.
The peer-reviewed pieces here mostly describe platform experience at large consumer companies, so the thresholds and worked examples transfer as methodology, not as numbers that will hold for every product. A team should still measure whether its own variance and baseline rates support the sample size the math demands.


Next steps: write the OEC and the minimum detectable effect down before the next growth launch, and compute the sample size instead of launching and hoping. Add an automated SRM check to the analysis path, and either fix the end date or move to a sequential statistic so peeking cannot inflate the result. If a gate cannot be cleared, report the change as an observation, not a win.

References

  1. R. Kohavi, D. Tang, and Y. Xu, Trustworthy Online Controlled Experiments: A Practical Guide to A/B Testing, Cambridge University Press (2020), doi:10.1017/9781108653985 —  https://experimentguide.com/ 
  1. R. Kohavi, T. Crook, R. Longbotham, B. Frasca, R. Henne, J. L. Ferres, and T. Melamed, "Practical Guide to Controlled Experiments on the Web: Listen to Your Customers not to the HiPPO," KDD 2013 —  https://www.exp-platform.com/Documents/controlledExperimentsHippoEbay.pdf 
  1. Microsoft Research, "Diagnosing Sample Ratio Mismatch in A/B Testing" —  https://www.microsoft.com/en-us/research/articles/diagnosing-sample-ratio-mismatch-in-a-b-testing/ 
  1. R. Johari, P. Koomen, L. Pekelis, and D. Walsh, "Peeking at A/B Tests: Why It Matters, and What to Do About It," KDD 2017, doi:10.1145/3097983.3097992 —  https://dl.acm.org/doi/10.1145/3097983.3097992 
  1. "The Lifecycle of Developing Overall Evaluation Criterion in A/B Testing for Netflix Messaging," ACM —  https://dl.acm.org/doi/fullHtml/10.1145/3530019.3534980 
  1. GrowthBook, "Making A/B Tests You Can Actually Trust" (vendor-perspective worked examples on power and MDE) —  https://www.growthbook.io/blog/lessons-learned-from-ronny-kohavi-and-luke-sonnet-running-trustworthy-experiments 

Series: community (6 articles)

  1. …
  2. 3
    Stop Declaring a Growth Win From a Before/After Comparison: Run It Through a Controlled Experiment This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article