Switchback Experiment Design for Dasher Peak Pay Boosts

Last updated: November 29, 2026

Quick Overview

DoorDash wants to test a new Peak Pay algorithm that raises Dasher pay during demand spikes. Design an experiment that gives an unbiased read on delivery times and cost per delivery, given that Dashers in a market share one supply pool.

DoorDash
Analytics & Experimentation
Data Scientist
DoorDash
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


DoorDash wants to test a new Peak Pay algorithm that raises Dasher pay during demand spikes. Design an experiment that gives an unbiased read on delivery times and cost per delivery, given that Dashers in a market share one supply pool.

Marketplace experimentation is a core DoorDash data science topic because supply and demand interact within each market. The interviewer checks whether you notice that user-level randomization breaks under shared supply and can design and analyze a switchback test correctly.

What the Interviewer Expects
  • Explain why Dasher-level or order-level randomization is biased here
  • Propose region by time-window switchback randomization with a justified window length
  • Handle carryover between windows with burn-in or exclusion
  • Pick primary metrics (ASAP delivery time, cost per delivery) and guardrails
  • Describe variance estimation at the unit of randomization, not the order
Key Topics to Cover
switchback experiments
interference
carryover effects
cluster-robust variance
marketplace metrics
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • How would you choose between 30-minute and 2-hour windows?
  • What if the treatment changes Dasher behavior for hours after a boost ends?
  • How many region-windows do you need for a 1% change in cost per delivery?
  • Could you combine switchbacks with a synthetic control?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify
  • Treatment: new Peak Pay algorithm deciding when and how much to boost.
  • Outcomes: ASAP delivery duration, cost per delivery (pay spend / deliveries), Dasher acceptance rate, and supply hours. Guard...
Approach

Randomize at the region x time window level. Each starting point (submarket) flips between control and treatment in windows, for example 60 minutes, with a randomized schedule balanced by hour of ...


Submit Your Answer
Markdown supported