Leicester Maths All articles
Problem Solving

Why Your Bus Is Always the Late One: Two Gaps and a Statistical Trap at a Leicester Stop

Leicester Maths
Why Your Bus Is Always the Late One: Two Gaps and a Statistical Trap at a Leicester Stop

Photo: P L Chadwick, CC BY-SA 2.0, via Wikimedia Commons

Stand at a bus stop on London Road on a wet Tuesday and something quietly irritating happens. The countdown says four minutes. Then six. Then the bus arrives with three others behind it, all empty at the front and all full at the back. You get on the crowded one. You always get on the crowded one.

That is not bad luck, and it is not entirely the fault of the operator either. It is a genuine statistical effect with a slightly intimidating name: the inspection paradox. Once you have seen it, you cannot unsee it, and a Leicester bus stop is one of the cheapest places in the country to watch it happen.

The claim that sounds right and is only half right

Here is the standard reassurance. If buses run every ten minutes and you arrive at the stop at a random moment, your expected wait is five minutes. Half the gap. Obvious, symmetrical, satisfying.

It is also completely correct — provided the buses actually run every ten minutes. That proviso is doing an enormous amount of work. Real timetables produce gaps that are not equal, and unequal gaps do not average out the way your intuition expects.

You do not arrive in an average gap

Think about what it means to arrive at random. You are not picking a gap from a list. You are picking a moment from the day. A long gap occupies more of the day than a short one, so a random arrival is more likely to land inside a long gap. You are, in effect, sampling gaps in proportion to their length rather than counting them equally.

That single sentence is the whole paradox. Long waits are over-represented in your experience not because there are more of them, but because they last longer and therefore catch more of your arrivals.

Two gaps, one stop

Make it concrete. Suppose a route manages alternating gaps of four minutes and sixteen minutes. A bus every four minutes, then a sixteen-minute desert, then four again. Average gap: ten minutes. On paper, the timetable is a ten-minute service.

Now arrive at a random time. The long gap covers sixteen minutes out of every twenty, so four times in five you land in the desert rather than the short stretch. Your expected wait is the average of half of each gap, weighted by how much of the day each gap occupies.

In numbers: (4 × 2 + 16 × 8) divided by 20, which comes to 6.8 minutes. Not five. Nearly two minutes worse, on a service whose average gap is exactly ten.

Push it harder and the effect grows. Gaps of two and eighteen minutes also average ten, but the expected wait climbs to 8.2 minutes, and nine arrivals in ten land in the long gap. Same timetable summary, very different experience.

There is a tidy formula for the general case: expected wait equals the mean of the squared gaps divided by twice the mean gap. Squaring punishes irregularity, which is why a service with the same average headway but sloppier spacing always feels worse. Variance is not a detail. Variance is the thing you feel in the rain.

Why buses bunch in the first place

Unequal gaps do not need a crisis to appear. They are generated by the system itself.

A bus running two minutes late arrives at a stop with slightly more passengers waiting. More passengers means more boarding time, more card taps, more buggy negotiations. The bus gets later still. Meanwhile the bus behind it, running on schedule, meets fewer waiting passengers, dwells for less time, and creeps forward. The gap ahead widens, the gap behind shrinks, and eventually the second bus catches the first.

This is positive feedback, and it is why bus operators talk about bunching with the weary tone other industries reserve for weather. The London Road corridor, with its student flows, its hospital traffic and its long stretches between stops, is a textbook place for it to happen.

What the live app does and does not fix

Real-time apps are genuinely useful, and they change the problem rather than solving it.

What they fix: uncertainty. If you can see that the next bus is eleven minutes away, you can stay in the warm, finish your coffee, or walk. You have converted waiting into planning. That is a real improvement in your day.

What they do not fix: the gaps themselves. The bus still arrives when it arrives. The app tells you the truth about a distribution it cannot alter.

There is a subtler issue too. When two buses bunch, the app cheerfully shows two arrivals a minute apart. That looks like excellent news. It is actually the symptom — a four-minute gap followed by a sixteen-minute one, wearing a friendly face. The app is honest and the display is misleading, which is a strange combination and worth noticing.

And there is a philosophical wrinkle: by timing your arrival to the app, you stop arriving at random. You select the good moments. Your average wait per trip falls, while the average wait experienced by the person who just turns up stays exactly where the maths put it.

Your turn: the stop-side survey

This is the sort of puzzle that gets much more interesting once you have your own numbers, and it costs nothing but forty-five minutes and a warm coat.

Pick a stop — the Haymarket stands are busy and well sheltered, and there are plenty of options along London Road. Go at a time you would not normally travel, so you are not emotionally invested. Record, for every bus that arrives: the time it appears, the route, how long it has been since the previous bus on that route, and roughly how many people boarded.

Forty-five minutes will give you a handful of gaps. That is not a proper sample and you should not pretend otherwise — but it is enough to compute two numbers and compare them. First, the mean gap. Second, the mean of half of each gap, weighted by gap length. In other words, work out the wait an average random arrival would have suffered during your window, and set it against half the mean gap.

If the second number is bigger, you have measured the inspection paradox with your own frozen hands. If it is not, you have measured a well-run hour, which is also a result.

Why bother with a bus stop

The inspection paradox is not really about buses. It turns up whenever you sample objects in proportion to their size rather than their number: the extra-long queue you join at the supermarket, the crowded train carriage among three half-empty ones, the roadworks that seem to last forever when most repairs are quick.

It also teaches a habit worth keeping — the difference between a summary statistic and an experience. A ten-minute service and a ten-minute average gap are the same phrase and not the same thing. Anyone who has stood on London Road in the drizzle already knows this in their bones. Now you know it in a formula as well.

All Articles

Related Articles

Two Cases, One Corner: The Payoff Matrix Hiding on Gallowtree Gate

Two Cases, One Corner: The Payoff Matrix Hiding on Gallowtree Gate

When the Clock Tower Replaces Mayfair: A Probability Audit of a Leicester Board

When the Clock Tower Replaces Mayfair: A Probability Audit of a Leicester Board

The Nearest-First Map: Sketching Leicester’s Wards as Voronoi Cells

The Nearest-First Map: Sketching Leicester’s Wards as Voronoi Cells