KatInterview

Marketplace Pricing Test with Supply-Demand Interactions

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

Last updated

Design an experiment to test a pricing change in a two-sided marketplace where users interfere with each other through shared supply.

Context

You're working on a delivery platform where customers place orders and workers fulfill them. The platform wants to test a new incentive structure that pays workers more during busy periods to increase supply when demand is high.

The challenge: standard user-level randomization won't work because users share the same pool of available workers. If you give some workers higher pay, they'll accept orders that other workers would have gotten, contaminating your control group.

Your Task

Design an experiment to measure the true effect of this pricing change.

What to Address

Your experimental design should cover:

  1. Randomization strategy: What unit should you randomize by, and what's your reasoning?

  2. Market selection: How will you choose which markets get treatment versus control, given that markets differ in size, maturity, and baseline behavior?

  3. Metrics: What's your primary success metric? What supporting and safety metrics would you track?

  4. Validity threats: How will you account for systematic differences between markets, time-based patterns like seasonality, and the possibility that nearby markets influence each other?

  5. Statistical approach: What analysis method will you use, and how will you calculate statistical significance with a small number of markets?

  6. Feasibility: Estimate the minimum detectable effect, decide on experiment duration, and outline rollout stages.

  7. Risk mitigation: What could go wrong, and how would you protect against it?

Provide a concrete experimental plan that an engineering team could implement.

Hints

Hint 1

Think about what defines a 'closed system' where interference stays contained within treatment units rather than leaking across them.

Hint 2

With market-level randomization, your sample size is the number of markets, not the number of users—this fundamentally changes power calculations.

Hint 3

You need an analysis method that removes both stable differences between markets and common time trends affecting all markets simultaneously.