Sub topic 12
Reading Results: Estimates, Intervals and P-Values
Assume you already understand hypotheses, primary and guardrail metrics, randomization, sample size, and the experiment brief. This chapter shows how to turn observed data into a decision without overstating what the data proves.
Start with the point estimate
A point estimate is the effect measured in the experiment. For a conversion metric, subtract the control rate from the treatment rate:
\[ \text{absolute lift} = \text{treatment rate} - \text{control rate} \]
Suppose 1,480 of 15,000 control users purchase, while 1,625 of 15,000 treatment users purchase:
- Control rate: 9.87%
- Treatment rate: 10.83%
- Absolute lift: 0.97 percentage points
- Relative lift: about 9.8%
The absolute lift is usually the clearest number for a decision. Relative lift can sound larger, so report both when useful.
Add a confidence interval
A confidence interval is a range of effects that remains plausible given the sample and the chosen confidence level. A 95% confidence interval is designed so that, across many repeated experiments using the same method, about 95% of the intervals would contain the true effect.
It does not mean there is a 95% probability that this particular interval contains the true effect.
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 produces an estimated lift of about 0.97 percentage points, with a 95% interval from about 0.28 to 1.66 percentage points. Because the entire interval is above zero, the data supports a positive effect under this analysis.
Understand the p-value
A p-value is the probability of observing an effect at least this extreme if the null hypothesis were true. The null hypothesis usually says that treatment and control have the same metric value.
A small p-value indicates that the observed result would be unusual under no effect. It does not tell you:
- The probability that the hypothesis is true.
- The size or business value of the effect.
- Whether the experiment was implemented correctly.
- Whether the result will persist after launch.
Use the p-value together with the effect size, confidence interval, sample quality, and guardrail metrics.
| Result pattern | Interpretation |
|---|---|
| Interval crosses zero | The direction is uncertain at this confidence level |
| Interval stays above zero | A positive effect is supported |
| Interval stays below zero | A negative effect is supported |
| Narrow interval near zero | Little practical effect is likely |
Apply the pre-agreed decision rule
Do not create a new rule after seeing the result. For example:
- Check that assignment and event data passed quality checks.
- Read the primary metric's estimate and confidence interval.
- Check every guardrail for meaningful regressions.
- Apply the experiment brief's rule: ship, iterate, or stop.
- Record the result, uncertainty, and follow-up action.
Exercise
The treatment lift is 0.8 percentage points, with a 95% confidence interval from -0.1 to 1.7 points. The primary metric was the only metric in the brief. Should the team automatically ship?
Show answer
No. The interval crosses zero, so the direction is uncertain at the chosen confidence level. Apply the pre-agreed rule and decide whether to stop, iterate, or collect more evidence.