PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Analytics & Experimentation/DoorDash

Design an experiment for thermal bags

Last updated: Mar 29, 2026

Quick Overview

This question evaluates experimental design and causal inference skills for a data scientist, including choice of randomization unit, contamination and clustering concerns, outcome and guardrail specification, measurement of treatment compliance, and statistical analysis for heterogeneity and variance estimation.

  • hard
  • DoorDash
  • Analytics & Experimentation
  • Data Scientist

Design an experiment for thermal bags

Company: DoorDash

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: hard

Interview Round: Technical Screen

We plan to provide couriers with thermal bags to reduce cold-food refund cost. Design a robust experiment: (a) Choose the randomization unit (courier vs. store vs. zone) and justify considering network effects and contamination (e.g., couriers serving multiple zones, stores serving both arms). (b) Define the primary outcome (refund cost per order attributable to cold-food) and guardrails (delivery ETA accuracy, contact rate, re-order rate, courier supply hours). (c) Specify stratification/clustered randomization across cities and peak/off-peak, and how to handle seasonality/holidays (staggered rollouts or DID on pre-period trends). (d) Address noncompliance (bags not used) and measurement (telemetry/audit photos), proposing an encouragement design or IV for LATE estimation. (e) Provide the analysis plan: CUPED/covariate adjustment (distance, cuisine, temp, store), heterogeneity by cuisine and distance deciles, variance estimation with cluster-robust SEs, sequential monitoring rules, and pre-registered success thresholds.

Quick Answer: This question evaluates experimental design and causal inference skills for a data scientist, including choice of randomization unit, contamination and clustering concerns, outcome and guardrail specification, measurement of treatment compliance, and statistical analysis for heterogeneity and variance estimation.

Related Interview Questions

  • Evaluate Biker Feature Success - DoorDash (hard)
  • How would you test product changes? - DoorDash (hard)
  • How to test bike delivery? - DoorDash (medium)
  • Investigate LA successful orders drop - DoorDash (easy)
  • How would you diagnose a completed orders drop? - DoorDash (easy)
DoorDash logo
DoorDash
Oct 13, 2025, 9:49 PM
Data Scientist
Technical Screen
Analytics & Experimentation
10
0

Experiment Design: Thermal Bags for Couriers to Reduce Cold-Food Refunds

Background

We want to evaluate whether providing couriers with thermal bags reduces customer refunds attributable to cold food. The platform operates across multiple cities with couriers who may deliver in multiple zones and for many stores. Some couriers may not consistently use the bag even if provided.

Assumptions (minimal):

  • We can assign couriers to receive bags and instrument usage via in-app prompts/incentives.
  • We can attribute refunds to "cold food" via reason codes and support notes.
  • We can log delivery/order covariates (distance, cuisine, temperature, store ID, ETA, etc.).
  • We can collect photo audits or telemetry indicating bag usage on an order.

Task

Design a robust experiment that covers:

(a) Randomization unit (courier vs. store vs. zone), with justification considering network effects and contamination (e.g., couriers serving multiple zones; stores serving both arms).

(b) Outcome definitions: primary metric (refund cost per order attributable to cold food) and guardrails (delivery ETA accuracy, contact rate, re-order rate, courier supply hours).

(c) Stratification/clustered randomization across cities and peak vs. off-peak, and how to handle seasonality/holidays (e.g., staggered rollouts and/or difference-in-differences on pre-period trends).

(d) Noncompliance and measurement: when bags are not used, how we measure usage (telemetry/audit photos), and an encouragement design or IV strategy for estimating LATE.

(e) Analysis plan: CUPED/covariate adjustment (distance, cuisine, temperature, store), heterogeneity by cuisine and distance deciles, variance estimation with cluster-robust SEs, sequential monitoring rules, and pre-registered success thresholds.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Analytics & Experimentation•More DoorDash•More Data Scientist•DoorDash Data Scientist•DoorDash Analytics & Experimentation•Data Scientist Analytics & Experimentation
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.