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
Statistics & Math
Data Scientist
Uber
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

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
bootstrap
confidence intervals
central limit theorem
heavy tails
cluster resampling
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample 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: xˉ±1.96 s/n\bar x \pm 1.96\, s/\sqrt n. It relies on the sampling distribution of xˉ\bar x being approximately normal. With right skew and a few 300 s outliers in a sample of 12, that fails: t...


Submit Your Answer
Markdown supported