Dynamic Pooled Forecasting
[See also Description.pdf for an economical description of the methodology].
In this package one can find two popular techniques to pool different sources of information. The first relates to combining individual forecasts through simple averaging schemes (mean or median) or through a discounting weighted function, proposed by Stock and Watson (2004). The second, consistent with Neely (2011), combines the explanatory factors through a principal component regression. Many options are included to optimize the forecasts, as for instance:
- expanding or rolling window
- the number of lags in the regressions
- different distributions for the coefficient estimates (Normal, Exponential, Logit, etc...)
- different combination techniques
- manual choice of the discount factor
- the number of principal components to be included in the forecasts (see also screenshot)
- whether the eigenvectors should be obtained on the base of the correlation matrix or covariance matrix.
Both techniques are implemented through a dynamic (real-time) framework.
The package consists of the following files:
- indivfc.m: function that makes individidual forecasts for k factors
- combinefc: function that combines the given individual forecasts
- pcafc.m: function that performs a pooled regression on the base of J principal components.
- Description.pdf: full methodology described
- dataset.mat: time series obtained from Yahoo finance as an illustrative example.
- Example.m: main function which demonstrates the use of this package.
All functions are provided with a carefull and detailed description, in a similar format as the MATLAB guidelines.
Main references:
J. H. Stock and M. W. Watson. Combination forecasts of output growth in a seven-country data set. Journal of Economic Literature, 23:405-430, 2004.
C. J. Neely, D. E. Rapach, J. TU, and G. Zhou. Out-of-sample equity premium prediction: Fundamental vs. technical analysis. Technical report, Singapore Management University, 2011.
Citation pour cette source
Semin Ibisevic (2025). Dynamic Pooled Forecasting (https://fr.mathworks.com/matlabcentral/fileexchange/32104-dynamic-pooled-forecasting), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Computational Finance > Financial Toolbox >
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Mortgage-Backed Securities >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Dynamic Pooled Forecasting/
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
