Analyzing Lap Times for the 2023 F1 Miami Grand Prix
Module
Please note that these material have not yet completed the required pedagogical and industry peer-reviews to become a published module on the SCORE Network. However, instructors are still welcome to use these materials if they are so inclined.
Introduction
Formula 1 (F1) Racing is the highest class of single-seater auto racing sanctioned by the Fédération Internationale de l’Automobile (FIA). Each year, an F1 season features a series of races, known as Grand Prix, which are held in a variety of countries and circuit types. Each of these circuits have their own characteristic’s that make the race unique, ranging from overall track layout and location, to specific corners and race-day weather conditions. Each season, teams and drivers compete for the World Constructors’ Championship and the World Drivers’ Championship, respectively. For the full history and more information about the sport, visit F1’s Wikipedia page here or their website here.
At the time of racing, the 2023 Miami Grand Prix was only the 11th time in F1’s history where all cars that started the race crossed the finish line. This meant that there were no crashes, mechanical failures, or race-ending driver mistakes. Shockingly, there were also no yellow or red flags issued to indicate an incident on or off the track ahead. In addition, there were no safety cars deployed that could slow or bring the field together.
In this worksheet, we will analyze and describe distributions of lap times for Max Verstappen for the 2023 F1 Miami Grand Prix. Lap times over the course of a race are determined by a multitude of factors, including tire softness (usually a change in tenths of a second) or pit stops (a change in time by upwards of 15 seconds). Understanding the distribution of lap times over the course of a race and identifying potential outliers can provide valuable insights into the consistency and performance of a driver.
Data
The data set contains 1138 rows and 7 columns. Each row represents a single lap by a driver who competed in the 2023 F1 Miami Grand Prix. It is important to note that Oscar Piastri and Logan Sargeant were each lapped once, meaning that they each have 56 rows of lap data, rather than the 57 of the other 18 drivers.
Download data used: miami2023_data.csv
Variable Descriptions
Variable | Description |
---|---|
driverId | Unique identifier for each driver |
driverName | The full name of the driver |
constructorId | Unique identifier for each constructor |
constructorName | Commonly used name of each constructor |
lap | The lap number |
lapTime | The time taken to complete the lap, in seconds |
lapPosition | The position of the driver at the end of the lap |