KatInterview

Two-Sided Platform Experiment Design

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperimentationtwo-sided-marketscausal-inference

Last updated

Design an A/B test for a pricing intervention in a ride-sharing platform, addressing network effects, spillover, and marketplace-specific metrics.

Problem Context

A ride-sharing platform wants to test a new pricing mechanism that adjusts fares based on real-time supply-demand imbalances during busy periods. Your team needs to design an experiment that accurately measures the impact while accounting for the unique challenges of marketplace testing.

Your Task

Design a rigorous experiment to evaluate this pricing change. Address the following:

  1. Metrics: Define a primary success metric appropriate for this two-sided platform. Identify guardrail metrics that protect both riders and drivers from unintended harm.

  2. Randomization Unit: Determine whether to randomize by individual riders, individual drivers, geographic regions, or time periods. Justify your choice by analyzing how different units handle interference between experimental groups.

  3. Handling Heterogeneity: If you randomize geographically across multiple markets, some will be dominated by commuter traffic (predictable weekday peaks) while others serve tourist or entertainment districts (weekend and event-driven demand). Explain how you would account for these differences when measuring the treatment effect.

What to Include

  • Reasoning for your randomization approach, including trade-offs
  • At least three specific guardrail metrics with justification for each
  • Methods to control for market heterogeneity in your analysis
  • Awareness of common pitfalls in marketplace experiments

Hints

Hint 1

In a shared marketplace, changing one user's experience can affect other users through the same pool of drivers—consider what this means for standard A/B testing assumptions

Hint 2

The metric denominator matters: if higher prices reduce requests, measuring 'completed/requested' might show artificial improvement even when fewer riders are being served

Hint 3

Geographic or temporal randomization trades sample size for validity—think about what you're actually estimating with each approach