KatInterview

Build a rigorous A/B test for a small-business incentive pilot

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsexperimentationcausal-inferencepower-analysis

Last updated

Design randomization, compute power, define ITT/TOT estimands, specify variance reduction and guardrails, handle data quality, and make a rollout decision.

A product team is piloting an incentive for newly onboarded small-business advertisers: after completing identity verification, new users receive a $100 promotional credit. The goal is to increase the share of new accounts that become active advertisers.

Primary metric: 30-day activation rate, defined as the proportion of new accounts that generate at least $50 in net advertising spend (after refunds, excluding the promotional credit itself) within 30 days of account creation.

Context:

  • Current baseline activation rate: 12%
  • The team wants to detect a +2.0 percentage-point improvement with 80% power at α = 0.05
  • Budget supports up to 10,000 accounts in the treatment arm over a 2-week enrollment period
  • Traffic varies by day of week, geographic region, and industry vertical

Guardrail metrics:

  • Refund and chargeback rate
  • Customer support tickets per 1,000 accounts
  • Average spend in the first 30 days
  • Customer acquisition cost (CAC)

Your task:

  1. Design the experiment. Choose the unit of randomization and justify it. Specify stratification variables and explain how you will handle day-of-week effects, regional differences, non-compliance (users who never redeem the credit), and potential fraud or abuse.

  2. Calculate the required sample size for 80% power to detect a +2.0pp lift at α = 0.05 (two-sided). Show your formula, plug in the numbers, and state all assumptions. Discuss how the calculation changes if you randomize at a different point in the funnel, and how variance reduction techniques affect the answer.

  3. Write the analysis plan. Define intention-to-treat (ITT) and treatment-on-treated (TOT) estimands precisely. Specify the regression model, including what covariates you will use for variance reduction (e.g., CUPED). Describe how you will monitor guardrails during the experiment and what thresholds would trigger an early stop. State the exact decision rule for launching: what statistical and business conditions must be met?

  4. Data quality and validity. Explain how you will check for sample-ratio mismatch, event-logging delays, duplicate accounts, and bot traffic. Describe how you will measure heterogeneity of the treatment effect across segments, and how you will assess whether the 2-week pilot result generalizes beyond the test window (novelty effects, seasonality).

  5. Make a recommendation. Suppose the experiment completes and you observe a +1.6pp lift with a 95% confidence interval of [+0.2pp, +3.0pp]. Support tickets increased by 12% in the treatment group. Walk through your decision: do you launch, iterate, run a follow-up test, or kill the feature? Justify your reasoning with reference to statistical significance, economic value, and guardrail performance.

Hints

Hint 1

Think carefully about when to randomize: at signup, at verification, or at first login. Each choice has different implications for compliance and interpretation.

Hint 2

The metric definition matters: should 'net spend' include the promotional credit, or exclude it? One choice inflates activation mechanically.

Hint 3

For the rollout decision, statistical significance alone is not enough. Consider the economic margin, the width of the confidence interval, and the support-cost trade-off.