2020 Turkish GP: Race pace

The images shown above are vectors. You can zoom in on them as much as you want to see in which lap was each individual time done. To get the png file for the fastest drivers, click here. To get the png file for the slowest drivers, click here.

The main idea of this chart is to show the representative average race pace of each driver. Since plotting the raw data will not show accurate information, I have to do a bit of data pre-processing.

To remove the outliers, I use an IQR method. This means that the race pace analysis removes laps that are considered to be anomalous. This includes the first lap,┬álaps done when the safety car was out and incomplete laps (laps when the driver went in or out of the pits). The IQR outlier detection has a main flaw, which is that it also removes slow laps that were caused by driver error or mechanical malfunction. For now this is as good as it gets, but I’ll try to improve this outlier detection method.

Laps done with the intermediate or wet tires are considered for this analysis. However, they aren’t shown here since they would mess up the presentation of the data.

The box represents a modified box plot, with the line in the middle representing the mean (average) time done by each driver. The top and bottom line respectively represent the 75% percentile and the 25% percentile.

Remember that drivers with more pit stops tend to have faster times than drivers with fewer pit stops.


  1. Equable_Cattle

    Why do you have to use IQR to identify in laps/out laps/safety car laps? You have the tyre data so should be able to identify them already?

    • admin

      IQR is not used to identify the out laps or in laps. Safety car laps though can only be identified by using an outlier removal method. If the driver doesn’t go into the pits, he will still have the same tires so I can’t use that data to identify if they are driving under safety car conditions.


Submit a Comment

Your email address will not be published. Required fields are marked *

Send this to a friend