Plan a Pilot A/B Test for a Paid Messaging Add-On
Statistics & ExperimentsModel answerLast updated
Design a randomized pilot for 1,200 businesses to measure a paid add-on's effect on revenue and 24-hour resolution, covering power, interference, compliance, monitoring and a decision rule.
A messaging platform is about to launch a paid automated-reply add-on in Europe. Only an early-access pool of 1,200 businesses can be used for the test. Chat volume per business is heavily skewed, and you expect 20-30% of offered businesses to subscribe at first.
You need to measure the add-on's effect on two outcomes:
- Revenue per business from the add-on.
- The share of chat threads resolved within 24 hours.
Your task: propose a complete experiment plan and defend your choices.
- Choose between a cluster randomized trial (business-level or region-level), a staggered (stepped-wedge) rollout, or a quasi-experimental approach, and justify the choice.
- State the unit of randomization and the stratification variables (for example country, business size, baseline chat volume).
- Work out sample size, power and the minimum detectable effect, taking overdispersed, heavy-tailed outcomes into account.
- Discuss interference risks, especially customers who chat with several businesses.
- Explain how you would handle partial adoption: intention-to-treat versus effect on adopters, including an instrumental-variable approach.
- Describe sequential monitoring and alpha spending.
- Write out a pre-registered primary analysis: estimands, model, covariate adjustment, heterogeneity analysis, missing-data rules.
- Finish with a decision rule for rolling out, iterating, or stopping.
Hints
Hint 1
Think about which unit carries the independent information. With thousands of threads nested in each business, a thread-level power calculation will be wildly optimistic, so power the test at the business level.
Hint 2
Low take-up dilutes the effect of an offer. Compute the minimum detectable effect on the intention-to-treat scale first, then divide by the take-up rate to see what that implies for adopters.
Hint 3
Define revenue so it can be nonzero in both arms (for example total messaging revenue) and say how you will tame heavy tails (a pre-fixed winsorization threshold, pre-period covariate adjustment).
Hint 4
Treat the two metrics differently: revenue as a superiority question, resolution rate perhaps as non-inferiority, because the sample can only rule out fairly large harms.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Summary of the approach
Run a business-level, stratified randomized trial with a waitlist control, analyze it by intention-to-treat (ITT), and report the effect on adopters as a secondary instrumental-variable estimate. With only 1,200 units, heavy tails and roughly 25% take-up, the main discipline is honest power math and a design that ties directly to a decision.
1. Design choice
| Option | Assessment |
|---|---|
| Region-level cluster RCT | Reject. There are only a few dozen countries or regions, so the MDE is huge and local regulation and seasonality confound the effect. |
| Stepped-wedge | Only if capacity forces a staggered launch. Treatment is confounded with calendar time and novelty, and the design is less efficient at this N. |
| Quasi-experiment (DiD, synthetic control) | Fallback only. Early-access businesses self-select, and so does subscribing. |
| Business-level RCT | Choose. Independent units, full control of assignment, cleanest causal read. |
Controls get access after about 12 weeks (waitlist). This eases fairness and recruitment concerns and gives a second check on robustness once controls switch on.
Unit of randomization: the business, or the parent account or agency where businesses share one, since they share agents and configuration. Analyze at the level you randomize. Threads are nested within businesses, so a thread-level test is invalid.
Stratification: block within country group (about 6), size tier (3) and baseline-volume tertile (3), roughly 54 strata of about 22 businesses. Merge strata with fewer than about 8 units. Check balance on vertical and baseline resolution rate, and re-randomize if any standardized difference exceeds 0.1 (pre-registered).
2. Estimands
Measure over weeks 5-12, dropping the first four weeks of trials and onboarding novelty.
- E1 (revenue): ITT difference in total messaging revenue per business (add-on plus existing fees). Add-on revenue alone is zero in control by construction and hides cannibalization; report it only descriptively.
- E2 (resolution): ITT difference in the business-level 24-hour resolution rate, weighting each business equally. A thread-weighted version is secondary, because a few very large businesses would otherwise dominate.
- E3 (adopters): complier average causal effect (CACE) via IV.
3. Power and MDE
Assume 600 per arm, two-sided α = 0.05, 80% power, so the multiplier is about 2.8.
Why not thread-level: with about 200 threads per business, a volume CV of 2 and an ICC of 0.1, the design effect is about 1 + (200·5 − 1)·0.1 ≈ 100. Hundreds of thousands of threads carry roughly the information of a couple thousand independent observations.
Resolution rate. Assume a between-business SD of 0.20.
- Raw MDE ≈ 2.8 · 0.20 · √(2/600) ≈ 3.2 pp.
- Adjusting for the pre-period rate (ρ ≈ 0.7) shrinks the SD to about 0.143, so MDE ≈ 2.3 pp (ITT).
- With 25% take-up, the effect among adopters must be about 9 pp to be detectable. Small improvements will not be detectable, so frame resolution as non-inferiority (rule out harm of about 2.5 pp or more).
Revenue. Assume CV ≈ 3.
- Raw relative MDE ≈ 2.8 · 3 · 0.0577 ≈ 48%.
- Winsorizing at a pre-period P99 threshold fixed before launch (CV about 2) and adjusting for pre-period revenue (ρ ≈ 0.8) brings it to roughly 19-20%.
Three group-sequential looks add only a couple of percent to the required sample.
4. Interference
- Shared customers: a consumer who talks to both a treated and a control business may change behavior with both. Before launch, measure customer overlap between businesses. If overlap is high within city and vertical, randomize connected components (graph clusters) and accept the loss of N. After launch, regress control outcomes on the fraction of their customers exposed to treated businesses; a significant slope signals spillover and a biased ITT.
- Shared agents or agencies: handled by randomizing at the parent level.
5. Compliance and adoption
Non-compliance is one-sided: controls cannot subscribe during the waiting period, enforced technically.
- ITT is primary, since it is the effect of offering the product.
- CACE via 2SLS: instrument subscription with random assignment. Under one-sided non-compliance, CACE = ITT / take-up. Needs exclusion (the offer itself, such as emails or banners, has no effect without subscribing; send neutral comms to controls) and monotonicity (true by design). With about 25% take-up and 1,200 units, the first stage is strong. Expect confidence intervals about 4x wider than ITT.
- Report take-up and its predictors as a secondary outcome.
6. Sequential monitoring
- 12 weeks, looks at weeks 4, 8, 12 (information about 0.33, 0.67, 1.0).
- Lan-DeMets O'Brien-Fleming spending for efficacy (boundaries about 3.7, 2.5, 2.0).
- Non-binding futility at week 8 if conditional power is under about 10%.
- A separate, more aggressive harm boundary on guardrails: block or report rate, CSAT, first-response time.
- Before the first look, run a sample-ratio-mismatch check and a pre-period A/A check.
7. Pre-registered primary analysis
- Model: outcome regressed on assignment, stratum fixed effects and the centered pre-period covariates, interacted with assignment (Lin-style), with HC2 robust standard errors.
- Heterogeneity: a short pre-specified list (country group, size tier, vertical), with interaction tests and multiplicity control (Holm or false-discovery rate). Treat everything else as exploratory.
- Multiple outcomes: two primaries with a clear hierarchy (for example, resolution non-inferiority gate, then revenue superiority).
- Missing data: outcomes missing because a business churned are kept with a pre-defined value (zero revenue), not dropped. For missing resolution rates (no threads), report a sensitivity analysis with bounds or inverse-probability weights. Pre-specify that covariates missing at baseline are mean-imputed with a missingness indicator.
- Robustness: randomization inference, a median or log(1+x) revenue view, and results with and without winsorization.
8. Decision rule
- Roll out: revenue lift lower confidence bound above the minimum worthwhile effect (say, 5%) AND resolution non-inferiority holds (lower bound above -2.5 pp) AND no guardrail harm.
- Iterate: revenue is positive but uncertain, or take-up is low while adopters look healthy. Fix onboarding or pricing and retest.
- Stop: a crossed harm boundary, resolution worse than the margin, or revenue upper bound below the break-even cost.
Common mistakes
- Powering on threads rather than businesses.
- Using add-on revenue only, which is mechanically zero in control.
- Ignoring dilution from take-up.
- Dropping non-subscribers or comparing subscribers to non-subscribers (selection bias).
- Peeking without alpha spending.
- Treating subgroup findings as confirmatory.