EasyDeepLearn

When would you use quantile regression instead of predicting the mean?

medium

Answer

  • When the decision needs a range rather than a point.
  • Inventory planning cares about the 90th percentile of demand, not the average, because stocking to the mean stocks out half the time.
  • Delivery estimates quote a pessimistic quantile so most promises are kept.
  • Quantile regression minimizes the pinball loss, which weights under- and over-prediction asymmetrically, and gives you an interval by fitting several quantiles.
  • It is also robust to outliers, since the median is not pulled by extreme values the way the mean is.
  • Available natively in LightGBM and scikit-learn.
Check yourself — multiple choice
  • Never, the mean is always best
  • When the decision needs a quantile or interval — pinball loss weights errors asymmetrically and is robust to outliers
  • Only for classification
  • Only when data is Gaussian

Quantile regression targets a percentile via the pinball loss, matching asymmetric decisions.

#regression#metrics-regression

Practise Supervised Learning

215 interview questions in this topic.

Related questions