Model waiting-time abandonment via survival

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.

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.

|Home/Statistics & Math/Uber
Uber logo
Uber
Oct 13, 2025, 9:49 PM
hardData ScientistOnsiteStatistics & Math
5
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.
Loading comments...