August 20th, 2024

Waiting Time Paradox or Why Is My Bus Always Late?

The Waiting Time Paradox reveals that bus wait times can exceed expectations due to arrival variability. Simulations and Seattle data confirm theoretical predictions, aiding public transit scheduling and commuter understanding.

Read original articleLink Icon
FrustrationCuriosityAppreciation
Waiting Time Paradox or Why Is My Bus Always Late?

The Waiting Time Paradox illustrates a common experience for public transit users: the perception that buses are often late, leading to longer average wait times than expected. While one might assume that if buses arrive every 10 minutes, the average wait time would be around 5 minutes, the reality is different. Due to variability in bus arrival times, the average wait time can actually be as long as 10 minutes. This phenomenon is linked to the inspection paradox, where the probability of observing longer wait times increases because passengers tend to arrive at random times. The post explores this paradox through simulations and real data from Seattle's bus system, confirming that the average wait time aligns with the predicted outcomes of the paradox. The analysis shows that when bus arrivals follow a Poisson process, the expected wait time for passengers remains consistent, regardless of previous wait times. The findings suggest that real-world bus arrival patterns often reflect these theoretical models, providing insight into commuter experiences.

- The Waiting Time Paradox suggests average wait times can exceed expected values due to variability in bus arrivals.

- Simulations confirm that average wait times can align with theoretical predictions of the paradox.

- The inspection paradox explains why longer wait times are more frequently experienced by passengers.

- Real-world data from Seattle supports the notion that bus arrivals often follow a Poisson process.

- Understanding these patterns can help improve public transit scheduling and commuter expectations.

AI: What people are saying
The comments on the article about the Waiting Time Paradox reveal various perspectives and experiences related to bus wait times and expectations.
  • Many commenters discuss the phenomenon of buses being late and how this affects passenger wait times, often humorously noting personal experiences.
  • Several comments reference related mathematical concepts and theories, such as queueing theory and renewal theory, to explain the paradox.
  • Some users share anecdotes about their experiences with bus schedules and the unpredictability of arrival times, including the common belief that lighting a cigarette can influence bus arrival.
  • There is a discussion about the implications of the paradox in other contexts, such as lottery winnings and Bitcoin block times, highlighting its broader relevance.
  • Several commenters express a desire for better tools or apps to predict bus arrival times more accurately.
Link Icon 24 comments
By @rjmunro - 6 months
There's another thing that happens with busses that makes it worse.

The further behind the previous bus a bus is, the more people will arrive at the bus stop. The more people there are at the stop, the longer the bus has to spend picking them all up and selling them tickets etc. Therefore the delayed bus will tend to experience more delay. The bus behind them will have less people to pick up, so it will spend a shorter time at stops and tend to catch up with the first bus, so the two busses are dragged towards each other.

By @gpvos - 6 months
It's not just that the bus is always late, it's also that when you are late yourself, the bus is always on time and just leaving.
By @xnorswap - 6 months
My favourite corollary of this is that even if you win the lottery jackpot, then you win less than the average lottery winner.

Average Jackpot prize is JackpotPool/Average winners.

Average Jackpot prize given you win is JackpotPool/(1+Average winners).

The number of expected other winners on the date you win is the same as the average number of winners. Your winning ticket doesn't affect the average number of winners.

This is similar to the classroom paradox where there are more winners when the prize is poorly split, so the average observed jackpot prize is less than the average jackpot prize averaged over events.

By @incognito124 - 6 months
But, somehow, lighting a cigarette at the station makes the bus spawn instantly. 100% reproducible.
By @c_moscardi - 6 months
Related reading; explains the same concept quite well IMO with NYC subway data. This is where I learned about this concept.

[1] https://erikbern.com/2016/04/04/nyc-subway-math

[2] https://erikbern.com/2016/07/09/waiting-time-math.html

By @stonemetal12 - 6 months
>when the average span between arrivals is N minutes, the average span experienced by riders is 2N minutes.

Who is arriving in the first part of the sentence? At first I thought he meant the bus arrival, thus N = 10, and 2N would be 20. But then he says

>The average wait time is also close to 10 minutes, just as the waiting time paradox predicted.

10 isn't 20 so ???

By @laweijfmvo - 6 months
my take away is that if you're lucky enough to live in a place that has such a bus schedule, you can just ignore the schedule and show up whenever you want and only wait 10 minutes. sounds lovely!
By @memming - 6 months
By @kwhitefoot - 6 months
I haven't read the article but just to answer the question in the title: Buses must always be late because a bus that leaves early is even more useless.
By @FabHK - 6 months
Related: Suppose Bitcoin's difficulty is tuned correctly to the target block time of 10 mins/block. Then, if you pick a block uniformly from the list of blocks, its expected length is 10 minutes. However, if you pick a point in time uniformly, the expected length of the block it's in is 20 minutes.
By @taeric - 6 months
This seems more to say that the average time of all passengers waiting will be close to the interval, but that the average time for any individual in a given stop will be closer to half? (Similarly, if you are discussing the longest time you will wait throughout the day and you have multiple stops you have to wait at, it will drift up to the the interval time.)

That is, they sound like similar questions, but they are not. How long can one random person expect to wait at a stop is different from how long a population will wait at a given spot. In large because a person can only arrive at a single time in the waiting interval, but more passengers become less likely the closer to departure time.

(I realize I didn't word all of this as a question, but I am not asserting I'm correct here. Genuinely curious if I understand correctly.)

By @kqr - 6 months
This is one of my favourite queueing theory-adjacent consequences.

As the article notes, it's the same reason the average coin in a sequence of tosses will be in a longer run than the average run length.

By @mass_and_energy - 6 months
Does this relate in any way to the phenomenon of "lighting a smoke to make the bus come?" you see, you're waiting for the bus and after a few minutes you realize "man, I could have had a smoke by now" so you light a smoke, but sure enough the bus will come before you can finish your cigarette. This seems to happen every time you light the cigarette waiting for the bus. So this time you get to the stop and light your cigarette right away so that the bus comes, to no avail. What gives?
By @fiforpg - 6 months
There is a mildly related math puzzle I learned at some point in high school (iirc):

someone comes to a subway station at (uniform) random times between 6p and 8p; he notices that the first train he observes arriving at the same station is 3 times more often inbound than outbound. He also knows that time intervals between the trains going in the opposite directions are fixed and equal — say, always 6 minutes, so the only random event here is when this person arrives at the platform. Explain how this is possible.

By @cbsks - 6 months
(2018), but this article is timeless…

Past discussion: https://news.ycombinator.com/item?id=18321062

By @magicalhippo - 6 months
Ah, but it's on time those times you are late but really need to get that one departure for some important meeting or similar.

edit: interesting post with a different ending than I imagined.

Been thinking about using some statistical methods to give me some better estimates of the busses I take to work. Like "given that it's $today, which is a Tuesday, it's 17:30, and the display says the bus is 7 minutes delayed, how long til it will actually come?

By @ChrisArchitect - 6 months
By @prmoustache - 6 months
I would say just use the app that says at which bus stop the next bus is and when it estimates its arrival.

OK sometimes the app / bus location system fucks up but most of the time or their are unexpected road road work or traffic accident that suddently forces it to be slower but most of the time it is pretty much accurate.

By @Projectiboga - 6 months
In combinatorics we calculated that the typical wait time is very close to the actual planned interval.
By @drexlspivey - 6 months
Same thing is true for Bitcoin block times (also a Poisson process), a block is expected to arrive every 10 minutes on average but if 10 minutes (or 15 or 20) have passed since the last block the expected time for the next block is still 10 minutes.
By @maeil - 6 months
This was easily the most memorable thing I learned during my statistics degree! Nothing else has stuck with me this well.
By @dekhn - 6 months
I got asked a variation on this in an interview several decades ago. "What is the expected waiting time for a bus that arrives on average every ten minutes and you show up at a random time". I was sure it was 5 but they actually wanted me to do the math from the article, in my head, in 30 minutes. I did not pass that interview and did not get the job (which was a good thing long term).

I really enjoy having 10-20 lines that produces the expectation value directly by simulation; that's a fast way for me to understand the underlying values.

By @wodenokoto - 6 months
Why does he times tau by N when calculating the bus arrival times in the beginning?