Measuring Lift from a Hand-Enrolled Sponsored Search Pilot
Statistics & ExperimentsModel answerLast updated
Evaluate a small hand-enrolled pilot of a new search ad format: define the estimand, reduce variance, test robustly on skewed revenue, check cannibalization, and explain why gains won't scale linearly.
Scenario
A social platform's search-monetization group built a new ad unit aimed at users with strong purchase intent. The standard experimentation tooling could not host it, so engineers hand-picked 100 users at random from the eligible population and switched them to the new experience for 14 days. All other eligible users kept the existing experience.
You are asked to judge whether the new unit produced genuinely incremental search-ad revenue and whether it should go to everyone.
Data
One row per eligible user, covering both the 100 pilot users and everyone else:
user_id: unique identifiertreatment_flag: 1 if hand-enrolled in the pilot, else 0pre_search_rev,post_search_rev: search-ad revenue in the 14 days before and during the pilotpre_feed_rev,post_feed_rev: feed-ad revenue in the same two windowspre_searches,post_searches: number of search queries in the same two windows
Questions
- Estimand and identification. State the main causal quantity you would estimate. Is it ITT or ATT? Which assumptions must hold, given that enrollment was done by hand?
- Estimation and uncertainty. Revenue is right-skewed and has many zeros, and there are only 100 treated users. How would you form the comparison group, which model would you fit (difference in means, ANCOVA, CUPED), and how would you build confidence intervals that stay valid under small-sample skew?
- Cannibalization. How would you check whether search-ad gains were offset by lower feed-ad revenue or by users searching less? Propose a single composite metric to track.
- Scaling decision. Suppose the lift is statistically significant. Why might rolling out to all searchers fail to yield roughly (population / 100) times the pilot gain? Which auction and budget effects would you raise with leadership?
Answer as you would in a senior analytics interview: structured, quantitative where possible, and explicit about assumptions and trade-offs.
Hints
Hint 1
Ask first how the 100 users were chosen. If selection was truly random, this is a randomized experiment that is merely lopsided, and the real risk is whether the manual process really was random.
Hint 2
Pre-period revenue is strongly correlated with post-period revenue, so adjusting for it shrinks variance by about 1 - R^2. For small samples with heavy tails, favor a permutation test and a studentized bootstrap over normal-theory intervals.
Hint 3
In an ad marketplace, treated and control users draw on the same advertiser budgets and auctions. Think about what changes when the treated share goes from a tiny fraction to 100%: budget caps, bidder density, clearing prices, and advertiser re-bidding.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
1. Estimand and identification
Framing. If the 100 users were truly drawn at random, this is a randomized experiment run outside the platform, just heavily unbalanced. It is not an observational problem, provided randomization actually held.
Primary estimand. The intent-to-treat effect of being assigned to the new format on 14-day search-ad revenue per eligible user:
τ_ITT = E[Y(1) − Y(0)], with Y = post_search_rev.
Because the treated users are a random draw, ATT and ATE coincide in expectation. The more meaningful distinction is assignment versus exposure: a user only sees the unit if they search. ITT includes non-searchers and is the right quantity for the launch decision, because at rollout revenue per eligible user is exactly the ITT.
Assumptions:
- Genuine random assignment. Hand enrollment invites bias (active users, staff accounts, a convenient shard). Audit the selection code and check pre-period balance on all six pre-metrics.
- No interference (SUTVA). Likely violated: treated and control users share advertiser budgets and auctions, so spend pulled toward treated users may come out of control users' revenue and inflate the estimate.
- Consistent delivery and measurement. Treated users got the intended experience throughout, and logging is identical across arms.
- No differential attrition or eligibility change during the window.
2. Estimation and variance reduction
Comparison group. Use the entire untreated eligible pool (or a large random sample of it). With 100 treated users the standard error is driven by the treated arm, so a large control adds precision at no bias cost. Do not hand-match 100 controls; use matching only if balance checks fail.
Model. ANCOVA in the Lin (2013) form with HC2 robust standard errors:
post_search_rev = α + τT + β'(X − X̄) + γ'T(X − X̄) + ε
with X = pre_search_rev, pre_feed_rev, pre_searches. The interaction terms keep τ consistent for the average effect even if the linear model is wrong. CUPED is the one-covariate special case. Variance falls by about (1 − R²).
Worked example. Suppose σ = $5 and pre/post correlation ρ = 0.75:
- Difference in means: SE ≈ 5/√100 = $0.50
- ANCOVA: SE ≈ 0.50 × √(1 − 0.5625) ≈ $0.33
- MDE at 80% power, α = 0.05 (≈ 2.8 × SE): about $1.40 falls to about $0.93.
Skew and zeros with n = 100:
- Winsorize at a pre-specified level (99th to 99.5th percentile), with the cap computed from the pooled pre-period so it cannot depend on outcomes. Report raw and winsorized results together.
- Fisher randomization test. Reshuffle the 100 labels across the pooled data ~10,000 times, recompute τ̂ each time, and read off an exact p-value under the sharp null.
- Intervals from a studentized (bootstrap-t) or BCa bootstrap, resampling within arm. In effect this resamples the treated users' residuals, which is where skew matters most.
- Influence checks. Drop each treated user in turn; if one big spender drives the result, say so.
- Descriptive decomposition into P(rev > 0) and E[rev | rev > 0]. Do not read the conditional piece causally, since conditioning on a post-treatment outcome breaks randomization.
3. Cannibalization and secondary metrics
Fit the same adjusted model to:
post_feed_rev(feed cannibalization: Δfeed < 0 means budget shifted from feed to search)post_searches(user harm: heavier ads may reduce search use, a leading indicator of retention and long-run revenue loss)- Revenue per search, as a ratio of means with the delta method. This separates monetization gains from volume changes.
Compute all outcomes inside the same bootstrap resamples so you get their joint distribution and covariances, not just marginal CIs.
Composite metric (OEC):
Net value per user = Δsearch_rev + Δfeed_rev − λ · (lost searches)
where λ is the estimated long-run value of one search and only losses are counted. Treat the guardrails as non-inferiority tests: the upper bound of the harm CI must sit inside a pre-agreed margin. With 100 users these guardrails are underpowered, and "not significant" is not proof of "no harm"; say that plainly.
4. Why 100% rollout will not be (population / 100) × the pilot gain
- Budget caps. At tiny exposure, treated users tap budgets that are effectively unlimited. At full scale, revenue is bounded by unspent budget and much of the lift is reallocation.
- Interference. Part of the pilot lift was likely taken from control users. With no control left, that share vanishes.
- Price pressure. More high-intent inventory means fewer bidders per auction. Clearing prices and eCPM fall; in second-price or GSP auctions the runner-up bid sets the price.
- Advertiser re-optimization. Automated bidders chasing ROAS or CPA will lower bids if the format converts worse.
- Novelty effects. Fourteen days may capture curiosity clicks rather than steady state.
- Thin demand. There may not be enough relevant high-intent advertisers to fill all the inventory, so fill rate drops.
Recommendation. Ramp in stages (1% → 5% → 25%), and use marketplace-aware designs such as budget-split tests or geo/cluster randomization. Track eCPM, fill rate, budget utilization, and advertiser ROAS at every step.
Follow-up: non-searchers and CACE
Non-searchers pull the ITT toward zero. This is one-sided noncompliance, since controls cannot be exposed. The Wald/IV estimator gives the effect on exposed users:
CACE = ITT_Y / ITT_D, where D = treated and searched.
It requires the exclusion restriction (non-searchers are unaffected) and a valid instrument (random assignment). Never simply drop treated non-searchers: that compares searchers to everyone and introduces selection bias. Use ITT for the ship decision and CACE for mechanism and for forecasting if search penetration changes.
Common mistakes
- Treating the pilot as observational and building elaborate matching when simple randomization-based inference suffices.
- Using a t-test on raw revenue with n = 100 and heavy tails.
- Conditioning on post-treatment variables, such as only users who searched.
- Linearly extrapolating pilot lift to the full user base.
- Reading underpowered guardrails as "no harm."