Sub topic 13
Turning results into a ship, iterate or stop decision
This chapter assumes you can read a point estimate and a 95% confidence interval, and that you have a brief with a primary metric, guardrail metrics, a minimum detectable effect (MDE) and a decision rule. The sample ratio mismatch (SRM) check from the data quality chapter must already have passed. If it has not, you do not have a decision to make yet. You have a bug to fix.
Why the decision is a separate step
Analysis produces numbers. A decision combines those numbers with costs, risks and strategy. If the team has not agreed how to combine them before launch, the results get read through whatever outcome people hoped for. A flat result becomes "directionally positive". A regression in one guardrail becomes "probably noise".
The fix is to write the decision rule in the brief before the experiment starts. Then the result is compared against that rule. It is not argued about from scratch.
The three outcomes
Every experiment ends in one of three decisions.
| Decision | Meaning | Typical trigger |
|---|---|---|
| Ship | Roll the treatment out to everyone | The interval for the primary metric clears the bar, and no guardrail regressed |
| Iterate | Change the idea or the test and run again | The result is inconclusive, or it is promising but flawed |
| Stop | Abandon the idea and record why | The effect is harmful or too small to matter, or a guardrail broke |
"Extend the test" is not a fourth outcome. Extending is only valid if the brief planned for it, for example with a sequential method. Otherwise it is peeking in disguise.
Reading the interval against the decision rule
Suppose the brief is the checkout autofill experiment from earlier chapters. The baseline is 10% and the MDE is one absolute percentage point. The rule is "ship if the confidence interval is above zero and no guardrail shows a meaningful regression".
The results come in: 1,480 completions out of 15,000 users in control, and 1,625 out of 15,000 in treatment.
import math
from statistics import NormalDist
def diff_in_proportions(x_c, n_c, x_t, n_t, alpha=0.05):
p_c, p_t = x_c / n_c, x_t / n_t
diff = p_t - p_c
se = math.sqrt(p_c * (1 - p_c) / n_c + p_t * (1 - p_t) / n_t)
z = NormalDist().inv_cdf(1 - alpha / 2)
return diff, (diff - z * se, diff + z * se)
diff, (low, high) = diff_in_proportions(1480, 15000, 1625, 15000)
print(f"lift={diff:.4f}, 95% CI=({low:.4f}, {high:.4f})")This prints lift=0.0097, 95% CI=(0.0028, 0.0166). The point estimate is about 0.97 points. The interval is entirely above zero, so the rule's first condition holds. The interval also runs from 0.28 to 1.66 points, so the true effect could be much smaller than the MDE or much larger. The test supports "this helps". It does not support "this adds exactly one point".
Statistical versus practical significance
An interval above zero tells you the effect is probably real. It does not tell you the effect is worth shipping. Compare the interval with the smallest effect that would justify the cost of the change. The MDE in the brief is usually that threshold.
The position of the interval relative to zero and the MDE gives the following cases.
| Interval position | Reading | Usual decision |
|---|---|---|
| Entirely above the MDE | Real and meaningful | Ship |
| Above zero, straddling the MDE | Real, but size is uncertain | Ship if cheap to maintain, otherwise discuss |
| Above zero, entirely below the MDE | Real but too small to matter | Usually stop, or ship only if the cost is near zero |
| Straddles zero, upper bound below the MDE | No effect as large as you cared about | Stop |
| Straddles zero, upper bound above the MDE | Inconclusive | Iterate: more traffic or a bigger change |
| Entirely below zero | Harmful | Stop |
The checkout example sits in the second row. The lower end, 0.28 points, is real but small. The upper end, 1.66 points, is better than the MDE. A reasonable team ships because autofill is cheap to maintain. A team deciding whether to build a costly address-verification service on top of it would want a tighter interval first.
Guardrails need a rule too
A guardrail is not a second primary metric. You are not looking for it to win. You are looking for evidence that it did not get meaningfully worse. "No significant difference" is weak evidence, because an underpowered guardrail will almost always show no significant difference.
Write a tolerance in the brief. For example: "payment error rate may not rise by more than 0.2 points" or "p95 page load may not rise by more than 100 ms". Then check that the upper end of the guardrail's interval is inside the tolerance. This is a non-inferiority check. A guardrail whose interval is too wide to rule out harm counts as unresolved, and the decision should say so.
A small decision function
You can encode the rule so that the decision is mechanical and reviewable. This function is complete and runs as shown.
def decide(low, high, mde, guardrail_ok):
"""Return (decision, reason) from a primary-metric interval and a guardrail verdict."""
if not guardrail_ok:
return "stop or iterate", "a guardrail regressed or could not be cleared"
if high < 0:
return "stop", "treatment is harmful"
if low > 0:
if high < mde:
return "stop", "effect is real but smaller than the MDE"
return "ship", "interval above zero and guardrails clear"
if high < mde:
return "stop", "no effect as large as the MDE is plausible"
return "iterate", "inconclusive: interval includes zero and the MDE"
print(decide(0.0028, 0.0166, 0.01, True))
print(decide(-0.004, 0.006, 0.01, True))
print(decide(-0.004, 0.015, 0.01, True))The output is ('ship', ...), ('stop', ...) and ('iterate', ...) in that order. Some teams will want "real but small" to ship when the change is free. That is a judgment call, and the point of the function is to make it an explicit one. Change the rule in the brief, not in the meeting.
The flow from result to decision
Edge cases that change the decision
- Segments. If the overall result is flat but one segment looks strong, treat that as a hypothesis for the next experiment. You looked at many segments, so some will look good by chance. Ship on a segment only if it was pre-specified in the brief.
- Several primary metrics. If you test five metrics at 5% each, the chance that at least one looks significant by luck is about 23%. Use one primary metric. If you need several, correct for multiple comparisons and say so in the brief.
- Winner's curse. Among experiments that clear the bar, the measured lift tends to overstate the true lift. Plan forecasts from the lower end of the interval, not the point estimate.
- Novelty and learning effects. A lift that is shrinking week by week may fade. Check the daily trend of the difference. If it is decaying, consider a longer run or a holdback group after launch.
- Strategic overrides. Sometimes you ship a neutral result for legal, brand or consistency reasons. That is a legitimate decision, but label it as a decision made despite the data, and check that guardrails are clear.
- Costs the metric does not see. Complexity, support load and maintenance are real costs. A small win on a feature that doubles the code paths may not be worth it.
Making iterate and stop useful
A stop is only valuable if the team learns from it. When you stop, write down what you believed, what the interval showed, and which part of the hypothesis is now in doubt. Was the mechanism wrong (fewer fields did not reduce friction), or was the implementation weak (autofill was slow)? The two lead to different next steps.
For iterate, name what will change: a bigger treatment, a different eligible population, a longer run with a new sample size calculation. Do not simply rerun the same test hoping for a different answer. A rerun is a second draw, and picking the better of two draws inflates false positives.
After a ship, roll out in stages and keep monitoring guardrails. Some teams keep a small holdback group for a few weeks to confirm the lift persists.
Exercise
A test of a new onboarding checklist has a primary metric of day-7 activation, with a baseline of 30% and an MDE of 2 points. The result is a lift of 0.5 points with a 95% CI of (-1.0, 2.0). The brief's rule was "ship if the interval is above zero and guardrails are clear". Guardrails are clear. What is the decision, and what would you do next?
Show answer
The interval includes zero, so the rule is not met and you do not ship. The upper bound, 2.0, equals the MDE, so a meaningful effect cannot be ruled out. The result is inconclusive, so the decision is iterate. A good next step is to make the treatment stronger or to run a larger test sized for the effect you now believe is plausible. Do not extend the same test unless the brief planned for it.
Exercise
A guardrail, payment error rate, shows a difference of +0.1 points with a 95% CI of (-0.4, 0.6). The brief's tolerance is 0.2 points. The primary metric is a clear win. Should you ship?
Show answer
Not yet. The upper end of the interval, 0.6 points, exceeds the 0.2-point tolerance, so the data cannot rule out harm beyond what the team agreed to accept. The guardrail is unresolved, not clear. Either gather more data on that guardrail, investigate the cause, or get an explicit sign-off from the owner of payments that accepts the risk.