Uber · Statistics & Data Analysis
Analyze Cancellation Change with Statistics
TrueInterview
October 7, 2026 · 1 min read
Uber rolls out a minor product change intended to lower cancellations. You see the following:
- Before: requested trips, cancellation rate .
- After: requested trips, cancellation rate . For now, treat each request as an independent Bernoulli outcome.
Answer:
- Pick a suitable hypothesis test for the shift in cancellation rate and build a 95% confidence interval for . Give and , and explain what the interval means in practical terms.
- Next, account for possible confounding by city and hour-of-day. Write down a logistic regression that adjusts for these factors, including an interaction term you think matters. Provide the model equation, state the main assumptions, and explain how you would assess calibration and overdispersion.
- Power/MDE: What sample size per arm would be required to detect an absolute difference of percentage points at with 80% power, ignoring clustering for now? Then explain how an intraclass correlation of at the driver level would increase the required under a cluster-robust design; show the design effect and the updated .
- Nonparametric check: Outline a bootstrap method for constructing a confidence interval for the rate difference with stratification by city (stratified resampling), and discuss when this interval might be preferred over the z-approximation.
Overview: This question tests statistical inference for binary outcomes, regression adjustment for confounding, experiment design and power analysis, and nonparametric uncertainty estimation via bootstrapping. It is aimed at Data Scientist roles in the Statistics & Math domain.
Loading comments…