Instrumental Variables for Store Wait Time and Dasher Churn
Last updated: November 29, 2026
Quick Overview
DoorDash suspects that long waits at restaurants cause Dashers to quit. Dashers with long waits also tend to dash in busy areas at busy times. How would you estimate the causal effect of wait time on churn?
DoorDash
November 29, 20260
0
0 solved
DoorDash suspects that long waits at restaurants cause Dashers to quit. Dashers with long waits also tend to dash in busy areas at busy times. How would you estimate the causal effect of wait time on churn?
Supply retention is a big cost lever for DoorDash, and its data scientists use observational data heavily. The interviewer checks whether you understand confounding, can propose a credible instrument, and can defend the exclusion restriction.
What the Interviewer Expects
- Explain the confounding between wait time and Dasher characteristics
- Propose an instrument and justify relevance and exclusion
- Describe two-stage least squares estimation
- Interpret the estimate as a local effect
- Suggest robustness checks or an experiment
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- Why not just control for market and hour?
- What would violate your exclusion restriction?
- How would you test whether the instrument is weak?
- Could you design an experiment instead?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Outcome: Dasher inactive for 28 days after a given week. Exposure: average wait at store per delivery that week. Confounders: Dashers who work peak dinner downtown face longer waits but also earn more...
Approach
Find variation in wait time that is as good as random with respect to the Dasher. Good candidates come from dispatch:
- Past A/B tests of dispatch logic that changed when Dashers were sent to stor...