KatInterview

Design an experiment for a priority dispatch feature

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperimentationmarketplacescausal-inference

Last updated

Design metrics and a randomization strategy to test a paid priority-matching product in a two-sided rideshare marketplace.

You work on the experimentation team at a rideshare company. Product is launching a new paid feature that lets passengers pay a small fee to move to the front of the dispatch queue when requesting a ride.

Your task is to design the experiment.

Part 1: Metrics

Choose one primary metric for each side of the marketplace (drivers and passengers) that captures whether this feature improves overall marketplace health. Also define one guardrail metric to protect against harmful side effects.

Part 2: Interference

The engineering team proposes a standard A/B test: randomly assign 50% of passengers to treatment (feature available) and 50% to control (feature not available), then compare outcomes between the two groups.

Explain why this design produces biased estimates in a marketplace setting. What is this problem called, and in which direction does it bias the treatment effect?

Part 3: Better design

Propose an improved randomization approach that reduces or eliminates the bias you identified. If a perfect design isn't feasible, what statistical methods or alternative designs would you use to estimate the causal effect?

Context

  • The marketplace has both drivers and passengers; each trip involves one of each.
  • Drivers are sensitive to idle time and unprofitable repositioning.
  • Passengers are price-sensitive and will abandon requests if estimated wait times are too long.

Hints

Hint 1

Think about what happens to a control passenger when a nearby treatment passenger pays for priority and takes the closest available driver.

Hint 2

The experiment should measure the global effect: what happens when the feature is live everywhere, not just what happens to the people who pay.

Hint 3

Consider randomizing at a level where supply and demand are more isolated from each other, such as time windows or geographic regions.