Sample Size for Testing a New Tipping Prompt at Checkout
Last updated: November 29, 2026
Quick Overview
DoorDash wants to test a redesigned pre-checkout tipping screen. Currently 30% of orders include a tip above the default. Estimate how many orders per arm you need to detect a 1 point absolute increase.
DoorDash
November 29, 20260
0
0 solved
DoorDash wants to test a redesigned pre-checkout tipping screen. Currently 30% of orders include a tip above the default. Estimate how many orders per arm you need to detect a 1 point absolute increase.
Power analysis is a basic skill tested early in DoorDash data science interviews. Tipping matters because it drives Dasher earnings, so the interviewer also looks for awareness of the right unit and side effects.
What the Interviewer Expects
- State the hypothesis and parameters: alpha, power, baseline, MDE
- Apply the two-proportion sample size formula
- Do the arithmetic correctly
- Discuss randomization unit and clustering of orders by user
- Mention how long the test would run
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
- What if you randomize by user but measure per order?
- How does the answer change for a 0.5 point MDE?
- What guardrail protects the consumer here?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Metric: share of orders with tip above the default. Baseline , MDE , two-sided , power 80%....
Approach
Use the standard formula for two proportions: ...