betaFeedback

WorksEconomics, Econometrics and Finance

Rolling Window Selection in FAR Models with Structural Instabilities

Abstract

The paper develops a theory for selecting the rolling-window size when generating out-of-sample forecasts with factor-augmented regression (FAR) models in the presence of structural instabilities. It shows how to select a rolling window by minimizing the conditional mean squared forecast error (MSFE) when the factors are latent and need to be estimated. Because the conditional MSFE is unobserved and the factors are latent, this paper proposes a feasible version of the criterion and derives conditions under which the new method is optimal. A simulation experiment documents the procedure's performance.

Introduction

Large datasets of financial and macroeconomic variables are currently easily accessible. In many policy-relevant studies, empirical researchers have found it useful to extract common factors from a large set of economic variables. Originally used in economics by Sargent and Sims [27] and Geweke [19], factor models have been employed to model the dynamics of these common factors, which involve only a few time-series indexes that summarize information in a high-dimensional set of economic variables. Stock and Watson [28] popularized the use of factor-augmented regression (FAR) models or diffusion indices to model a large set of macroeconomic variables and produce forecasts. In practice, a common approach is to rely on the principal component method (PCM) to extract factors and use the estimated factors as predictors in a forecasting equation. For further discussion of the usefulness or applications in applied macro-econometrics of factor-augmented models for forecasting, see, for example, Bernanke, Boivin, and Eliasz [7], Dufour and Stevanovic [18], Aastveit, Bjørnland, and Thorsrud [1], Djogbenou [14], Djogbenou [16], and Djogbenou and Sufana [17]. PCM’s popularity as a factor extraction procedure stems from its computational simplicity and well-known properties established in Bai and Ng [3], Bai [2], and Bai and Ng [4]. Bai and Ng [3] propose criteria for selecting the optimal number of factors. Bai [2] provides a theory for inference of the estimated factors and their loadings. Bai and Ng [4] derive the conditions for the validity of the inference and prediction intervals for a regression model with estimated factors as predictors. Bai and Ng [6] discuss the conditions for identifying the factors. Gonçalves and Perron [21] derive a formula for the asymptotic bias in the distribution of regression coefficients when using estimated rather than observed factors, and propose bootstrap approaches that account for uncertainty in the estimated factors. Djogbenou, Gonçalves, and Perron [13] extend their results to account for time dependence in factor-augmented regression models.

As is well known, very good in-sample predictive ability does not by itself ensure good out-of-sample predictive ability. Rossi [26] points out that although common econometric methods of identifying potentially useful predictors rely on in-sample significance tests, these approaches provide little assurance that the identified predictors are reliable and stable over time. The author discusses optimal model selection tests for regression models with observed regressors under structural instability. Clark and McCracken [11] also discuss the harmful effect of structural change on forecast comparisons. Gonçalves, McCracken, and Perron [20] show that the encompassing test proposed by Clark and McCracken [10] and the Granger causality test by McCracken [24] are asymptotically valid when factors are estimated recursively. However, when a rolling-window version of these tests is employed, the effect of structural instability in the factor loadings and regression coefficients is unclear. It is also unclear how much past information to use for forecasting.

Moreover, in the presence of structural instability, it is natural to rely on observations near the end of the sample. Han and Inoue [22] argue that factor dynamics change when structural breaks occur because factors’ sensitivities change in large data sets. Thus, neglecting these structural changes may reduce efficiency and worsen forecast performance. They propose the Lagrange multiplier and Wald-type tests for structural breaks. Breitung and Eickmeier [8] also suggest an alternative Lagrange multiplier test based on the idea that the number of factors may increase when a structural break occurs in the large panel.

In this paper, we focus on determining the optimal forecasting window size in the presence of estimated factors and structural instability. Several papers have developed procedures for selecting the window size RR in linear regression models with observed regressors. For example, Inoue et al. [23] propose minimizing an approximation to the conditional MSFE, since it is unknown in practice. Chen and Hong [9] develop a test for smooth structural changes as well as abrupt structural breaks in linear regression models. However, none of the existing procedures discuss selecting RR in the presence of estimated factors. In FAR, the latent factors are unknown and can be identified only up to rotation. Bai and Ng [5] and Djogbenou [15] show that the MSFE is inflated in finite samples by a factor-estimation uncertainty term. The implications of factor estimation for selecting the window RR remain unstudied. This paper fills this gap.

This paper develops a method for selecting the window size when forecasting in the presence of time-varying parameters and latent factors. It proposes a procedure that minimizes an estimator of the forecaster’s loss function, that is, the conditional MSFE up to a constant. Because the forecaster’s loss function depends on rotated parameters and rotated latent factors, we propose a feasible version that relies on local linear estimators of the regression coefficients and factor loadings. The paper studies the asymptotic loss efficiency of the new approach and derives conditions for its validity. Simulation experiments document the approach’s performance and show a substantial reduction in mean squared forecast error under the new procedure.

The remainder of the paper is organized as follows. In § 2, we discuss the framework. In § 3, we present the assumptions and the paper’s main theoretical results. § 4 contains the simulation results, while § 5 concludes. We move the proofs to Appendix A, and Appendix B contains additional simulation results. We denote ∥M∥=(Trace⁡(MTM))1/2\lVert M\rVert= \left(\operatorname{Trace}(M^{\mathsf{T}}M)\right)^{1/2}, the Frobenius (Euclidean) norm, Q>0Q > 0, the positive definiteness for any square matrix QQ, and cc or CC, a generic finite constant.

Settings and Framework

Consider the following time-varying coefficient factor-augmented regression model

yt+h=(α(t/T))Tft+(β(t/T))Twt+εt+h,t=1,…,T−h,(1)y_{t+h} = \left(\alpha(t/T)\right)^{\mathsf{T}}f_t + \left(\beta(t/T)\right)^{\mathsf{T}}w_t + \varepsilon_{t+h}, \quad t = 1,\ldots,T-h, \tag*{(1)}

where tt indicates the time period, TT is the time dimension, hh is the horizon of forecast, and εt+h\varepsilon_{t+h} is the regression error. The model assumes the dependent variable yt+hy_{t+h} is explained by qq observed regressors, wtw_t, and rr latent factors, ftf_t, that summarize the comovements in a large set NN of variables, xitx_{it}, i=1,…,Ni = 1,\ldots,N, through the approximate factor model

xit=(λi(t/T))Tft+eit,i=1,…,N, t=1,…,T,(2)x_{it} = \left(\lambda_i(t/T)\right)^{\mathsf{T}}f_t + e_{it}, \quad i = 1,\ldots,N,\ t = 1,\ldots,T, \tag*{(2)}

where eite_{it} is the idiosyncratic error and the factor loading λi(t/T)\lambda_i(t/T) is an rr-vector of unknown deterministic functions of tt. The considered FAR model assumes the regression coefficients and the factor loadings smoothly change over time.

Our interest is to predict yT+hy_{T+h} using the past information and the most recent relevant information that is available, i.e., (yt,wt,x1t,…,xNt)(y_t,w_t,x_{1t},\ldots,x_{Nt}), t=T−R+1,…,Tt = T-R+1,\ldots,T, where RR needs to be determined. We contribute to the literature by developing a theory for selecting the window RR that is robust to factor estimation and structural changes in factor loadings and regression coefficients.

For any window RR, the rolling window approach estimates parameters (factor loadings and regression coefficients) at the terminal date, where t/T=1t/T = 1, and uses RR recent observations to generate a forecast. Because the factors are latent, they must be estimated. The rolling window-based sample analog of the latent factor for the last RR dates and the associated factor loadings are therefore obtained by minimizing the sum of squared idiosyncratic error, ∑i=1N∑t=T−R+1T(xit−λi(1)Tft)2\sum_{i=1}^{N}\sum_{t=T-R+1}^{T}\left(x_{it}-\boldsymbol{\lambda}_{i}(1)^{\mathsf{T}}\mathbf{f}_{t}\right)^{2}, under the restriction 1R∑t=T−R+1TftftT=Ir\frac{1}{R}\sum_{t=T-R+1}^{T}\mathbf{f}_{t}\mathbf{f}_{t}^{\mathsf{T}}=\mathbf{I}_{r}. The solution of the optimization problem, known as the principal component estimator is given by F~R=[f~T−R+1,…,f~T]T:R×r\widetilde{\mathbf{F}}_{R}=\left[\widetilde{\mathbf{f}}_{T-R+1},\ldots,\widetilde{\mathbf{f}}_{T}\right]^{\mathsf{T}}:R\times r, which is R\sqrt{R} times the eigenvectors corresponding to the rr largest eigenvalues of 1NRXRTXR\frac{1}{NR}\mathbf{X}_{R}^{\mathsf{T}}\mathbf{X}_{R}, where XR=(xit)i=1,…,N,t=T−R+1,…,T\mathbf{X}_{R}=(x_{it})_{i=1,\ldots,N,t=T-R+1,\ldots,T}. The estimated factor loadings are obtained by regressing the vector corresponding to each row of XR\mathbf{X}_{R} on the estimated factors. Given the restriction on the estimated factors, the estimated N×rN\times r-matrix of factor loadings is given by Λ~R(1)=[λ~1,R(1),…,λ~N,R(1)]T=1RXRF~R\widetilde{\boldsymbol{\Lambda}}_{R}(1)=\left[\widetilde{\boldsymbol{\lambda}}_{1,R}(1),\ldots,\widetilde{\boldsymbol{\lambda}}_{N,R}(1)\right]^{\mathsf{T}}=\frac{1}{R}\mathbf{X}_{R}\widetilde{\mathbf{F}}_{R}. 2 Bai [2] shows that estimated factors converge to a rotation of the latent factor, where the rotation matrix is given by V~R−11TF~TTFT1NΛ(1)TΛ(1)\widetilde{\mathbf{V}}_{R}^{-1}\frac{1}{T}\widetilde{\mathbf{F}}_{T}^{\mathsf{T}}\mathbf{F}_{T}\frac{1}{N}\boldsymbol{\Lambda}(1)^{\mathsf{T}}\boldsymbol{\Lambda}(1), when the factor loadings in the underlying factor model are time-invariant, where V~R\widetilde{\mathbf{V}}_{R} is an r×rr\times r-diagonal matrix, with the largest eigenvalues on its diagonal in decreasing order using a window of size RR, and Λ(t/T)\boldsymbol{\Lambda}(t/T) is the N×rN\times r-matrix of factor loadings at time tt. We extend that result to the time-varying setting. As we will see later, f~T,R=HRfT+oP(1)\widetilde{\mathbf{f}}_{T,R}=\mathbf{H}_{R}\mathbf{f}_{T}+o_{P}(1), where HR=V~R−11R∑t=T−R+1Tf~tftT1NΛ(t/T)TΛ(1)\mathbf{H}_{R}=\widetilde{\mathbf{V}}_{R}^{-1}\frac{1}{R}\sum_{t=T-R+1}^{T}\widetilde{\mathbf{f}}_{t}\mathbf{f}_{t}^{\mathsf{T}}\frac{1}{N}\boldsymbol{\Lambda}(t/T)^{\mathsf{T}}\boldsymbol{\Lambda}(1) is the new rotation matrix, which is unknown to the econometrician. We also show in the appendix that 1R∑t=T−R+1T∥f~t,R−HRft∥2=OP(δNRT−2)\frac{1}{R}\sum_{t=T-R+1}^{T}\lVert\widetilde{\mathbf{f}}_{t,R}-\mathbf{H}_{R}\mathbf{f}_{t}\rVert^{2}=O_{P}(\delta_{NRT}^{-2}), which extends the finding in Bai and Ng [3] that the order is OP(δNT−2)O_{P}(\delta_{NT}^{-2}) to the time-varying setting, where δNRT2=min⁡[N,R,T2R2]\delta_{NRT}^{2}=\min\left[N,R,\frac{T^{2}}{R^{2}}\right] and δNT2=min⁡[N,T]\delta_{NT}^{2}=\min[N,T].

Let δR(1)=(αT(1)HR−1,βT(1))T\delta_{R}(1)=\left(\boldsymbol{\alpha}^{\mathsf{T}}(1)\mathbf{H}_{R}^{-1},\boldsymbol{\beta}^{\mathsf{T}}(1)\right)^{\mathsf{T}}, z^t,R=(f~t,RT,wtT)T\widehat{\mathbf{z}}_{t,R}=\left(\widetilde{\mathbf{f}}_{t,R}^{\mathsf{T}},\mathbf{w}_{t}^{\mathsf{T}}\right)^{\mathsf{T}}. The rolling window based ordinary least-square estimator of δR(1)\delta_{R}(1), i.e., δ(t/T)\delta(t/T) when t=Tt=T, is obtained by regressing yt+hy_{t+h} on z^t,R\hat{z}_{t,R}, for t=T−R+1,…,T−ht=T-R+1,\ldots,T-h, and given by

δ^R(1)=(∑t=T−R+1T−hz^t,Rz^t,RT)−1∑t=T−R+1T−hz^t,Ryt+h.(3)\hat{\delta}_{R}(1)=\left(\sum_{t=T-R+1}^{T-h}\hat{z}_{t,R}\hat{z}_{t,R}^{\mathsf{T}}\right)^{-1}\sum_{t=T-R+1}^{T-h}\hat{z}_{t,R}y_{t+h}. \tag*{(3)}

The forecast y^T+h,R\hat{y}_{T+h,R} of yT+hy_{T+h} depends on the choice of the window RR and is given by y^T+h,R=δ^R(1)Tz^T,R\hat{y}_{T+h,R}=\hat{\delta}_{R}(1)^{\mathsf{T}}\hat{z}_{T,R}. We can write the forecast error yT+h−y^T+h,Ry_{T+h}-\hat{y}_{T+h,R} as

εT+h−(δ^RT(1)z^T,R−δT(1)zT)=εT+h−(δ^R(1)−δR(1))Tz^T,R−αT(1)HR−1(f~T,R−HRfT),(4)\varepsilon_{T+h}-\left(\hat{\delta}_{R}^{\mathsf{T}}(1)\hat{z}_{T,R}-\delta^{\mathsf{T}}(1)z_T\right)=\varepsilon_{T+h}-\left(\hat{\delta}_{R}(1)-\delta_{R}(1)\right)^{\mathsf{T}}\hat{z}_{T,R}-\alpha^{\mathsf{T}}(1)H_{R}^{-1}\left(\tilde{f}_{T,R}-H_{R}f_T\right), \tag*{(4)}

References

  1. [1]Aastveit, K. A., H. C. Bjørnland, and L. A. Thorsrud (2015). What drives oil prices? Emerging versus developed economies. Journal of Applied Econometrics 30, 1013–1028.
  2. [2]Bai, J. (2003). Inferential theory for factor models of large dimensions. Econometrica 71(1), 135–171.DOI
  3. [3]Bai, J. and S. Ng (2002). Determining the number of factors in approximate factor models. Econometrica 70(1), 191–221.DOI
  4. [4]Bai, J. and S. Ng (2006). Confidence intervals for diffusion index forecasts and inference for factor-augmented regressions. Econometrica 74(4), 1133–1150.DOI
  5. [5]Bai, J. and S. Ng (2009). Boosting diffusion indices. Journal of Applied Econometrics 24(4), 607–629.DOI
  6. [6]Bai, J. and S. Ng (2013). Principal component estimation and identification of static factor model. Journal of Econometrics 176(1), 18–29.
  7. [7]Bernanke, B. S., J. Boivin, and P. Eliasz (2005). Measuring the effects of monetary policy: A factor-augmented vector autoregressive (FAVAR) approach. The Quarterly Journal of Economics 120(1), 387–422.
  8. [8]Breitung, J. and S. Eickmeier (2011). Testing for structural breaks in dynamic factor models. Journal of Econometrics 163(1), 71–84.
  9. [9]Chen, B. and Y. Hong (2012). Testing for smooth structural changes in time series models via nonparametric regression. Econometrica 80(3), 1157–1183.DOI
  10. [10]Clark, T. E. and M. W. McCracken (2001). Tests of equal forecast accuracy and encompassing for nested models. Journal of Econometrics 105(1), 85–110.DOI
  11. [11]Clark, T. E. and M. W. McCracken (2002). Forecast-based model selection in the presence of structural breaks. Research Working Paper RWP 02-05, Federal Reserve Bank of Kansas City.
  12. [12]Davidson, J. (1994). Stochastic limit theory: An introduction for econometricians. Oxford University Press.
  13. [13]Djogbenou, A., S. Gonçalves, and B. Perron (2015). Bootstrap inference in regressions with estimated factors and serial correlation. Journal of Time Series Analysis 36(3), 481–502.
  14. [14]Djogbenou, A. A. (2020). Comovements in the real activity of developed and emerging economies: A test of global versus specific international factors. Journal of Applied Econometrics 35(3), 344–370.
  15. [15]Djogbenou, A. A. (2021). Model selection in factor-augmented regressions with estimated factors. Econometric Reviews 40(5), 470–503.DOI
  16. [16]Djogbenou, A. A. (2024). Identifying oil price shocks with global, developed, and emerging latent real economy activity factors. Journal of Applied Econometrics 39(1), 128–149.DOI
  17. [17]Djogbenou, A. A. and R. Sufana (2024). Tests for group-specific heterogeneity in high-dimensional factor models. Journal of Multivariate Analysis 199, 105233.arxiv.org/abs/2109.09049
  18. [18]Dufour, J.-M. and D. Stevanovic (2013). Factor-augmented VARMA models With macroeconomic applications. Journal of Business & Economic Statistics 31(4), 491–506.DOI
  19. [19]Geweke, J. (1977). The dynamic factor analysis of economic time series. In D. J. Aigner and A. S. Goldberger (Eds.), Latent Variables in Socio-Economic Models, pp. 365–383. Amsterdam: North-Holland.
  20. [20]Gonçalves, S., M. W. McCracken, and B. Perron (2017). Tests of equal accuracy for nested models with estimated factors. Journal of Econometrics 198(2), 231–252.
  21. [21]Gonçalves, S. and B. Perron (2014). Bootstrapping factor-augmented regression models. Journal of Econometrics 182(1), 156–173.
  22. [22]Han, X. and A. Inoue (2015). Tests for parameter instability in dynamic factor models. Econometric Theory 31(5), 1117–1152.
  23. [23]Inoue, A., L. Jin, and B. Rossi (2017). Rolling window selection for out-of-sample forecasting with time-varying parameters. Journal of Econometrics 196(1), 55–67.
  24. [24]McCracken, M. W. (2007). Asymptotics for out-of-sample tests of Granger causality. Journal of Econometrics 140(2), 719–752.DOI
  25. [25]Pesaran, M. H. and A. Timmermann (2007). Selection of estimation window in the presence of breaks. Journal of Econometrics 137(1), 134–161.DOI
  26. [26]Rossi, B. (2005). Optimal tests for nested model selection with underlying parameter instability. Econometric Theory 21(5), 962–990.
  27. [27]Sargent, T. J. and C. A. Sims (1977). Business cycle modeling without pretending to have too much a priori economic theory. Working Paper 55, Federal Reserve Bank of Minneapolis.
  28. [28]Stock, J. H. and M. W. Watson (2002). Forecasting using principal components from a large number of predictors. Journal of the American Statistical Association 97(460), 1167–1179.DOI

Paper details

vlnc:W_2yfsptdn
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Economics, Econometrics and Finance

Not recorded for this paper

View statement
Looking for related papers…
Contents