PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/DoorDash

Define and compute retention and churn precisely

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a Data Scientist's competency in statistical measurement of user retention and churn, covering cohort definition, activity rules, risk-set-aware retention and churn formulas, censoring and delayed conversion handling, and survival-analysis concepts like time-to-churn, hazard, and cumulative incidence.

  • hard
  • DoorDash
  • Statistics & Math
  • Data Scientist

Define and compute retention and churn precisely

Company: DoorDash

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Onsite

Define retention and churn for a transactional consumer app and show how you would compute them correctly: 1) Choose precise definitions for cohorts (signup vs first purchase), activity (active if 1+ order in period), retention types (N-day, week N, rolling, bracket), and churn (no activity for K consecutive periods). Justify choices based on decision use-cases. 2) Provide formulas for cohort retention and churn rates using proper risk sets, handling right-censoring and delayed conversion. Explain pitfalls such as survivorship bias, Simpson’s paradox, and seasonality. 3) Describe how to measure long-term retention impact of a treatment (e.g., the 20% discount) using survival analysis: define time-to-churn, hazard, and cumulative incidence; specify how to compare curves (log-rank or stratified tests) and adjust for covariates. 4) Show how rolling retention can disagree with strict cohort retention and how you would reconcile for executives. Include an example with made-up numbers to illustrate the difference and compute both correctly. 5) Explain how you would set windows (washout, observation, and attribution) and how these choices affect experiment power and bias.

Quick Answer: This question evaluates a Data Scientist's competency in statistical measurement of user retention and churn, covering cohort definition, activity rules, risk-set-aware retention and churn formulas, censoring and delayed conversion handling, and survival-analysis concepts like time-to-churn, hazard, and cumulative incidence.

Related Interview Questions

  • Define and compute surge pricing metrics - DoorDash (medium)
  • Calculate power and test duration - DoorDash (medium)
  • Compute power and interpret guardrails - DoorDash (hard)
  • Forecast and Analyze DoorDash Menu Price Inflation Gap - DoorDash (medium)
  • Design A/B Test to Evaluate Algorithm's Revenue Impact - DoorDash (hard)
DoorDash logo
DoorDash
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Statistics & Math
4
0

Retention and Churn for a Transactional Consumer App

Context: You are analyzing retention and churn for a transactional consumer app (e.g., food delivery, ride-hailing). Users place discrete orders over time. Your goal is to define, compute, and interpret retention and churn correctly for product, marketing, and experimentation use-cases.

Tasks

  1. Definitions and Justification
  • Choose precise definitions for:
    • Cohorts: signup vs. first-purchase (activation) cohorts.
    • Activity: active if 1+ order in a period.
    • Retention types: N-day, week N, rolling, and bracket retention.
    • Churn: no activity for K consecutive periods.
  • Justify choices based on decision use-cases.
  1. Formulas and Correct Computation
  • Provide formulas for cohort retention and churn using proper risk sets.
  • Handle right-censoring and delayed conversion.
  • Explain pitfalls such as survivorship bias, Simpson’s paradox, and seasonality.
  1. Measuring Long-term Retention Impact of a Treatment via Survival Analysis
  • Define time-to-churn, hazard, and cumulative incidence.
  • Specify how to compare treatment/control curves (log-rank or stratified tests).
  • Explain covariate adjustment.
  1. Rolling vs. Strict Cohort Retention
  • Show how rolling retention can disagree with strict cohort retention.
  • Include a made-up numerical example and compute both correctly.
  • Explain how to reconcile for executives.
  1. Windows and Experimental Design
  • Explain how you would set washout, observation, and attribution windows.
  • Discuss how these choices affect experiment power and bias.

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.