Delta Method Variance for Average Order Value Experiments
Last updated: November 29, 2026
Quick Overview
An A/B test randomizes DoorDash consumers but reports average order value as total subtotal divided by total orders. Explain why the naive t-test on orders is wrong and compute a correct variance.
DoorDash
November 29, 20260
0
0 solved
An A/B test randomizes DoorDash consumers but reports average order value as total subtotal divided by total orders. Explain why the naive t-test on orders is wrong and compute a correct variance.
Ratio metrics like average order value and cost per delivery are everywhere in DoorDash experimentation, and the experimentation platform team cares that analysts get their variance right. The interviewer checks whether you spot the mismatch between unit of randomization and unit of analysis.
What the Interviewer Expects
- Identify the unit of randomization as the consumer
- Explain why treating orders as independent understates variance
- Derive the delta method variance for a ratio of means
- Write working code and sanity-check it against a bootstrap
- Mention when to use a user-level metric instead
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
- How does this extend to cost per delivery in a switchback?
- When would you prefer a bootstrap over the delta method?
- Can you apply CUPED to a ratio metric?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Each consumer has orders and total subtotal. AOV in an arm . Randomization is by consumer, so consumers are independent but orders ...
Approach
A t-test on order-level subtotals treats each order as an independent draw, ignoring that heavy users contribute many similar orders. Variance comes out too small and false positives rise. Instead, tr...