PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/DoorDash

Design A/B Test to Evaluate Algorithm's Revenue Impact

Last updated: Mar 29, 2026

Quick Overview

This question evaluates experimental design, statistical hypothesis testing, power analysis, outcome metric selection, and causal inference competencies for quantifying an algorithm's causal impact on revenue.

  • hard
  • DoorDash
  • Statistics & Math
  • Data Scientist

Design A/B Test to Evaluate Algorithm's Revenue Impact

Company: DoorDash

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Technical Screen

##### Scenario You are responsible for evaluating the lift of a new recommendation algorithm via online experiments. ##### Question Design an A/B test to measure the algorithm’s impact on revenue: define hypotheses, choose unit of randomization, compute required sample size, and detail success metrics. After the experiment you obtain p = 0.08 for revenue lift; interpret this result and recommend whether to ship. Explain how you would estimate causal impact if randomization were not possible; compare methods such as difference-in-differences, propensity score matching, and instrumental variables. ##### Hints Demonstrate knowledge of hypothesis testing, power analysis, Type I/II errors, and causal inference techniques.

Quick Answer: This question evaluates experimental design, statistical hypothesis testing, power analysis, outcome metric selection, and causal inference competencies for quantifying an algorithm's causal impact on revenue.

Related Interview Questions

  • Define and compute surge pricing metrics - DoorDash (medium)
  • Define and compute retention and churn precisely - DoorDash (hard)
  • Calculate power and test duration - DoorDash (medium)
  • Compute power and interpret guardrails - DoorDash (hard)
  • Forecast and Analyze DoorDash Menu Price Inflation Gap - DoorDash (medium)
DoorDash logo
DoorDash
Jul 12, 2025, 6:59 PM
Data Scientist
Technical Screen
Statistics & Math
55
0

A/B Test Design for a New Recommendation Algorithm

Context

You are evaluating a new recommendation algorithm in a consumer marketplace app (e.g., browsing menus and item recommendations). The goal is to measure its causal impact on revenue while safeguarding user experience and marketplace health.

Task

Design an online A/B test to measure the algorithm’s impact on revenue. Specifically:

  1. Define clear hypotheses and the primary outcome.
  2. Choose the unit of randomization and describe the assignment plan.
  3. Compute the required sample size (state assumptions, show formula, and a small numeric example).
  4. Define success metrics: primary metric, secondary metrics, and guardrails.
  5. After running the experiment, you obtain p = 0.08 for revenue lift:
    • Interpret this result and recommend whether to ship.
  6. If randomization were not possible, explain how you would estimate causal impact and compare methods:
    • Difference-in-differences
    • Propensity score matching/weighting
    • Instrumental variables

Hint: Demonstrate knowledge of hypothesis testing, power analysis, Type I/II errors, and causal inference techniques.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More DoorDash•More Data Scientist•DoorDash Data Scientist•DoorDash Statistics & Math•Data Scientist Statistics & Math
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.