What is the average distance between bus stops in Tallinn?

  • Feb 18, 2020

There is this bus stop near my home which has caught my eye: the previous stop to it is very close, 170m according to Google Maps. This got me thinking - is the distance between those two bus stops the shortest among all the stops in Tallinn?

It turns out that the distance between the stops near my home is not the shortest. However, it does belong in the top 1%, or top 0.92% to be more precise.

Overall, the mean distance between any two stops in Tallinn is over half a kilometer, 685m.

The shape of the distribution of the distances between bus stops looks very similar to the distribution of all stops. That's because most stops are bus stops. Trams, however, have a much higher mean compared to the overall average, and also the data is also more spread out. The distance between trolley stops seems to vary the least.

The mean distance per the whole route is 11.6km. However, we can also see that the data is quite spread out, it has a standard deviation of 4.8km.

Again, the distribution of routes per bus is quite similar to the overall distribution, with a mean of 11.7km and a standard deviation of 4.6km. The mean and standard deviation for trolleys and trams are 8.4km/0.9km and 12.5km/7.6km respectively.

The How

https://github.com/kadrilenk/Projects/tree/main/bus-stops