Probability & Statistics

Bus Waiting Time

Buses come on average every ten minutes, and you show up knowing nothing about the schedule. How long should you expect to wait, and how long since the last bus left?

solvedmedium1 min

Buses arrive according to a Poisson process averaging one bus every 10 minutes. You walk up to the stop at a random time, knowing nothing about when the last bus came. How long do you expect to wait for the next bus, and how long ago did the last one leave?

Reveal solutionHide solution

#Forward wait, by memorylessness

A Poisson process has exponential gaps, here with mean 1010 minutes. From any fixed instant, the time to the next arrival is again exponential with the same mean, no matter how long it has already been since the last bus. The exponential simply forgets its past, so

E[wait for next bus]=10 minutes.(1)\E[\text{wait for next bus}] = 10 \text{ minutes}. \tag{1}

#Backward age, by symmetry

Run the clock backwards. A Poisson process reversed in time is another Poisson process with the same rate, so the time back to the previous bus is exponential with mean 1010 as well,

E[time since last bus]=10 minutes.(2)\E[\text{time since last bus}] = 10 \text{ minutes}. \tag{2}
busesyou
Arriving at a random instant lands you more often inside a long gap. Forward memorylessness and backward time-reversal each give an exponential wait averaging ten minutes, so the gap you hit averages twenty, twice the mean spacing.

#The inspection paradox

The gap you happen to land in therefore has expected length E[age]+E[wait]=20\E[\text{age}] + \E[\text{wait}] = 20 minutes, twice the 1010-minute mean spacing. This is not a contradiction. Arriving at a uniform instant is length-biased sampling, since a gap of length \ell is hit with probability proportional to \ell, so you fall into long gaps far more often than short ones, and the gap you observe averages double the typical gap.