Why Riders Wait Longer Than Half the Average Shuttle Gap
Last updated: November 29, 2026
Quick Overview
Shuttles between Meta campus buildings arrive as a Poisson process averaging one every 10 minutes. An employee arrives at the stop at a random time. What is their expected wait, and why is it not 5 minutes?
Meta
November 29, 20260
0
0 solved
Shuttles between Meta campus buildings arrive as a Poisson process averaging one every 10 minutes. An employee arrives at the stop at a random time. What is their expected wait, and why is it not 5 minutes?
The inspection paradox is a favorite in Meta data science onsites because it underlies many measurement traps, from session lengths sampled by random pings to queue waits. The interviewer wants the correct answer, the length-biased sampling explanation, and the general formula.
What the Interviewer Expects
- Use memorylessness to get an expected wait of 10 minutes
- Explain that random arrivals land in longer gaps
- Derive $E[\text{wait}] = E[G^2] / (2E[G])$
- Compare with a fixed 10-minute schedule (5 minutes)
- Connect to biased measurement in product data
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
- What is the expected wait if gaps are uniform on 0 to 20 minutes?
- What is the expected length of the gap you arrive in?
- How does this bias survey-based session length estimates?
- How would you estimate true gap lengths from rider reports?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Gaps between shuttles are iid Exponential with mean 10 minutes. A rider arrives at a uniformly random time, independent of the schedule. We want , the wait until the next shuttle....
Approach
Two arguments. Memorylessness: the remaining time to the next event of a Poisson process is exponential with the same mean, regardless of when you arrive. Length bias: a random arrival is more likely ...