Quantile regression averaging

From HandWiki
Revision as of 23:30, 6 March 2023 by Smart bot editor (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quantile Regression Averaging (QRA) is a forecast combination approach to the computation of prediction intervals. It involves applying quantile regression to the point forecasts of a small number of individual forecasting models or experts. It has been introduced in 2014 by Jakub Nowotarski and Rafał Weron[1] and originally used for probabilistic forecasting of electricity prices[2][3] and loads.[4][5] Despite its simplicity it has been found to perform extremely well in practice - the top two performing teams in the price track of the Global Energy Forecasting Competition (GEFCom2014) used variants of QRA.[6][7]

Introduction

The individual point forecasts are used as independent variables and the corresponding observed target variable as the dependent variable in a standard quantile regression setting.[8] The Quantile Regression Averaging method yields an interval forecast of the target variable, but does not use the prediction intervals of the individual methods. One of the reasons for using point forecasts (and not interval forecasts) is their availability. For years, forecasters have focused on obtaining accurate point predictions. Computing probabilistic forecasts, on the other hand, is generally a much more complex task and has not been discussed in the literature nor developed by practitioners so extensively. Therefore, QRA may be found particularly attractive from a practical point of view as it allows to leverage existing development of point forecasting.

Computation

Visualization of the Quantile Regression Averaging (QRA) probabilistic forecasting technique.

The quantile regression problem can be written as follows:

[math]\displaystyle{ Q_y(q|X_t) = X_t\beta_q }[/math],

where [math]\displaystyle{ Q_y(q | \cdot) }[/math] is the conditional q-th quantile of the dependent variable ([math]\displaystyle{ y_t }[/math]), [math]\displaystyle{ X_t=[1,\hat{y}_{1,t},...,\hat{y}_{m,t}] }[/math] is a vector of point forecasts of [math]\displaystyle{ m }[/math] individual models (i.e. independent variables) and βq is a vector of parameters (for quantile q). The parameters are estimated by minimizing the loss function for a particular q-th quantile:

[math]\displaystyle{ \min\limits_{\beta_q} \left[ \sum\limits_{\{t:y_t \geq X_t\beta_q \}} q |y_t - X_t\beta_q | + \sum\limits_{\{t:y_t \lt X_t\beta_q \}} (1-q)|y_t - X_t\beta_q |\right] = \min\limits_{\beta_q} \left[ \sum\limits_{t}(q - \mathbf{1}_{y_t \lt X_t\beta_q }) (y_t - X_t\beta_q ) \right] }[/math]

QRA assigns weights to individual forecasting methods and combines them to yield forecasts of chosen quantiles. Although the QRA method is based on quantile regression, not least squares, it still suffers from the same problems: the exogenous variables should not be correlated strongly and the number of variables included in the model has to be relatively small in order for the method to be computationally efficient.

Factor Quantile Regression Averaging (FQRA)

Visualization of the Factor Quantile Regression Averaging (FQRA) probabilistic forecasting technique.

The main difficulty associated with applying QRA comes from the fact that only individual models that perform well and (preferably) are distinct should be used. However, there may be many well performing models or many different specifications of each model (with or without exogenous variables, with all or only selected lags, etc.) and it may not be optimal to include all of them in Quantile Regression Averaging.

In Factor Quantile Regression Averaging (FQRA),[3] instead of selecting individual models a priori, the relevant information contained in all forecasting models at hand is extracted using principal component analysis (PCA). The prediction intervals are then constructed on the basis of the common factors ([math]\displaystyle{ f_t }[/math]) obtained from the panel of point forecasts, as independent variables in a quantile regression. More precisely, in the FQRA method [math]\displaystyle{ X_t=[1,\hat{f}_{1,t},...,\hat{f}_{k,t}] }[/math] is a vector of [math]\displaystyle{ k\lt m }[/math] factors extracted from a panel of point forecasts of [math]\displaystyle{ m }[/math] individual models, not a vector of point forecasts of the individual models themselves. A similar principal component-type approach was proposed in the context of obtaining point forecasts from the Survey of Professional Forecasters data.[9]

Instead of considering a (large) panel of forecasts of the individual models, FQRA concentrates on a small number of common factors, which - by construction - are orthogonal to each other, and hence are contemporaneously uncorrelated. FQRA can be also interpreted as a forecast averaging approach. The factors estimated within PCA are linear combinations of individual vectors of the panel and FQRA can therefore be used to assign weights to the forecasting models directly.

QRA and LAD regression

QRA may be viewed as an extension of combining point forecasts. The well-known ordinary least squares (OLS) averaging[10] uses linear regression to estimate weights of the point forecasts of individual models. Replacing the quadratic loss function with the absolute loss function leads to quantile regression for the median, or in other words, least absolute deviation (LAD) regression.[11]

See also

Implementations

References

  1. Nowotarski, Jakub; Weron, Rafał (2015). [Open Access]. "Computing electricity spot price prediction intervals using quantile regression and forecast averaging". Computational Statistics 30 (3): 791–803. doi:10.1007/s00180-014-0523-0. ISSN 0943-4062. 
  2. Weron, Rafał (2014). [Open Access]. "Electricity price forecasting: A review of the state-of-the-art with a look into the future". International Journal of Forecasting 30 (4): 1030–1081. doi:10.1016/j.ijforecast.2014.08.008. 
  3. 3.0 3.1 Maciejowska, Katarzyna; Nowotarski, Jakub; Weron, Rafał (2016). "Probabilistic forecasting of electricity spot prices using Factor Quantile Regression Averaging". International Journal of Forecasting 32 (3): 957–965. doi:10.1016/j.ijforecast.2014.12.004. 
  4. Liu, B.; Nowotarski, J.; Hong, T.; Weron, R. (2015). "Probabilistic Load Forecasting via Quantile Regression Averaging on Sister Forecasts". IEEE Transactions on Smart Grid PP (99): 1. doi:10.1109/TSG.2015.2437877. ISSN 1949-3053. 
  5. Hong, Tao; Fan, Shu. "Probabilistic Electric Load Forecasting: A Tutorial Review". http://blog.drhongtao.com/2015/08/probabilistic-electric-load-forecasting-a-tutorial-review.html. 
  6. Gaillard, Pierre; Goude, Yannig; Nedellec, Raphaël (2016). "Additive models and robust aggregation for GEFCom2014 probabilistic electric load and electricity price forecasting". International Journal of Forecasting 32 (3): 1038–1050. doi:10.1016/j.ijforecast.2015.12.001. 
  7. Maciejowska, Katarzyna; Nowotarski, Jakub (2016). "A hybrid model for GEFCom2014 probabilistic electricity price forecasting". International Journal of Forecasting 32 (3): 1051–1056. doi:10.1016/j.ijforecast.2015.11.008. http://www.im.pwr.wroc.pl/~hugo/RePEc/wuu/wpaper/HSC_15_06.pdf. 
  8. Koenker, Roger (2005). "Quantile Regression This article has been prepared for the Statistical Theory and Methods section of the Encyclopedia of Environmetrics edited by Abdel El-Shaarawi and Walter Piegorsch. The research was partially supported by NSF grant SES-0850060". Quantile Regression. John Wiley & Sons, Ltd. doi:10.1002/9780470057339.vnn091. ISBN 9780470057339. 
  9. Poncela, Pilar; Rodríguez, Julio; Sánchez-Mangas, Rocío; Senra, Eva (2011). "Forecast combination through dimension reduction techniques". International Journal of Forecasting 27 (2): 224–237. doi:10.1016/j.ijforecast.2010.01.012. 
  10. Granger, Clive W. J.; Ramanathan, Ramu (1984). "Improved methods of combining forecasts". Journal of Forecasting 3 (2): 197–204. doi:10.1002/for.3980030207. ISSN 1099-131X. 
  11. Nowotarski, Jakub; Raviv, Eran; Trück, Stefan; Weron, Rafał (2014). "An empirical comparison of alternative schemes for combining electricity spot price forecasts". Energy Economics 46: 395–412. doi:10.1016/j.eneco.2014.07.014.