Sub topic 13
Reading effect size, not only the p-value
This chapter assumes you can run the two-proportion z-test from the previous chapters and know what a p-value is. It covers what the test does not tell you: how large the difference is, how precisely you measured it, and whether it matters for the business. A result can be statistically significant and still too small to act on. A result can also be large and still too noisy to trust.
What the p-value answers
A p-value answers one question: if the two variants truly performed the same, how often would random assignment alone produce a gap at least this large? A p-value of 0.016 means about 1.6% of the time.
It does not tell you:
- how big the true difference is,
- whether the difference is worth acting on,
- the probability that variant B is better,
- the probability that the result will repeat.
The p-value depends heavily on sample size. With enough recipients, a trivial difference gives a tiny p-value. With too few, a real and valuable difference gives a large one. So you need a second number that does not shrink or grow with the list size: the effect size.
Three ways to express effect size
Take the result from the earlier z-test example. Variant A had 400 clicks from 20,000 sends (2.00%). Variant B had 470 clicks from 20,000 sends (2.35%).
| Measure | Calculation | Value |
|---|---|---|
| Absolute lift | 2.35% − 2.00% | 0.35 percentage points |
| Relative lift | 0.35 / 2.00 | 17.5% |
| Extra clicks per 10,000 sends | 0.0035 × 10,000 | 35 clicks |
Report the absolute lift in percentage points and say so explicitly. "Click rate rose 0.35 points" and "click rate rose 17.5%" describe the same result, but the second sounds larger. When you compare against other tests, check that both use the same measure.
The third row is the most useful for decisions. It converts the lift into clicks you can multiply by what a click is worth.
Add a confidence interval
A single lift figure is a point estimate. Your sample is one random draw, so the true lift is uncertain. A 95% confidence interval gives a range of lifts that are consistent with the data. If you repeated the experiment many times, about 95% of the intervals built this way would contain the true lift.
For the difference between two proportions, the standard error uses each variant's own rate, not the pooled rate that the z-test uses. The interval is the lift plus or minus 1.96 standard errors.
from math import sqrt
from statistics import NormalDist
def lift_with_interval(success_a, sent_a, success_b, sent_b, confidence=0.95):
p_a = success_a / sent_a
p_b = success_b / sent_b
se = sqrt(p_a * (1 - p_a) / sent_a + p_b * (1 - p_b) / sent_b)
z = NormalDist().inv_cdf(1 - (1 - confidence) / 2)
diff = p_b - p_a
return diff, diff - z * se, diff + z * se, diff / p_a
tests = {
"large test": (400, 20000, 470, 20000),
"small test": (40, 2000, 60, 2000),
}
for name, counts in tests.items():
diff, low, high, relative = lift_with_interval(*counts)
print(f"{name}: lift={diff:.4f} 95% CI=({low:.4f}, {high:.4f}) relative={relative:.1%}")Running it prints:
large test: lift=0.0035 95% CI=(0.0006, 0.0064) relative=17.5%
small test: lift=0.0100 95% CI=(0.0003, 0.0197) relative=50.0%Both tests are significant at the 0.05 level (the first has p ≈ 0.016, the second p ≈ 0.043). They tell very different stories.
- The large test says the true lift is probably between 0.06 and 0.64 points. That is still wide, but you can plan around it.
- The small test shows a 50% relative lift, which looks impressive. Its interval runs from 0.03 to 1.97 points, so the data are consistent with almost no effect and with a very large one.
Always read the interval before the point estimate. A significant result whose interval barely excludes zero says "probably not zero," not "about this big."
Statistical versus practical significance
Suppose you send each variant to 1,000,000 recipients. Variant A gets 20,000 clicks (2.00%) and variant B gets 20,500 (2.05%). The lift is 0.05 points. The z statistic is about 2.51 and p is about 0.012. The result is clearly significant.
Is it worth anything? That depends on what a click is worth and what the change costs. If a click is worth $0.50, the lift is 500 extra clicks per million sends, about $250. If the winning subject line takes no extra effort, that is a free gain. If it requires a new template, review process, or a tone that conflicts with your brand, it may not be.
Decide your minimum worthwhile effect before the test. It is the same number you used as the minimum detectable effect when you calculated the sample size. A result below that threshold, even a significant one, is a result you note and do not act on.
Why the winning estimate tends to be too high
If you run many tests and only act on significant ones, the lifts you act on are biased upward. This is sometimes called the winner's curse. Among many small tests, the ones that cross the significance line are disproportionately those where noise happened to favor the variant. Small samples make this worse, because a significant result there requires a large observed gap.
The small test above shows it. A 50% observed lift from 2,000 recipients per arm is much more likely to be a modest true effect plus lucky noise than a true 50% effect.
Practical consequences:
- Treat the lower end of the interval as the planning number for expected gains.
- Expect follow-up measurements to land below the original estimate. This is not a sign that something broke.
- Be most skeptical of large lifts from small tests, and of lifts that seem too big for a small copy change. Real subject line effects are usually fractions of a percentage point to a few points on click rate.
Reading the result against the metric you chose
The primary metric you picked earlier determines what the effect size means.
- Click rate per delivered email. The lift is in clicks per recipient. This is the safest figure to multiply by click value.
- Click-to-open rate. Both the numerator and the denominator depend on opens, which Mail Privacy Protection inflates. A lift here can reflect a change in who is counted as an opener and not a change in behavior.
- Open rate. An effect on opens can come from a subject line that persuades, from machine opens, or both. Read it as weak evidence and check that clicks moved in the same direction.
If open rate and click rate disagree, trust the click rate. A subject line that raises opens but leaves clicks flat may be attracting curiosity without interest. A common version of this is a misleading subject that wins on opens and loses on unsubscribes.
Check the secondary metrics
Your primary metric picks the winner. Guardrail metrics tell you whether the win cost something else. Look at:
- unsubscribe rate,
- spam complaint rate,
- bounce rate (for send-time tests, to confirm delivery was comparable),
- downstream conversions, if you can attribute them.
These events are rare, so a difference between variants is usually not significant on its own. Do not read "no significant difference" as "no harm." Look at the interval for each guardrail. If the complaint rate for the winner could plausibly be double the loser's, that is a reason to hesitate even though p is above 0.05.
When the result is not significant
A non-significant result means the data are compatible with no difference. It does not prove there is none. The interval shows how much you ruled out.
- If the interval is narrow and sits around zero, for example −0.1 to +0.1 points, you have good evidence the variants are practically equivalent. Pick on cost or preference.
- If the interval is wide, for example −0.4 to +0.8 points, the test was underpowered for the effect you care about. The honest conclusion is "we could not tell."
Both outcomes are worth recording. Neither should be written down as "A and B performed the same" without the interval.
A reporting checklist
For each test, report:
- The hypothesis and the primary metric, as written before launch.
- Sent and success counts for each variant.
- Absolute lift in percentage points, with the relative lift beside it.
- The 95% confidence interval for the absolute lift.
- The p-value, and the significance threshold chosen in advance.
- Guardrail metrics with their intervals.
- The decision and the reason, in terms of the minimum worthwhile effect.
Exercise
A test with 250,000 recipients per variant gives variant B a significant win (p = 0.03). The lift is 0.05 percentage points, and the 95% confidence interval is 0.005 to 0.095 points. Each click is worth $0.50, you send to 500,000 people per campaign, and you send four campaigns a month. Using the point estimate and the lower bound of the interval, what extra monthly value should you expect? What does this tell you about acting on the result?
Show answer
Point estimate: 0.0005 × 500,000 = 250 extra clicks per campaign, or $125 per campaign, so $500 per month. Lower bound: 0.00005 × 500,000 = 25 clicks per campaign, or $12.50 per campaign, so $50 per month. The result is significant, but the value could be anywhere from about $50 to about $950 per month. If the change is free, adopt it. If it has a real cost (extra work, brand risk), the lower bound is the planning number, and it may not justify the cost. The p-value alone would not have shown this.