Bootstrapping a Confidence Interval for Mean ETA Error
Last updated: November 29, 2026
Quick Overview
ETA errors on a sample of trips are right-skewed with a few huge values. How would you build a confidence interval for the mean error, and when would a bootstrap beat the normal approximation?
Uber
November 29, 20260
0
0 solved
ETA errors on a sample of trips are right-skewed with a few huge values. How would you build a confidence interval for the mean error, and when would a bootstrap beat the normal approximation?
Uber's ETA, fare and delivery time metrics are heavy tailed, and interviewers like to see whether you know when the CLT interval is trustworthy. Expect to implement a basic bootstrap and discuss clustered data.
What the Interviewer Expects
- State the CLT-based interval and its assumptions
- Explain why heavy tails and small samples hurt it
- Implement a percentile bootstrap
- Mention resampling clusters (days or cities) when trips are correlated
- Consider a robust alternative like the median or trimmed mean
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How many bootstrap replicates do you need?
- When is the BCa interval better than the percentile interval?
- How would you bootstrap a ratio metric such as late trips per order?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Define error as actual minus predicted ETA in seconds, absolute or signed. Ask sample size and whether trips cluster (same city and hour share traffic shocks)....
Approach
Normal interval: . It relies on the sampling distribution of being approximately normal. With right skew and a few 300 s outliers in a sample of 12, that fails: t...