Description Usage Arguments Details Value Author(s) References See Also Examples
Combine different forecasts using complete subset regressions. Apart from the simple averaging, weights based on information criteria (AIC, corrected AIC, Hannan Quinn and BIC).
1 | comb_CSR(x)
|
x |
An object of class |
OLS forecast combination is based on
obs_t = const + ∑_{i = 1}^p w_{i} \widehat{obs}_{it} + e_t,
where obs is the observed values and \widehat{obs} is the forecast, one out of the p forecasts available.
The function computes the complete subset regressions. So a matrix of forecasts based on all possible subsets of fhat
is returned.
Those forecasts can later be cross-sectionally averaged (averaged over rows) to create a single combined forecast using weights which are based on the information criteria of the different individual regression, rather than a simple average.
Additional weight-vectors which are based on different information criteria are also returned. This is in case the user would like to perform the frequensit version of forecast averaging (see references for more details).
Although the function is geared towards forecast averaging, it can be used in any other application as a generic complete subset regression.
Returns an object of class foreccomb_res
with the following components:
Method |
Returns the used forecast combination method. |
Models |
Returns the individual input models that were used for the forecast combinations. |
Weights |
Returns the combination weights based on the different information criteria. |
Fitted |
Returns the fitted values for each information criterion. |
Accuracy_Train |
Returns range of summary measures of the forecast accuracy for the training set. |
Forecasts_Test |
Returns forecasts produced by the combination method for the test set. Only returned if input included a forecast matrix for the test set. |
Accuracy_Test |
Returns range of summary measures of the forecast accuracy for the test set. Only returned if input included a forecast matrix and a vector of actual values for the test set. |
Input_Data |
Returns the data forwarded to the method. |
Eran Raviv and Gernot R. Roetzer
Hansen, B. (2008). Least-squares forecast averaging Journal of Econometrics, 146(2), 342–350.
Kapetanios, G., Labhard V., Price, S. (2008). Forecasting Using Bayesian and Information-Theoretic Model Averaging. Journal of Business & Economic Statistics, 26(1).
Koenker R. (2005). Quantile Regression. Cambridge University Press.
Graham, E., Garganob, A., Timmermann, A. (2013). Complete subset regressions. Journal of Econometrics, 177(2), 357–373.
foreccomb
,
plot.foreccomb_res
,
summary.foreccomb_res
,
comb_NG
,
accuracy
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.