PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Uber

Model waiting-time abandonment via survival

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in survival analysis and time-to-event modeling, including defining survival and hazard functions, handling right-censoring and left-truncation, encoding time-varying covariates, and interpreting hazard ratios from Cox PH versus Weibull AFT models.

  • hard
  • Uber
  • Statistics & Math
  • Data Scientist

Model waiting-time abandonment via survival

Company: Uber

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Onsite

Model rider abandonment as a function of time already waited. Using survival analysis, define S(t) (survival), h(t) (hazard), and key covariates (quoted ETA, surge multiplier, time-of-day, location). Explain how to handle right-censoring (completed rides), left-truncation, and time-varying covariates; compare a Cox proportional-hazards model vs. a Weibull AFT model, interpret hazard ratios, and compute the median additional wait tolerated under median covariates. Describe diagnostics for proportional hazards and how violations change your specification.

Quick Answer: This question evaluates proficiency in survival analysis and time-to-event modeling, including defining survival and hazard functions, handling right-censoring and left-truncation, encoding time-varying covariates, and interpreting hazard ratios from Cox PH versus Weibull AFT models.

Related Interview Questions

  • Should Uber double member discounts? - Uber (medium)
  • Compare Two Coin Proportions - Uber (medium)
  • Analyze the Accident-Rate Spike - Uber (easy)
  • How do you derive CDF from a PDF? - Uber (easy)
  • Derive a CDF from a PDF - Uber (medium)
Uber logo
Uber
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Statistics & Math
3
0

Survival Modeling of Rider Abandonment During Pickup Waits

Context

You are modeling when a rider cancels (abandons) while waiting for pickup. Let time origin t = 0 be the ride request time. The event of interest is rider cancellation before pickup. If the rider is picked up before canceling, the observation is right-censored at pickup time.

Assume you have covariates including quoted ETA, surge multiplier, time-of-day, and location. Some covariates (e.g., quoted ETA, surge) may change over time.

Tasks

  1. Define survival S(t) and hazard h(t) in this setting and relate them.
  2. List key covariates and how to encode them (quoted ETA, surge multiplier, time-of-day, location).
  3. Explain how to handle:
    • Right-censoring (completed rides/pickups)
    • Left-truncation (delayed entry, e.g., analysis begins at driver assignment)
    • Time-varying covariates
  4. Specify and compare a Cox proportional-hazards (PH) model vs. a Weibull accelerated failure time (AFT) model. Interpret hazard ratios for the covariates.
  5. Compute the median additional wait a rider will tolerate under median covariates, for both models.
  6. Describe diagnostics for PH assumptions and how violations would change your specification.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Uber•More Data Scientist•Uber Data Scientist•Uber Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ 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.