Lectures on Structural Change

Lectures on Structural Change

Lectures on Structural Change Eric Zivot Department of Economics, University of Washington April 4, 2001 1 Overview of Testing for and Estimating Struc- tural Change in Econometric Models 2 Some Preliminary Asymptotic Theory Reference: Stock, J.H. (1994) “Unit Roots, Structural Breaks and Trends,” in Handbook of Econometrics, Vol. IV. 3 Tests of Parameter Constancy in Linear Mod- els 3.1 Rolling Regression Reference: Zivot, E. and J. Wang (2002). Modeling Financial Time Series with S-PLUS. Springer-Verlag, New York. For a window of width k<n<T,the rolling linear regression model is yt(n) = Xt(n)βt(n) + εt(n),t= n,...,T (n 1) (n k) (k 1) (n 1) × × × × Observations in yt(n)andXt(n)aren most recent values from times • t n +1tot − OLS estimates are computed for sliding windows of width n and increment • m Poor man’s time varying regression model • 3.1.1 Application: Simulated Data Consider the linear regression model yt = α + βxt + εt,t=1,...,T =200 xt iid N(0, 1) ∼ 2 εt iid N(0,σ ) ∼ 1 No structural change parameterization: α =0,β =1,σ =0.5 Structural change cases Break in intercept: α =1fort>100 • Break in slope: β =3fort>100 • Break in variance: σ =0.25 for t>100 • Random walk in slope: β = βt = βt 1 +ηt,ηt iid N(0, 0.1) and β0 =1. • − ∼ (show simulated data) 3.1.2 Application: Exchange rate regressions References: 1. Bailey, R. and T. Bollerslev (???) 2. Sakoulis, G. and E. Zivot (2001). “Time Variation and Structural Change in the Forward Discount: Implications for the Forward Rate Unbiasedness Hypothesis,” unpublished manuscript, Department of Eco- nomics, University of Washington. Let st = log of spot exchange rate in month t ft = log of forward exchange rate in month t The forward rate unbiased hypothesis is typically investigated using the so-called differences regression ∆st+1 = α + β(ft st)+εt+1 − ft st = forward discount − If the forward rate ft is an unbiased forecast of the future spot rate st+1 then we should find α = 0 and β =1 The forward discount is often modeled as an AR(1) model ft st = δ + φ(ft 1 st 1)+ut − − − − Statistical Issues ∆st+1 is close to random walk with large variance • ft st behaves like highly persistent AR(1) with small variance • − ft st appears to be unstable over time • − Tasks: compute rolling regressions for 24-month windows incremented by 1 month • compute rolling regressions for 48-month windows incremented by 12 months • (insert rolling regression graphs here) 2 3.2 Chow Forecast Test Reference: Chow, G.C. (1960). “Tests of Equality between Sets of Coeffi- cients in Two Linear Regressions,” Econometrica, 52, 211-22. Consider the linear regression model with k variables 2 yt = x0tβ + ut,ut (0,σ ),t=1,...,n ∼ y = Xβ + u Parameter constancy hypothesis H0 : β is constant Chow forecast test intuition If parameters are constant then out-of-sample forecasts should be unbiased • (forecast errors have mean zero) Chow forecast test construction: Split sample into n1 >kand n2 = n n1 observations • − y n X n y = 1 1 , X = 1 1 y2 n2 X2 n2 µ ¶ µ ¶ Fit model using first n1 observations • ˆ 1 β1 =(X10 X1)− X10 y1 ˆ uˆ1 = y1 X1β1 2 − σˆ = uˆ0 uˆ1/(n1 k) 1 1 − Use βˆ and X2 to predict y2 using next n2 observations • 1 ˆ yˆ2 = X2β1 Compute out-of-sample prediction errors • uˆ2 = y2 yˆ = y2 X2βˆ − 2 − 1 Under H0 : β is constant uˆ2 = u2 X2(βˆ β) − 1− and E[uˆ2]=0 2 1 n var(uˆ2)=σ I 2 + X2(X10 X1)− X20 ³ ´ 3 Further, If the errors u are Gaussian then uˆ2 N(0,var(uˆ2)) ∼ 1 2 uˆ20 var(uˆ2)− uˆ2 χ (n2) 2 2 ∼ 2 (n1 k)ˆσ /σ χ (n1 k) − 1 ∼ − This motivates the Chow forecast test statistic 1 uˆ20 In2 + X2(X10 X1)− X20 uˆ2 ChowFCST(n2)= 2 F (n2,n1 k) ³ n2σˆ1 ´ ∼ − Remarks: Test is a general specification test for unbiased forecasts • Implementation requires apriorisplitting of data into fitandforecast • samples 3.2.1 Application: Exchange rate regression cont’d (show Eviews output for Chow forecast test) 3.3 CUSUM and CUSUMSQ Tests Reference: Brown, R.L., J. Durbin and J.M. Evans (1975). “Techniques for Testing the Constancy of Regression Relationships over Time,” Journal of the Royal Statistical Society, Series B, 35, 149-192. 3.3.1 Recursive least squares estimation The recursive least squares (RLS) estimates of β are based on estimating yt = βt0 xt + ξt,t=1,...,n by least squares recursively for t = k +1,...,ngiving n k least squares (RLS) ˆ ˆ − estimates (βk+1,...,βT ). RLS estimates may be efficiently computed using the Kalman Filter • If β is constant over time then βˆt should quickly settle down near a com- • mon value. If some of the elements in β are not constant then the corresponding RLS • estimates should show instability. Hence, a simple graphical technique for uncovering parameter instability is to plot the RLS estimates βˆit (i =1, 2) and look for instability in the plots. 4 3.3.2 Recursive residuals Formal tests for structural stability of the regression coefficients may be com- puted from the standardized 1 step ahead recursive residuals − ˆ0 vt yt βt 1xt wt = = − − √ft √ft 2 1 ft =ˆσ 1+x0t(Xt0 Xt)− xt h i Intuition: If β changes in the next period then the forecast error will not have mean • zero 3.3.3 CUSUM statistic The CUSUM statistic of Brown, Durbin and Evans (1975) is t wˆj CUSUMt = σˆw j=k+1 X n 2 1 2 σˆ = (wt w¯) w n k t=1 − − X Under the null hypothesis that β is constant, CUSUMt has mean zero and variance that is proportional to t k 1. − − 3.3.4 Application: Simulated Data (insert graphs here) Remarks Ploberger and Kramer (1990) show the CUSUM test can be constructed • with OLS residuals instead of recursive residuals CUSUM Test is essentially a test to detect instability in intercept alone • CUSUM Test has power only in direction of the mean regressors • CUSUMSQ test does not have good power for changing coefficients but • has power for changing variance 3.3.5 Application: Exchange Rate Regression cont’d (show recursive estimates, CUSUM and CUSUMSQ plots) 5 3.4 Nyblom’s Parameter Stability Test Reference:Nyblom, J. (1989). “Testing for the Constancy of Parameters Over Time,” Journal of the American Statistical Association, 84 (405), 223-230. Consider the linear regression model with k variables yt = x0tβ + εt The time varying parameter (TVP) model assumes 2 β = βt = βt 1 + ηt, ηt (0,ση) − ∼ Note: the TVP model nests the single break model by setting ηt = γ, t = r +1 and ηt =0otherwise. The hypotheses of interest are then 2 H0 : β is constant ση =0 ⇔ 2 H1 : ση > 0 Nyblom (1989) derives the locally best invariant test as the Lagrange multiplier test n n n 1 2 L = tr S−n ˆεkxk ˆεkx0k /σˆε >c j=1 k=j k=j X X X 1 ˆεt = yt x0tβˆ, βˆ =(X0X)− X0y −1 Sn = n− X0X Under mild assumptions regarding the behavior of the regressors, the limiting distribution of L under the null is a Camer-von Mises distribution: 1 µ µ L Bk (λ)Bk (λ)dλ ⇒ 0 µ Z Bk (λ)=Wk(λ) λWk(1) − Wk(λ) = k dimensional Brownian motion Remarks: Test statistic is a sum of cumulative sums of weighted full sample residuals • Test is for constancy of all parameters • Test is applicable for models estimated by methods other than OLS • Distribution of L is different if xt is non-stationary (unit root, determin- • istic trend) 6 3.4.1 Application: Simulated Data Nyblom Test Model Lc No SC .332 Mean shift 13.14∗∗∗ Slope shift 14.13∗∗∗ var shift .351 RW slop e 9.77∗∗∗ 3.4.2 Application: Exchange rate regression cont’d Nyblom Test Model Lc AR(1) 1.27∗∗∗ Diff reg .413 3.5 Hansen’s Parameter Stability Tests References 1. Hansen, B.E. (1992). “Testing for Parameter Instability in Linear Mod- els ”Journal of Policy Modeling, 14(4), 517-533. 2. Hansen, B.E. (1992). “Tests for Parameter Instability in Regressions with I(1) Processes,” Journal of Business and Economic Statistics,10, 321-336. Same set-up as Nyblom’s LM test. Under the null of constant parameters, the score vector from the linear model with Gaussian errors is based on the normal equations n xitˆεt =0,i=1,...,k t=1 X 2 2 (ˆεt σˆ )=0 − X ˆεt = yt x0tβˆ − n 2 1 2 σˆ = n− ˆεt t=1 X Define xitˆεt i =1,...k fit = 2 2 ˆεt σˆ i = k +1 ½t − Sit = fij ,i=1,...,k+1 j=1 X 7 Note that n fit =0,i=1,...,k+1 i=1 X Hansen’s LM test for H0 : βi is constant, i =1,...,k and for 2 H0 : σ is constant is n 1 2 Li = Sit,i=1,...,k nVi t=1 n X 2 Vi = fit t=1 X Under the null of no structural change 1 µ µ Li B (λ)B (λ)dλ ⇒ 1 1 Z0 For testing the joint hypothesis 2 H0 : β and σ are constant define the (k +1) 1 vectors × ft =(f1t,...,fk+1,t)0 St =(S1t,...,Sk+1,t)0 Hansen’s LM statistic for testing the constancy of all parameters is n n 1 1 1 1 Lc = S V St = tr V StS n 0t − n − 0t t=1 à t=1 ! nX X V = ftft0 t=1 X Under the null of no-structural change 1 µ µ Lc Bk (λ)Bk (λ)dλ ⇒ +1 +1 Z0 Remarks Tests are very easy to compute and are robust to heteroskedasticity • 8 Null distribution is non-standard and depends upon number of parameters • tested for stability 5% critical value for individual tests is 0.470 • Tests are not informative about the date of structural change • Hansen’s L1 test for constancy of intercept is analogous to the CUSUM • test Hansen’s Lk+1 test for constancy of variance is analogous to CUSUMSQ • test Hansen’s Lc test for constancy of all parameters is similar to Nybolom’s • test Distribution of tests is different if data are nonstationary (unit root, de- • terministic trend) - see Hansen (1992), JBES.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us