Problem
In a business, the goal of experiments is the largest improvement of the product, not the truth of each single result. A strict p-value threshold keeps false positives low but throws away variants with a small true gain. Powering every test enough to avoid this means long tests that slow releases. The true lift of a front-end change is hard to guess in advance, so the sample size cannot be planned reliably.
Example from the article: Agoda keeps its threshold at about 0.3–0.45, deliberately below what the calculation over past experiments would allow, to protect experiment quality.
Solution in brief
Define the goal as STAL (Sum Taken Actual Lift): the sum of the true lifts of all experiments you ship. Estimate the distribution of true lifts from the observed z-scores of past experiments, compute STAL for each candidate threshold, and take the threshold with the maximum. If most experiments have a positive true lift, the optimum lies above 0.5.
Questions this case answers
- How to choose a decision threshold for shipping experiments so that the sum of true effects of shipped changes is maximal, when making each test powerful enough is too slow
- How to estimate the distribution of true effects across a portfolio of past experiments from noisy observed results
- How to choose a p-value threshold for shipping decisions that maximizes the total improvement of the product?
- How to estimate the distribution of true effects from the results of past A/B tests?
Tools and methods
- Welch's t-test — turns each experiment's metric difference into a z-score
- Normal deconvolution — recovers the distribution of true lifts from the distribution of observed lifts
- Numerical integration (SciPy) — computes STAL for each candidate threshold
- Threshold selection — scans candidate p-value cut-offs for the maximum
Google or a one-time email code. No password.