KatInterview

Measuring Flight Lateness and Proving a Fix Actually Works

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentshypothesis-testingcausal-inferencedifference-in-differences

Last updated

Define lateness metrics, model how often and how badly flights run late, and choose a valid design and inference method to show an operational change reduced delays.

You are the data scientist supporting operations at a large passenger airline. Leadership has rolled out a new process intended to cut delays (for example, a revised turnaround procedure at certain airports). You have historical records for every flight, including scheduled and actual departure and arrival times, airport, route, aircraft, and weather.

Answer the following as you would in a live discussion:

  1. Measurement. How would you define and quantify "delay" from this data? Which metrics would you report, and what would you look at first to understand the shape of the data?
  2. Modeling. How would you model delays, both the probability that a flight is late and how late it is? Which features and which validation strategy would you use?
  3. Evaluation. How would you determine whether the new process significantly reduced delays? Name the study design, the statistical tests or confidence intervals you would pick for each type of metric, and the pitfalls that could make a naive comparison misleading.

Be explicit about assumptions, and present results as an effect size with an interval, not only a p-value.

Hints

Hint 1

Delay data is not bell-shaped: think about early arrivals, a pile-up near zero, and a long right tail. Which summary statistics survive that?

Hint 2

Splitting the question into 'how often is a flight late' and 'how late is it when it is late' suggests a two-part model, and a mitigation may help one part but not the other.

Hint 3

Flights on the same day, at the same airport, or on the same aircraft are not independent. Think about what that does to standard errors, and about a design (randomization by cluster or difference-in-differences) that handles non-random rollout.