← DoorDash Interview Insights

DoorDash·Data Scientist·Technical Phone Screen·Senior

Senior
May 2026

Summary

DoorDash data science interview with a meaty experiment design question around delivery fee rollouts for unprofitable restaurant locations. One question, but it had a lot of surface area to cover.

Questions Asked (1)

Q1

A product team wants to add a $1 delivery surcharge to orders from the least profitable (~10%) of restaurant locations. Design an experiment to measure the effect on restaurant profitability, order volume, and customer satisfaction. How would you increase the statistical power of this experiment?

A/B Testing & ExperimentationProduct Analytics & MetricsPricing & Monetization
Author's notes

I got through the basic A/B setup fine but fumbled when they pushed on variance reduction.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by defining the experimental unit (restaurant location) and the treatment (surcharge applied to all orders from selected locations). Then outline the key metrics (profitability, order volume, customer satisfaction) and how to measure them, followed by methods to increase statistical power such as stratification, blocking, and using historical data as covariates.

Pro tip: Consider the ethical and business implications of the surcharge: it may disproportionately affect low-income customers, and the least profitable locations might already have low volume, making it hard to detect effects. Propose a phased rollout or a switchback design to mitigate these issues.

1. Define the experimental design

Randomly assign restaurant locations to treatment (surcharge) and control groups. Ensure the unit of randomization is the restaurant location to avoid contamination.

2. Select and define metrics

Identify primary metrics: restaurant profitability (e.g., contribution margin), order volume (number of orders), and customer satisfaction (e.g., ratings, NPS). Also consider guardrail metrics like overall platform revenue.

3. Determine sample size and power

Calculate the required number of locations per group to detect a meaningful effect size with desired power (e.g., 80%) and significance level (e.g., 5%). Use historical data to estimate variance.

4. Enhance statistical power

Use techniques like stratification (e.g., by location profitability, order volume), blocking, paired designs (e.g., switchback), and include covariates (e.g., historical sales) in analysis to reduce noise.

5. Analyze and interpret results

Use appropriate statistical tests (e.g., t-test, regression) to compare metrics between groups. Check for heterogeneous treatment effects and ensure results are robust.

Key Points to Mention

  • Randomization at the restaurant level to avoid spillover effects
  • Use of stratification or blocking to account for variability in location characteristics
  • Inclusion of covariates like historical order volume to increase precision
  • Consideration of switchback or crossover designs to increase power when sample size is limited
  • Definition of clear success metrics and guardrail metrics
  • Power analysis to determine sample size and detect meaningful effects

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.