KatInterview

Reading a Flight-Delay Regression: Metrics and Diagnostics

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentslinear-regressionmulticollinearityheteroskedasticity

Last updated

Walk through interpreting and diagnosing a multiple linear regression for flight delays: standardized coefficients, fit metrics, collinearity, heteroskedasticity, intercepts, and misspecified residuals.

You have fit an ordinary least squares model to predict flight arrival delay (in minutes). The numeric predictors were z-scored, categorical variables were one-hot encoded, and the outcome was left in raw minutes. You cannot see the data, so answer using reasoning and the output you are given.

Address each of the following points.

  1. Coefficient interpretation. The tailwind coefficient is −0.8 with p = 0.07. Explain precisely what this number means given the standardization, what the p-value does and does not say, and how you would judge statistical versus practical significance.
  2. Fit metrics. Compare R², adjusted R², and out-of-fold RMSE. Under what circumstances does R² go up while adjusted R² goes down, and what would you do?
  3. Multicollinearity. How do you detect it (VIF and its interpretation)? How does it change coefficients and their standard errors? When would you remove variables, and when would you regularize instead?
  4. Heteroskedasticity. How would you recognize it in residual plots? Which formal tests would you run, and which robust fixes would you apply?
  5. Specification choices. What happens if the intercept is dropped? What happens if only some of the features are standardized?
  6. Bad residuals. Residual plots show curvature and heavy, non-normal tails. What modeling changes would you make, and how would they affect inference and prediction intervals?

Give a structured answer that separates what each issue affects: the coefficient estimates, the standard errors, or the prediction intervals.

Hints

Hint 1

Keep three questions apart for every issue: does it bias the coefficients, does it distort the standard errors, or does it only hurt prediction intervals?

Hint 2

For the tailwind coefficient, back out the standard error from the p-value, build a confidence interval, and compare the effect to the spread of delay in minutes.

Hint 3

Adjusted R² falls exactly when the added variable's partial F-statistic is below 1 (|t| < 1 for a single variable). Use cross-validated RMSE as the tiebreaker.

Hint 4

Collinearity inflates standard errors by the square root of VIF but barely touches predictions; heteroskedasticity leaves coefficients unbiased but invalidates the usual standard errors.