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.
Citar como
Semin Ibisevic (2024). Dynamic Pooled Forecasting (https://www.mathworks.com/matlabcentral/fileexchange/32104-dynamic-pooled-forecasting), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Computational Finance > Financial Toolbox >
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Mortgage-Backed Securities >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Dynamic Pooled Forecasting/
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |