Campaign Measurement Design: Test and Control, Power and Uplift

Originally published 8 September 2026. Updated 24 November 2026. By StratLytics Editorial Team.

A campaign that is not measured properly teaches you nothing, however well it performs. The design decisions that make a test informative are taken before launch: how customers are assigned, how many are needed, which metric decides success, and how the result will be read. This article covers the arithmetic of sample size, the traps that invalidate tests, and uplift modelling, which uses test data to find the customers a campaign actually changes.

Test and control

Randomly assign eligible customers to a test group (receives the campaign) and a control group (does not). Randomisation makes the groups comparable, in expectation, on everything, measured or not, so the difference in outcomes is attributable to the campaign.

effect = outcome rate (test) - outcome rate (control)

Rules that preserve validity:

  • Randomise at the right unit (customer, household or region) and before any exposure.
  • Fix the primary metric, the observation window and the analysis plan in advance.
  • Analyse by assignment (everyone assigned to test, whether or not they were reached). This is intention-to-treat, and it avoids comparing reached customers with a different, self-selected group.
  • Keep control customers out of overlapping campaigns, or record the overlap.

Diagram: eligible customers are randomly assigned to a test group that receives the campaign or a control group that does not, and outcome rates are compared by assignment.

Figure 1. A randomised test and control design. Illustration.

Power and sample size

A test has power when it is likely to detect an effect that is really there. Four quantities are linked: the baseline rate, the smallest effect you care about (the minimum detectable effect, MDE), the significance level (conventionally 5%, two-sided) and power (conventionally 80%). For two groups of equal size n with baseline rate p1 and test rate p2:

n per group = ( z_a * sqrt(2 * pbar * (1 - pbar))
              + z_b * sqrt(p1*(1-p1) + p2*(1-p2)) )^2 / (p2 - p1)^2

pbar = (p1 + p2) / 2
z_a = 1.960 (5% two-sided),  z_b = 0.842 (80% power)

This is the usual normal approximation for comparing two proportions.

Illustrative example with synthetic data

Suppose a campaign has a baseline response rate of 2.0% and the business cares about a lift to 2.2%, a 0.2 percentage point (10% relative) effect. The formula, with unrounded z values, gives 80,681.4 (rounding z_b to 0.84 gives about 80,590), so 80,682 customers per group, over 161,000 in total.

We checked this by simulation with a fixed random seed: 2,000 simulated tests at each sample size, with the true rates of 2.0% and 2.2%, counting how often a two-sided 5% test declared a difference.

Customers per group Simulated power Power by normal approximation
20,000 28.9% 28.6%
40,000 51.6% 50.5%
80,682 79.4% 80.0%

The simulated power is close to the analytic value at each size and close to 80% at the formula’s sample size (differences of one percentage point or so are simulation noise with 2,000 repeats). With 20,000 per group, the test would detect a 0.2 point lift less than 30% of the time. A “no significant difference” result from that test would say very little.

Turned round, with 20,000 customers per group and a 2% baseline, the smallest effect detectable with 80% power is about 0.41 percentage points, roughly 20% relative. Many real campaigns have smaller effects than that. Honest planning either enlarges the test, lengthens it, uses a more sensitive metric or accepts that the campaign cannot be measured at this size.

Line chart of statistical power against customers per group: about 80% power is reached at 80,682 per group, with the normal-approximation curve and simulated points on it.

Figure 2. Power to detect a lift from 2.0% to 2.2%, by group size. Synthetic data.

Uplift modelling

A response model predicts who will respond. An uplift model predicts who will respond because of the campaign. It estimates the individual treatment effect:

uplift(x) = P(response | treated, x) - P(response | not treated, x)

The simplest approach, the two-model method, fits one response model on treated customers and another on controls, then subtracts. Other methods model the difference directly. All require randomised test and control data, and the estimates are noisy, so they must be validated on held-out test and control customers.

Customers fall into four groups: persuadables (respond only if contacted), sure things (respond regardless), lost causes (never respond) and sleeping dogs (respond less if contacted). Targeting sure things wastes money; contacting sleeping dogs destroys value.

Illustrative example with synthetic data

We simulated 60,000 customers in a 50/50 randomised test with a built-in heterogeneous effect: a positive effect that rises with a latent score, and a small negative effect for the lowest-scoring group. We trained the two-model method on 40,000 and evaluated on the remaining 20,000, sorting the held-out customers by predicted uplift and measuring the real test-versus-control difference in each band.

Band (by predicted uplift) Customers Test rate Control rate Measured uplift
Top 30% 6,000 10.54% 7.36% +3.18 pp
Middle 40% 8,000 5.87% 4.66% +1.20 pp
Bottom 30% 6,000 6.30% 6.47% -0.18 pp

Across all 20,000 held-out customers, the average uplift was 1.36 points. Targeting only the top 70% by predicted uplift gave 2.02 points. The model correctly pushed the group with no benefit to the bottom. The -0.18 point figure is not itself statistically distinguishable from zero with 6,000 customers, and each band’s estimate carries a 95% margin of roughly plus or minus 1 to 1.4 points, so the honest reading is “no evidence of benefit”, not “contact harms”. The useful result is the ordering: the top band is clearly separated from the bottom, while the middle and bottom bands are not clearly distinguishable at this size.

Bar chart of measured uplift by predicted-uplift band: +3.18 points in the top 30%, +1.20 in the middle 40% and -0.18 in the bottom 30%, against an average of 1.36.

Figure 3. Measured uplift by band of predicted uplift on held-out customers. Synthetic data.

What goes wrong

  1. Peeking. Stopping the moment the result looks significant inflates false positives. Fix the sample size or use a proper sequential method.
  2. Under-powered tests. As the table shows, a small test mostly returns inconclusive answers.
  3. Non-random control. Comparing customers who received the campaign with those who did not, without randomisation, measures the selection process.
  4. Contamination and overlap. Other campaigns reaching test or control customers blur the result.
  5. Many metrics, many segments. Testing 20 sub-groups at the 5% level is likely to turn up a spurious winner. Pre-specify the primary metric and treat sub-group findings as hypotheses.
  6. Uplift model overfitting. Uplift signals are weak. Use simple models, validate on a fresh test, and confirm with a follow-up experiment before rolling out.
  7. Ignoring cost. A statistically significant effect that does not cover the cost of the campaign is not a success.

An illustrative project

This is a fictional, synthetic scenario, not real client work. Imagine a lender wanting to know whether a reminder message increases completion of started applications. The analyst fixes the metric (completed applications within 14 days), computes the sample size from the baseline rate and the smallest commercially useful lift, randomises half of eligible customers to control, and finishes the test without interim looks. A second wave with a larger sample feeds an uplift model, which is validated on a fresh randomised holdout. The decision supported is whether to send the reminder at all and, if so, to which customers.

How to start

  1. Write down the primary metric, the baseline rate and the smallest effect worth acting on.
  2. Compute the sample size per group. If you cannot reach it, say so before launch.
  3. Randomise with a recorded seed, and keep a log of assignment.
  4. Analyse by assignment, once, at the planned end.
  5. Only after you have a few well-powered tests, try uplift modelling, and validate it on a fresh randomised holdout.