KatInterview

Testing a Courier Tier Program Under Marketplace Interference

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperimentationinterferencecluster-randomization

Last updated

Design an experiment for a courier priority-access program where treated and control couriers compete for the same orders, covering randomization, metrics, spillover analysis, and sample size.

A food-delivery marketplace plans to pilot a new elite courier tier in one metropolitan area. Couriers who hold a rating of at least 4.8 and an order acceptance rate of at least 90% get first access to the highest-value orders. The company wants to know how the tier affects overall delivery speed and courier retention.

A plain courier-level A/B test is unreliable here. Couriers roam across zones and compete for the same pool of orders, so when a treated courier takes an order, a control courier loses it. This makes the treated group look better than the program would be in reality.

Describe an experimental framework that covers:

  1. Randomization strategy. How do you assign treatment so that interference is limited while keeping reasonable statistical power?
  2. Metrics. Name a primary metric and at least two guardrail metrics that would reveal unintended harm.
  3. Analysis under spillover. If you were forced to randomize at the individual courier level, how would you measure or correct for spillover?
  4. Sizing. Outline how you would compute the minimum detectable effect (MDE) and the required sample size for your design.

Explain the trade-offs behind your choices and note where your design is weakest.

Hints

Hint 1

Separate the two interference channels first: short-term competition for orders within a zone, and longer-term shifts in courier labor supply. They happen at different time and spatial scales and may need different designs.

Hint 2

Retention is a courier-level outcome measured over weeks, so a courier must remain in one arm for the entire test. Think about which designs allow that and which (such as time-alternating ones) do not.

Hint 3

For individual-level randomization, think about varying the treated fraction across clusters, so that you can separate the direct effect from the spillover onto controls.

Hint 4

Cluster designs inflate required sample size by a design effect 1 + (m - 1)ρ. Compute how many clusters you would actually need, then compare it with how many one city can offer.