Properties2
| Type | Concept |
| Note created | Feb 17, 2025 |
A quantile regression is a type of regression that, instead of using the mean of the response variable (as per, for example, the least squares method would do), uses a given percentile to fit. That way, the prediction is biased by design: if , then 80% of the samples are expected to fall above its value.
Quantile regressions are useful in econometrics and other predictions to define upper or lower bounds, and to be used as intervals.
Loss function
Quantile Loss
The quantile loss (often referred to as pinball loss) is an error metric that is able to quantify the error of a quantile regression prediction.
Contrary to the rest of the metrics, this metric does not aim to get the predictions as close to the real values as possible. Instead, there is a purposeful bias to match the prediction to a given percentile of the predictions. The result of the pinball loss could be understood as the “accuracy” of the quantile model.
Being the target quantile, the real value and our quantile prediction, the loss function can be expressed as:
Link to original