How would you evaluate a probabilistic regression or forecasting model that outputs prediction intervals?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: hard
Interview Round: Other
How would you evaluate a probabilistic regression or forecasting model that outputs prediction intervals rather than point estimates?
```hint Two ways to cheat
A model can make its intervals look good by making them enormous, or look sharp by making them too narrow. You need a measure for each failure, and a single score that punishes both.
```
```hint Averages can hide problems
Even if overall coverage matches the nominal level, ask where the misses happen: which segments, which horizons, which ranges of the inputs.
```
### What a Strong Answer Covers
- Calibration measured as empirical coverage, checked at several nominal levels and within segments, not only on average.
- Sharpness measured as interval width, and why it only counts once coverage holds.
- At least one proper scoring rule that combines both, with how it penalizes misses.
- Diagnostics that show the shape of miscalibration, such as PIT histograms or quantile reliability plots.
- Sound evaluation setup, including out-of-sample or backtest evaluation for forecasts.
### Follow-up Questions
- How is the interval score related to the pinball loss at the two interval endpoints?
- Your 90% intervals cover 90% overall but only 70% for the largest customers. What would you do?
- How would you test whether observed coverage of 86% on 200 points is consistent with a nominal 90%?
- How could conformal prediction fix the coverage of an existing model, and what guarantee does it give?
Overview: Asks how to evaluate a regression or forecasting model that returns prediction intervals. Tests understanding of coverage and calibration, interval sharpness, proper scoring rules such as the interval score, pinball loss and CRPS, and diagnostics like PIT histograms.