Sub topic 12
Reading results: estimates, intervals and p-values
This chapter assumes you have read the earlier chapters on hypotheses, metrics and the experiment brief. You should be comfortable with proportions and percentages. Python is optional. The snippets are short, and you can follow the ideas without running them.
What a result is made of
After an experiment finishes, the data team gives you numbers. Three of them carry most of the meaning:
- Point estimate. The single best guess of the effect, such as "treatment converted 0.97 percentage points higher than control".
- Confidence interval. A range of effect sizes that fits the data. It shows how precise the estimate is.
- p-value. A measure of how surprising the data would be if the true effect were exactly zero.
The interval is usually the most useful of the three for a product decision, because it shows both the size and the uncertainty of the effect. A p-value alone only says whether zero is a plausible effect.
Read results in a fixed order. Check data health first, then the estimate, then the interval, then the p-value, then the pre-agreed decision rule.
A worked example
The checkout autofill experiment from the brief planned 14,750 users per variant. Suppose it ran to roughly that size. Each arm had 15,000 users. Control had 1,480 completed purchases and treatment had 1,625.
The code below computes the difference in conversion rates and a 95% confidence interval.
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), se
diff, (low, high), se = diff_in_proportions(1480, 15000, 1625, 15000)
print(f"lift={diff:.4f}, 95% CI=({low:.4f}, {high:.4f})")It prints a lift of about 0.0097 with an interval from about 0.0028 to 0.0166. In plain terms:
- Control converted at 9.87% and treatment at 10.83%.
- The best estimate of the effect is +0.97 percentage points.
- Effects from +0.28 to +1.66 points are all compatible with the data.
The interval is above zero, so the first half of the brief's decision rule is met. Whether to ship still depends on the guardrails.
Absolute versus relative lift
The lift above is absolute, measured in percentage points. The relative lift is the absolute lift divided by the control rate: 0.0097 / 0.0987 is about 9.8%. Both describe the same result. State which one you mean, because "a 1% lift" can mean a 1-point change or a 1% relative change, and those differ by a factor of ten when the baseline is 10%.
The brief set its minimum detectable effect in absolute terms (0.01), so compare the result in absolute terms too.
What a confidence interval means
A 95% confidence interval comes from a procedure that, if you repeated the experiment many times, would capture the true effect in about 95% of those repetitions. It does not mean there is a 95% probability that the true effect lies in this particular interval. That wording is common and technically wrong, though for planning purposes most people use the interval as "the plausible range".
Three practical habits make intervals useful:
- Look at both ends. The low end is a conservative case and the high end an optimistic one. Ask whether you would still ship at the low end.
- Compare the interval with the minimum detectable effect. The brief says an effect of 1 point is the smallest worth detecting. Here the point estimate is just below it, and the interval extends well below it.
- Check whether it includes zero. If it does, the data are compatible with no effect.
An interval that includes zero is not proof of no effect. A wide interval means the experiment could not tell the difference between "no effect" and "a useful effect". That is a power problem, not a finding.
What a p-value means
The p-value answers one question: if the true effect were exactly zero, how often would random variation alone produce a difference at least this large? A small value means the data are hard to explain by chance alone.
import math
from statistics import NormalDist
def two_sided_p_value(diff, se):
z = diff / se
return 2 * (1 - NormalDist().cdf(abs(z)))
# Using the values from the checkout example
p_c, p_t = 1480 / 15000, 1625 / 15000
se = math.sqrt(p_c * (1 - p_c) / 15000 + p_t * (1 - p_t) / 15000)
print(round(two_sided_p_value(p_t - p_c, se), 4))This gives a p-value of about 0.006. With the brief's alpha of 0.05, that is below the threshold, which matches the interval excluding zero. For a given alpha, a two-sided test and the matching confidence interval always agree on this point.
What a p-value does not tell you
- It is not the probability that the treatment does nothing.
- It is not the probability that the result will replicate.
- It says nothing about how large or valuable the effect is.
- A p-value of 0.04 and one of 0.06 are not meaningfully different. Treating 0.05 as a cliff invites bad decisions.
Statistical significance versus practical significance
With enough users, a tiny effect becomes statistically significant. A change that lifts conversion by 0.02 points may have a p-value of 0.001 on a huge sample and still not justify the maintenance cost.
The reverse also happens. A promising lift can be non-significant because the sample was too small. Judge the result against the size the business cares about, which is why the brief names a minimum detectable effect before launch.
| Interval position | Reading | Typical action |
|---|---|---|
| Entirely above the minimum worthwhile effect | Clear, useful win | Ship, subject to guardrails |
| Above zero but extends below the minimum worthwhile effect | Real effect, uncertain size | Ship if cheap and safe, or extend |
| Includes zero and is narrow | Effect is small or absent | Stop or iterate |
| Includes zero and is wide | Inconclusive | Do not conclude "no effect"; consider more data |
| Entirely below zero | Harm | Stop |
Reading guardrails and secondary metrics
The brief's decision rule also requires that no guardrail shows a meaningful regression. Apply the same reading to each guardrail: estimate, interval, and the size of regression you called unacceptable.
For payment_error_rate, an interval from -0.1 to +0.4 percentage points includes a harm you may consider unacceptable, even though zero is inside it. The absence of significance is not the same as safety. Define a tolerance in advance, such as "no more than a 0.2 point increase", and check whether the interval's upper end stays within it.
Each extra metric you examine adds a chance of a false alarm. At alpha 0.05, looking at 20 unrelated metrics gives about a 64% chance that at least one looks significant by luck (1 - 0.95^20). Treat the primary metric as the one that decides the result. Treat secondary metrics as context that suggests follow-up work. The pitfalls chapter covers corrections for multiple comparisons.
Segment results
Stakeholders often ask, "Did it work for mobile users?" Slicing by segment is fair for generating hypotheses, but each slice has less data and a wider interval. If you cut results ten ways, some slice will show a striking effect by chance. Pre-register any segment you care about in the brief, and treat unplanned ones as leads for a new experiment.
Common misreadings
- "Not significant, so it failed." The experiment may have been underpowered. Check the interval width against your minimum detectable effect.
- "Significant, so it's big." Significance reflects sample size as well as effect size.
- "The point estimate is the truth." It is the center of a range. Report the range.
- "We hit 95%, so we're 95% sure it works." This confuses the confidence level with the probability of the hypothesis.
- Comparing the two arms' intervals. Overlapping intervals for control and treatment do not mean the difference is non-significant. Use the interval for the difference.
A short reading checklist
- Did the sample ratio mismatch check pass?
- Was the planned sample reached, or was the test stopped early?
- What is the point estimate in absolute and relative terms?
- Does the confidence interval exclude zero, and how does it compare with the minimum worthwhile effect?
- Does each guardrail's interval stay within its tolerance?
- Does the result meet the decision rule written in the brief?
If the answer to any of these is unclear, ask your data partner before taking the result to a decision meeting.
Exercise
A test of a new onboarding screen reports a lift in activation of +0.4 percentage points, with a 95% CI of (-0.3, +1.1) and a p-value of 0.27. The brief set the minimum worthwhile effect at +1.0 point. A colleague says "the screen has no effect, drop it." Is that conclusion supported? What would you say instead?
Show answer
No. The interval includes zero, so the data are compatible with no effect. It also includes effects up to +1.1, which is above the minimum worthwhile effect, so a useful improvement has not been ruled out. The result is inconclusive, not negative. The experiment was too imprecise to separate the two cases. Options are to extend the test to narrow the interval, if the planned sample was not reached, or to decide the idea is not worth more investment based on cost. Either way, do not report it as "no effect".
Exercise
In the checkout example, the interval for the lift is about (0.0028, 0.0166) and the minimum detectable effect in the brief is 0.01. The point estimate is about 0.0097. Does the result meet the first half of the decision rule ("the confidence interval is above zero")? What extra caution would you add when presenting it?
Show answer
Yes, the interval's lower end is above zero, so that part of the rule is met, and the p-value of about 0.006 agrees. The caution is that the interval extends well below the 1-point effect the test was designed to detect, so the true gain could be only a few tenths of a point. Present the range, check that the guardrails (payment_error_rate and page_load_time_p95) stay within their tolerances before recommending a ship decision, and weigh the lower end of the range against the cost of keeping the feature.