Weighted Quantile Loss (wQL) for Quantile Forecasts
Weighted quantile loss scores quantile forecasts such as the 10th, 50th and 90th percentiles of future demand. For each quantile level it adds up the pinball loss, which penalises under- and over-forecasts asymmetrically according to the level, and divides by the total absolute actual value so that series of different size can be compared. The losses are averaged over the quantile levels; at the median the measure equals the weighted absolute percentage error.
가중 분위 손실은 향후 수요의 10, 50, 90 백분위수 같은 분위 예측을 평가합니다. 분위 수준마다 과소예측과 과대예측을 수준에 따라 비대칭으로 벌하는 핀볼 손실을 더하고, 실제값 절댓값의 합으로 나누어 규모가 다른 계열끼리 비교할 수 있게 합니다. 분위 수준별 손실을 평균하며, 중앙값에서는 가중 절대 백분율 오차와 같습니다.
How accurate are my quantile forecasts overall, and are their quantiles well calibrated?
분위 예측이 전체적으로 얼마나 정확하고 각 분위가 잘 보정되어 있는지 어떻게 평가합니까?
The method returns the weighted quantile loss for each quantile level and their mean with a bootstrap interval, the empirical coverage of each quantile, the number of rows with crossing quantiles and, when a series column is given, the loss for each series.
When to use Weighted Quantile Loss (wQL) for Quantile Forecasts
- Forecasts are given as several quantiles rather than a single number.
- You compare forecasting models across series of different scale.
- You need the metric used by common demand-forecasting tools.
When to use something else
- Forecasts are full predictive distributions or ensembles: use Probabilistic Forecast Scoring (CRPS, Log Score, Pinball Loss, RPS, Dawid-Sebastiani)
- Forecasts are single point values: use Theil's U Forecast Accuracy Statistics
- You need to evaluate forecasts over moving origins: use Rolling Origin Forecast Evaluation
Assumptions and requirements
- Forecast columns labelled with their quantile levels
- Sum of absolute actual values greater than zero
What the analysis reports
- wQL per quantile and mean wQL with bootstrap interval
- Empirical coverage per quantile
- Quantile-crossing count
- Per-series loss
How to report it
Across three quantile levels the mean weighted quantile loss was [value] (95% bootstrap CI [value] to [value]), with coverage of [value] at the 90th percentile.
Related methods
- Probabilistic Forecast Scoring (CRPS, Log Score, Pinball Loss, RPS, Dawid-Sebastiani)
- Theil's U Forecast Accuracy Statistics
- Quantile Regression Analysis
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn at a stated tolerance of 1e-12.
독립 계산. scikit-learn 대조 참조 시험 1건 통과(허용오차 1e-12).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Weighted Quantile Loss (wQL) for Quantile Forecasts on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.