You run an A/B test on a ride-hailing or delivery marketplace where riders and drivers share the same supply. Why might a normal user-level test give a wrong answer, and what would you do?
What the interviewer wants to hear
- Explains interference or spillover between groups
- Shows how treatment can take supply from control
- Suggests switchback or geo-cluster randomisation
- Discusses trade-offs in power and analysis
- Monitors both sides of the market
Model answer
Standard A/B tests assume one user's treatment does not affect another user, but in a marketplace it does. If a variant gives some riders a discount, they book more and take drivers away from control riders. Control looks worse and the variant looks better, so the measured lift is exaggerated, and the real effect at full launch may be near zero. To reduce this I would randomise at a level where the shared supply is contained. A switchback test alternates the whole city between control and treatment in time blocks, such as 30 minutes. A geo test randomises whole zones or cities. These designs have fewer independent units, so power is lower and I need longer tests and cluster-aware analysis. I would also track both sides of the market, like driver earnings and wait times, not just rider conversions.
Can you answer it under time pressure?
Take a timed hard round and get scored on every answer.
More hard Data Analyst questions
- An A/B test shows a significant lift in conversion but a drop in average order value, and revenue per user is flat. What do you recommend?
- Finance and Marketing report different revenue numbers for the same month. How do you resolve it?
- A feature was launched to all users at once, so there is no control group. How would you estimate its impact?
- Your team gets 50 ad-hoc data requests a week. How would you reduce that load without hurting the business?
- An experiment report checks 20 metrics across 10 segments and highlights the 3 that are significant at p < 0.05. How do you judge it?
- The CFO asks you to forecast next quarter revenue. How do you approach it, and how do you communicate uncertainty?
- A senior leader asks you to "find data that proves" their new campaign worked. Your analysis suggests it did not. What do you do?
- Marketing wants to segment customers for targeted campaigns. How would you build the segmentation, and how would you know it is useful?
- Your executive dashboard was wrong twice last quarter and leaders have stopped trusting it. How do you rebuild trust?