KatInterview

Design a marketplace A/B test with network effects

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsa-b-testingexperimentationmarketplace

Last updated

Design an experiment for a two-sided marketplace feature, handling metric selection, randomization units, sample size calculation, and interference between users.

Scenario

A two-sided marketplace is testing a visual badge that highlights sellers meeting certain quality thresholds. The product team hypothesizes this will increase buyer conversion from browsing to purchase.

Your Task

Design an experiment to measure the causal impact of this badge. Address each of these components:

  1. Metrics: Define your primary success metric, supporting metrics that explain how the feature works, and guardrail metrics that protect against unintended harm.

  2. Randomization Strategy: Choose and justify the unit of randomization (user-level, seller-level, geographic market, or other). Explain how interference between units affects your choice and what bias it introduces.

  3. Sample Size: The baseline conversion rate is 5%. You want to detect a 2% relative increase (not absolute) with 80% power at a 5% significance level. Walk through the calculation for required sample size per arm.

  4. Segmentation Plan: Identify which user or seller segments you would pre-register for heterogeneous treatment effect analysis, and explain why each matters.

Constraints

  • The platform has millions of active buyers monthly.
  • The badge does not create new supply; it may redistribute attention among existing sellers.
  • Consider trade-offs between statistical precision, experiment duration, and business risk.

Hints

Hint 1

A two-sided marketplace has supply constraints—badges shift attention rather than creating new transactions, so watch for zero-sum redistribution.

Hint 2

User-level randomization is fast and precise but doesn't capture marketplace-wide effects like inventory depletion; consider a complementary market-level test.

Hint 3

A 2% relative lift on a 5% baseline is very small in absolute terms—calculate carefully and consider variance reduction techniques to shorten the test.