The Data Behind Traffic
Hey everyone! I was interested in the data behind traffic, but more specifically, how traffic jams start and how we can predict them. Here are some interesting things I found in a dataset of 16,990 five-minute readings from one Bay Area freeway detector. First off, the difference between traffic at 8 am on a weekday vs. weekends was huge, as I expected. It was 33.8 mph on weekdays versus 68.5 mph on weekends, meaning speed nearly halved. What surprised me a lot was the data about the detector: the five-minute readings showed that when a vehicle covered the detector 5-10% of the time, the median speed was 66.7 mph and about 402 cars passed through; however, surprisingly, the cars that passed through barely budged when vehicles covered the detector at 20% occupancy: 388 cars, a difference of 14 cars, while speed dropped significantly to 33.0 mph. I also tried to predict the next 5-minute average speed; however, the simplest prediction was almost the best (predicting t...