Skip to main content
Top
Published in: Empirical Economics 6/2023

22-12-2022

Forecasting in the presence of in-sample and out-of-sample breaks

Authors: Jiawen Xu, Pierre Perron

Published in: Empirical Economics | Issue 6/2023

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

We present a frequentist-based approach to forecast time series in the presence of in-sample and out-of-sample breaks in the parameters of the forecasting model. We first model the parameters as following a random level shift process, with the occurrence of a shift governed by a Bernoulli process. In order to have a structure so that changes in the parameters be forecastable, we introduce two modifications. The first models the probability of shifts according to some covariates that can be forecasted. The second incorporates a built-in mean reversion mechanism to the time path of the parameters. Similar modifications can also be made to model changes in the variance of the error process. Our full model can be cast into a conditional linear and Gaussian state space framework. To estimate it, we use the mixture Kalman filter and a Monte Carlo expectation maximization algorithm. Simulation results show that our proposed forecasting model provides improved forecasts over standard forecasting models that are robust to model misspecifications. We provide two empirical applications and compare the forecasting performance of our approach with a variety of alternative methods. These show that substantial gains in forecasting accuracy are obtained.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Appendix
Available only for authorised users
Footnotes
1
We also compared the forecasting performance using Pesaran et al. (2006)’s composite and last regime model. Our RLS model performs better in most cases for forecasts computed every 12 months as in their paper. We do not include their model in our comparisons set due to computational constraints. Their method is highly computationally intensive and we could not apply it to forecasts computed every months. The sample obtained using forecasts computed every 12 months makes it too small for a valid MCS testing.
 
Literature
go back to reference Andrews DW (1993) Tests for parameter instability and structural change with unknown change point. Econom J Econom Soc 61:821–856 Andrews DW (1993) Tests for parameter instability and structural change with unknown change point. Econom J Econom Soc 61:821–856
go back to reference Ang A, Bekaert G (2002) International asset allocation with regime shifts. Rev Financ Stud 15(4):1137–1187 Ang A, Bekaert G (2002) International asset allocation with regime shifts. Rev Financ Stud 15(4):1137–1187
go back to reference Bai J, Perron P (1998) Estimating and testing linear models with multiple structural changes. Econometrica 66:47–78 Bai J, Perron P (1998) Estimating and testing linear models with multiple structural changes. Econometrica 66:47–78
go back to reference Bai J, Perron P (2003) Computation and analysis of multiple structural change models. J Appl Econom 18(1):1–22 Bai J, Perron P (2003) Computation and analysis of multiple structural change models. J Appl Econom 18(1):1–22
go back to reference Bilmes JA et al (1998) A gentle tutorial of the EM algorithm and its application to parameter estimation for Gaussian mixture and hidden Markov models. Int Comput Sci Inst 4(510):126 Bilmes JA et al (1998) A gentle tutorial of the EM algorithm and its application to parameter estimation for Gaussian mixture and hidden Markov models. Int Comput Sci Inst 4(510):126
go back to reference Blasques F, Koopman SJ, Łasak K, Lucas A (2016) In-sample confidence bands and out-of-sample forecast bands for time-varying parameters in observation-driven models. Int J Forecast 32(3):875–887 Blasques F, Koopman SJ, Łasak K, Lucas A (2016) In-sample confidence bands and out-of-sample forecast bands for time-varying parameters in observation-driven models. Int J Forecast 32(3):875–887
go back to reference Chen R, Liu JS (2000) Mixture Kalman filters. J R Stat Soc Ser B (Stat Methodol) 62(3):493–508 Chen R, Liu JS (2000) Mixture Kalman filters. J R Stat Soc Ser B (Stat Methodol) 62(3):493–508
go back to reference Chib S (1998) Estimation and comparison of multiple change-point models. J Econom 86(2):221–241 Chib S (1998) Estimation and comparison of multiple change-point models. J Econom 86(2):221–241
go back to reference Chow GC (1984) Random and changing coefficient models. Handb Econ 2:1213–1245 Chow GC (1984) Random and changing coefficient models. Handb Econ 2:1213–1245
go back to reference Clements MP, Hendry DF (2006) Forecasting with breaks. Handb Econ Forecast 1:605–657 Clements MP, Hendry DF (2006) Forecasting with breaks. Handb Econ Forecast 1:605–657
go back to reference Cogley T, Sargent TJ (2005) Drifts and volatilities: monetary policies and outcomes in the post WWII US. Rev Econ Dyn 8(2):262–302 Cogley T, Sargent TJ (2005) Drifts and volatilities: monetary policies and outcomes in the post WWII US. Rev Econ Dyn 8(2):262–302
go back to reference Dempster AP, Laird NM, Rubin DB (1977) Maximum likelihood from incomplete data via the EM algorithm. J R Stat Soc Ser B (Methodol) 39(1):1–22 Dempster AP, Laird NM, Rubin DB (1977) Maximum likelihood from incomplete data via the EM algorithm. J R Stat Soc Ser B (Methodol) 39(1):1–22
go back to reference Duan JC, Fulop A (2011) A stable estimator of the information matrix under EM for dependent data. Stat Comput 21(1):83–91 Duan JC, Fulop A (2011) A stable estimator of the information matrix under EM for dependent data. Stat Comput 21(1):83–91
go back to reference Fama EF, French KR (1993) Common risk factors in the returns on stocks and bonds. J Financ Econ 33:3–56 Fama EF, French KR (1993) Common risk factors in the returns on stocks and bonds. J Financ Econ 33:3–56
go back to reference Garcia R, Perron P (1996) An analysis of the real interest rate under regime shifts. Rev Econ Stat 78:111–125 Garcia R, Perron P (1996) An analysis of the real interest rate under regime shifts. Rev Econ Stat 78:111–125
go back to reference Gerlach R, Carter C, Kohn R (2000) Efficient Bayesian inference for dynamic mixture models. J Am Stat Assoc 95(451):819–828 Gerlach R, Carter C, Kohn R (2000) Efficient Bayesian inference for dynamic mixture models. J Am Stat Assoc 95(451):819–828
go back to reference Giordani P, Kohn R (2008) Efficient Bayesian inference for multiple change-point and mixture innovation models. J Bus Econ Stat 26(1):66–77 Giordani P, Kohn R (2008) Efficient Bayesian inference for multiple change-point and mixture innovation models. J Bus Econ Stat 26(1):66–77
go back to reference Giordani P, Kohn R, van Dijk D (2007) A unified approach to nonlinearity, structural change, and outliers. J Econom 137(1):112–133 Giordani P, Kohn R, van Dijk D (2007) A unified approach to nonlinearity, structural change, and outliers. J Econom 137(1):112–133
go back to reference Godsill SJ, Doucet A, West M (2004) Monte Carlo smoothing for nonlinear time series. J Am Stat Assoc 99(465):156–168 Godsill SJ, Doucet A, West M (2004) Monte Carlo smoothing for nonlinear time series. J Am Stat Assoc 99(465):156–168
go back to reference Gray SF (1996) Modeling the conditional distribution of interest rates as a regime-switching process. J Financ Econ 42(1):27–62 Gray SF (1996) Modeling the conditional distribution of interest rates as a regime-switching process. J Financ Econ 42(1):27–62
go back to reference Groen JJ, Paap R, Ravazzolo F (2013) Real-time inflation forecasting in a changing world. J Bus Econ Stat 31(1):29–44 Groen JJ, Paap R, Ravazzolo F (2013) Real-time inflation forecasting in a changing world. J Bus Econ Stat 31(1):29–44
go back to reference Hamilton J (1994) Time Series Analysis. Princeton University Press Hamilton J (1994) Time Series Analysis. Princeton University Press
go back to reference Hansen PR, Lunde A, Nason JM (2011) The model confidence set. Econometrica 79(2):453–497 Hansen PR, Lunde A, Nason JM (2011) The model confidence set. Econometrica 79(2):453–497
go back to reference Harvey A (2006) Forecasting with unobserved components time series models. Handb Econ Forecast 1:327–412 Harvey A (2006) Forecasting with unobserved components time series models. Handb Econ Forecast 1:327–412
go back to reference Hull J, White A (1987) The pricing of options on assets with stochastic volatilities. J Financ 42(2):281–300 Hull J, White A (1987) The pricing of options on assets with stochastic volatilities. J Financ 42(2):281–300
go back to reference Jagannathan R, McGrattan ER, Scherbina A (2000) The declining US equity premium. Fed Reserve Bank Minneap Q Rev 24(4):3–19 Jagannathan R, McGrattan ER, Scherbina A (2000) The declining US equity premium. Fed Reserve Bank Minneap Q Rev 24(4):3–19
go back to reference Koop G, Potter SM (2007) Estimation and forecasting in models with multiple breaks. Rev Econ Stud 74(3):763–789 Koop G, Potter SM (2007) Estimation and forecasting in models with multiple breaks. Rev Econ Stud 74(3):763–789
go back to reference Lettau M, Van Nieuwerburgh S (2008) Reconciling the return predictability evidence: The review of financial studies: reconciling the return predictability evidence. Rev Financ Stud 21(4):1607–1652 Lettau M, Van Nieuwerburgh S (2008) Reconciling the return predictability evidence: The review of financial studies: reconciling the return predictability evidence. Rev Financ Stud 21(4):1607–1652
go back to reference Li Y, Perron P, Xu J (2017) Modelling exchange rate volatility with random level shifts. Appl Econ 49(26):2579–2589 Li Y, Perron P, Xu J (2017) Modelling exchange rate volatility with random level shifts. Appl Econ 49(26):2579–2589
go back to reference Lu YK, Perron P (2010) Modeling and forecasting stock return volatility using a random level shift model. J Empir Financ 17(1):138–156 Lu YK, Perron P (2010) Modeling and forecasting stock return volatility using a random level shift model. J Empir Financ 17(1):138–156
go back to reference Luo D, Pang T, Xu J (2021) Forecasting US yield curve using the dynamic Nelson–Siegel model with random level shift parameters. Econ Model 94:340–350 Luo D, Pang T, Xu J (2021) Forecasting US yield curve using the dynamic Nelson–Siegel model with random level shift parameters. Econ Model 94:340–350
go back to reference Maheu JM, Gordon S (2008) Learning, forecasting and structural breaks. J Appl Economet 23(5):553–583 Maheu JM, Gordon S (2008) Learning, forecasting and structural breaks. J Appl Economet 23(5):553–583
go back to reference Maheu JM, McCurdy TH (2009) How useful are historical data for forecasting the long-run equity return distribution? J Bus Econ Stat 27(1):95–112 Maheu JM, McCurdy TH (2009) How useful are historical data for forecasting the long-run equity return distribution? J Bus Econ Stat 27(1):95–112
go back to reference McCulloch RE, Tsay RS (1993) Bayesian inference and prediction for mean and variance shifts in autoregressive time series. J Am Stat Assoc 88(423):968–978 McCulloch RE, Tsay RS (1993) Bayesian inference and prediction for mean and variance shifts in autoregressive time series. J Am Stat Assoc 88(423):968–978
go back to reference Nicholls D, Pagan A (1985) 16 varying coefficient regression. Handb Stat 5:413–449 Nicholls D, Pagan A (1985) 16 varying coefficient regression. Handb Stat 5:413–449
go back to reference Olsson J, Rydén T (2008) Asymptotic properties of particle filter-based maximum likelihood estimators for state space models. Stoch Process Their Appl 118(4):649–680 Olsson J, Rydén T (2008) Asymptotic properties of particle filter-based maximum likelihood estimators for state space models. Stoch Process Their Appl 118(4):649–680
go back to reference Olsson J, Cappé O, Douc R, Moulines E (2008) Sequential Monte Carlo smoothing with application to parameter estimation in nonlinear state space models. Bernoulli 14(1):155–179 Olsson J, Cappé O, Douc R, Moulines E (2008) Sequential Monte Carlo smoothing with application to parameter estimation in nonlinear state space models. Bernoulli 14(1):155–179
go back to reference Pástor L, Stambaugh RF (2001) The equity premium and structural breaks. J Financ 56(4):1207–1239 Pástor L, Stambaugh RF (2001) The equity premium and structural breaks. J Financ 56(4):1207–1239
go back to reference Paye BS, Timmermann A (2006) Instability of return prediction models. J Empir Financ 13(3):274–315 Paye BS, Timmermann A (2006) Instability of return prediction models. J Empir Financ 13(3):274–315
go back to reference Perron P (2006) Dealing with structural breaks. Palgrave Handb Econom 1(2):278–352 Perron P (2006) Dealing with structural breaks. Palgrave Handb Econom 1(2):278–352
go back to reference Perron P, Qu Z (2010) Long-memory and level shifts in the volatility of stock market return indices. J Bus Econ Stat 28(2):275–290 Perron P, Qu Z (2010) Long-memory and level shifts in the volatility of stock market return indices. J Bus Econ Stat 28(2):275–290
go back to reference Perron P, Xu J (2016) Comments on “in-sample confidence bands and out-of-sample forecast bands for time-varying parameters in observation driven models’’. Int J Forecast 3(32):891–892 Perron P, Xu J (2016) Comments on “in-sample confidence bands and out-of-sample forecast bands for time-varying parameters in observation driven models’’. Int J Forecast 3(32):891–892
go back to reference Pesaran MH, Timmermann A (2002) Market timing and return prediction under model instability. J Empir Financ 9(5):495–510 Pesaran MH, Timmermann A (2002) Market timing and return prediction under model instability. J Empir Financ 9(5):495–510
go back to reference Pesaran MH, Pettenuzzo D, Timmermann A (2006) Forecasting time series subject to multiple structural breaks. Rev Econ Stud 73(4):1057–1084 Pesaran MH, Pettenuzzo D, Timmermann A (2006) Forecasting time series subject to multiple structural breaks. Rev Econ Stud 73(4):1057–1084
go back to reference Pettenuzzo D, Timmermann A (2011) Predictability of stock returns and asset allocation under structural breaks. J Econom 164(1):60–78 Pettenuzzo D, Timmermann A (2011) Predictability of stock returns and asset allocation under structural breaks. J Econom 164(1):60–78
go back to reference Pettenuzzo D, Timmermann A, Valkanov R (2014) Forecasting stock returns under economic constraints. J Financ Econ 114(3):517–553 Pettenuzzo D, Timmermann A, Valkanov R (2014) Forecasting stock returns under economic constraints. J Financ Econ 114(3):517–553
go back to reference Qu Z, Perron P (2013) A stochastic volatility model with random level shifts and its applications to S &P 500 and NASDAQ return indices. Econom J 16(3):309–339 Qu Z, Perron P (2013) A stochastic volatility model with random level shifts and its applications to S &P 500 and NASDAQ return indices. Econom J 16(3):309–339
go back to reference Rapach DE, Wohar ME (2006) Structural breaks and predictive regression models of aggregate us stock returns. J Financ Econom 4(2):238–274 Rapach DE, Wohar ME (2006) Structural breaks and predictive regression models of aggregate us stock returns. J Financ Econom 4(2):238–274
go back to reference Ray BK, Tsay RS (2002) Bayesian methods for change-point detection in long-range dependent processes. J Time Ser Anal 23(6):687–705 Ray BK, Tsay RS (2002) Bayesian methods for change-point detection in long-range dependent processes. J Time Ser Anal 23(6):687–705
go back to reference Rosenberg B (1973) Random coefficients models: the analysis of a cross section of time series by stochastically convergent parameter regression. Ann Econ Soc Meas 2(4):399–428 (NBER) Rosenberg B (1973) Random coefficients models: the analysis of a cross section of time series by stochastically convergent parameter regression. Ann Econ Soc Meas 2(4):399–428 (NBER)
go back to reference Smith A (2012) Markov breaks in regression models. J Time Ser Econom 4(1):1–35 Smith A (2012) Markov breaks in regression models. J Time Ser Econom 4(1):1–35
go back to reference Stock JH, Watson MW (1996) Evidence on structural instability in macroeconomic time series relations. J Bus Econ Stat 14(1):11–30 Stock JH, Watson MW (1996) Evidence on structural instability in macroeconomic time series relations. J Bus Econ Stat 14(1):11–30
go back to reference Stock JH, Watson MW (2007) Why has us inflation become harder to forecast? J Money Credit Bank 39:3–33 Stock JH, Watson MW (2007) Why has us inflation become harder to forecast? J Money Credit Bank 39:3–33
go back to reference Varneskov RT, Perron P (2018) Combining long memory and level shifts in modelling and forecasting the volatility of asset returns. Quant Finance 18(3):371–393 Varneskov RT, Perron P (2018) Combining long memory and level shifts in modelling and forecasting the volatility of asset returns. Quant Finance 18(3):371–393
go back to reference Wei GC, Tanner MA (1990) A Monte Carlo implementation of the EM algorithm and the poor man’s data augmentation algorithms. J Am Stat Assoc 85(411):699–704 Wei GC, Tanner MA (1990) A Monte Carlo implementation of the EM algorithm and the poor man’s data augmentation algorithms. J Am Stat Assoc 85(411):699–704
go back to reference Welch I, Goyal A (2008) A comprehensive look at the empirical performance of equity premium prediction. Rev Financ Stud 21(4):1455–1508 Welch I, Goyal A (2008) A comprehensive look at the empirical performance of equity premium prediction. Rev Financ Stud 21(4):1455–1508
go back to reference Wu CJ (1983) On the convergence properties of the EM algorithm. Ann Stat 11:95–103 Wu CJ (1983) On the convergence properties of the EM algorithm. Ann Stat 11:95–103
go back to reference Xia Y (2001) Learning about predictability: the effects of parameter uncertainty on dynamic asset allocation. J Financ 56(1):205–246 Xia Y (2001) Learning about predictability: the effects of parameter uncertainty on dynamic asset allocation. J Financ 56(1):205–246
go back to reference Xu L, Jordan MI (1996) On convergence properties of the EM algorithm for Gaussian mixtures. Neural Comput 8(1):129–151 Xu L, Jordan MI (1996) On convergence properties of the EM algorithm for Gaussian mixtures. Neural Comput 8(1):129–151
go back to reference Xu J, Perron P (2014) Forecasting return volatility: level shifts with varying jump probability and mean reversion. Int J Forecast 30(3):449–463 Xu J, Perron P (2014) Forecasting return volatility: level shifts with varying jump probability and mean reversion. Int J Forecast 30(3):449–463
Metadata
Title
Forecasting in the presence of in-sample and out-of-sample breaks
Authors
Jiawen Xu
Pierre Perron
Publication date
22-12-2022
Publisher
Springer Berlin Heidelberg
Published in
Empirical Economics / Issue 6/2023
Print ISSN: 0377-7332
Electronic ISSN: 1435-8921
DOI
https://doi.org/10.1007/s00181-022-02346-x

Other articles of this Issue 6/2023

Empirical Economics 6/2023 Go to the issue

Premium Partner