KatInterview

A/B Testing with Network Effects in Two-Sided Marketplaces

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsexperimentationcausal-inferencenetwork-effects

Last updated

Design a rigorous experiment for a ranking algorithm change when users influence each other through marketplace interactions and social connections.

You're designing an experiment to test a new search ranking algorithm in a two-sided marketplace. The platform connects buyers and sellers, and you've identified two sources of interference that violate standard A/B testing assumptions:

  1. Supply-side interference: When you change how search results rank sellers, you shift demand between them. If treatment users see Seller X promoted, that seller's inventory and pricing may change for everyone, including control users.

  2. Demand-side interference: Buyers share links, reviews, and recommendations with friends. When a treated user discovers something through the new ranking, their social connections may be influenced regardless of assignment.

Your task is to:

  • Select an appropriate randomization strategy that accounts for both interference types
  • Define clear exposure rules and exclusion criteria
  • Calculate sample size requirements given a mean cluster size of 50 users and intra-cluster correlation of 0.02
  • Describe how to estimate the correlation parameter from historical data
  • Explain how to maintain assignment integrity over time and detect assignment problems
  • Propose an analysis approach if cluster membership changes during the experiment

What matters is demonstrating understanding of when standard randomization breaks down, how clustering addresses interference, the statistical cost of clustering, and practical implementation challenges.

Hints

Hint 1

Think about what happens when treatment and control groups share sellers or influence each other socially—the effect you measure won't reflect the true global impact

Hint 2

The design effect formula 1 + (m-1)ρ shows how cluster size and correlation combine to inflate variance

Hint 3

You can estimate intra-cluster correlation from historical data by treating your planned clusters as if they were experiment arms and measuring outcome similarity within them