Structural Break WLS (Weighted Least Squares with Structural Break Correction)

Econometrics
Introduced by
Bai & Perron (structural break framework); WLS classical
Year
1998 (break framework); WLS long-established
Type
Weighted regression with regime shifts
Family
Econometrics / time series

What does it do?

Structural Break WLS combines weighted least squares (WLS) estimation with explicit identification of structural breaks, which are abrupt shifts in the regression relationship.

Observations are weighted by the inverse of their estimated error variance, so heteroscedasticity, including changes in variance across regimes, is accounted for alongside the break. The coefficient estimates are efficient only when the weights and break dates are correctly specified, and because both are estimated from the data, their uncertainty should be considered when interpreting results.

The intuition behind the method

Standard WLS already handles heteroscedasticity by giving less weight to noisier observations. When a structural break occurs, such as a financial crisis or a policy change, the error variance may shift and the underlying relationship may change as well. Structural Break WLS first locates the regime boundaries, then applies weights so that the changing variance does not distort the coefficient estimates within each regime. The result describes each regime's relationship under its own variance pattern, with the break dates themselves estimated from the data.

History

Bai and Perron (1998) developed the estimation and testing theory for linear regression models with multiple structural changes, including tests for the number of breaks and allowance for serially correlated disturbances. WLS is a classical correction for heteroscedasticity. The combined procedure described here assembles these two components; the Bai and Perron paper does not itself include a weighted-regression correction, and no single originating source for the combination is documented.

When to use it

Choose Structural Break WLS when the error variance appears non-constant and the relationship may also shift abruptly at one or more dates, either known from the context or identified with a procedure such as Bai-Perron. Typical settings are macroeconomic, financial, or policy-impact series that span identifiable events such as crises, reforms, or institutional changes. Do not use it when parameters change gradually, because the method models only abrupt shifts and a time-varying parameter model is more suitable. Avoid it when the sample is too short to estimate weights and coefficients reliably in each regime, since break dating and variance estimation both become imprecise. If heteroscedasticity is mild and there is no evidence of a regime shift, OLS with heteroscedasticity-robust standard errors is a simpler alternative.

Limitations and considerations

  • Break dates are estimated with uncertainty, and dating errors distort both the regime-specific variance estimates that define the weights and the coefficients estimated in each regime.
  • Each regime must contain enough observations to estimate its weights and coefficients; a trimming parameter sets a minimum segment length, and very short segments give unstable estimates.
  • The number of breaks must be chosen, either by a sequential testing procedure or by an information criterion; this model-selection step affects every later estimate.
  • Only abrupt shifts are modelled, so gradual or smooth parameter change is not captured by the break specification.
  • Joint estimation across several regimes with regime-specific parameters can become computationally intensive as the number of breaks grows.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Addresses heteroscedasticity and abrupt regime shifts within one estimation framework, rather than correcting for one and ignoring the other.
  • Weights are inverse estimated variances, so noisier observations contribute less to the coefficients. When the weights are correctly specified, WLS is more efficient than unweighted OLS in the same specification; because the weights and break dates are estimated, this advantage may not appear in small samples.
  • Break dates can be located by a data-driven procedure such as Bai-Perron, which estimates break points successively and allows for serially correlated disturbances, so the dating does not rest solely on the analyst's choice.
  • Regime-specific coefficients show which parts of the relationship change at a break and which remain stable, information that a single pooled regression would hide.
  • The residual and stability tests listed in the diagnostics step can be applied after estimation to check whether the weights and break specification are adequate.

Applications

  • Macroeconomic relationships estimated over samples that include a major crisis, where both coefficients and residual variance may differ before and after the event.
  • Policy evaluation of a reform that may change both the level and the volatility of an outcome variable.
  • Energy and environmental regressions, such as the relationship between economic output and emissions, across policy regimes such as periods before and after international agreements.
  • Asset-pricing or risk-return regressions spanning market regimes with different volatility.

How it works

How it works

1

Break dates and their number are determined before the final estimation. Bai and Perron's procedure tests for the existence and number of breaks and estimates break points successively rather than jointly. Information criteria offer an alternative way to choose how many breaks to include.

2

The sample is divided at the detected break dates, with a minimum segment length ensuring that each regime contains enough observations. Each regime may have its own intercept, slopes, or both, depending on whether a level shift, a slope change, or a full regime change is hypothesised.

3

Residuals from a preliminary OLS fit are used to estimate the error variance, and each weight is the inverse of that estimate, as in w_t = 1/σ̂_t². The variance can be estimated at the regime level, so that every observation in regime r receives the weight 1/σ̂²_r, or as a function that varies by observation. The chosen construction determines the weights, so it should be stated explicitly, together with the formula used to compute σ̂², when results are reported.

Formula
w_t = 1 / \hat{\sigma}_t^2
4

The weighted normal equations are solved for each regime separately, or jointly with regime-specific parameters. The resulting estimates minimise the weighted sum of squared residuals and are efficient when the weights correctly reflect the error variance.

Formula
\hat{\beta} = (X^{\top}WX)^{-1}X^{\top}Wy
5

After estimation, check for remaining heteroscedasticity with tests such as Breusch-Pagan and White, for autocorrelation with Ljung-Box or Durbin-Watson, and for parameter stability with CUSUM or Nyblom tests. Remaining signals of heteroscedasticity or instability suggest that the weights or the break specification need revisiting.

Common pitfalls

  • Choosing break dates after inspecting the data, or testing at a convenient date, introduces pre-test bias and inflates Type I error compared with a data-driven procedure.
  • Estimating weights from serially correlated residuals: serial correlation can make variance-based weights unreliable unless it is handled in the variance construction.
  • Adding more breaks than the sample supports: extra regime shifts can absorb genuine heteroscedasticity and produce spurious changes in the coefficients.
  • Treating a detected break date as known: standard errors that ignore break-date uncertainty can be invalid. Bai and Perron (1998) derive the rate of convergence and limiting distribution of the estimated parameters, and their results are the starting point for asymptotic inference. Because the weights depend on the regime boundaries, a practical check is a bootstrap that repeats break detection, segment partition, and weight construction in every resample, so that the uncertainty in all three steps appears in the reported intervals.
  • Applying in-sample weights to out-of-sample forecasts: the variance in a forecast period may differ from the estimated regime variance, so the weights should be reconsidered before forecasting.

Frequently asked questions

How do I choose the number of structural breaks?

Bai and Perron's approach tests for the existence and number of breaks using a sequence of tests and estimates break points one at a time. Information criteria are an alternative for choosing the number of breaks. A trimming parameter sets the minimum segment length so that each regime contains enough observations; the appropriate value depends on the sample and should be reported with the results.

What is the difference between Structural Break WLS and Structural Break OLS?

Structural Break OLS assumes constant error variance within and across regimes. Structural Break WLS additionally weights observations by the inverse of their estimated variance, which improves efficiency when the variance is non-constant and the weights are correctly specified.

Can I use this method with panel data?

As described here, the method applies to single-equation regression with time-series or cross-sectional data. For panel data with heteroscedasticity and breaks, panel-specific approaches such as Panel WLS or panel models with break correction are more suitable.

How do break-date uncertainty and weight uncertainty interact?

The two sources of uncertainty compound. If the break date is mis-estimated, the regime-specific variance estimates are contaminated, which leads to incorrect weights. Bootstrap confidence intervals for both break dates and coefficients are advisable to account for this joint uncertainty.

Should I prefer Structural Break WLS or a time-varying parameter model?

Choose Structural Break WLS when breaks are abrupt and discrete, such as a single known shock or a small number of regime changes. If parameters evolve gradually over time, a Kalman-filter-based time-varying parameter model or rolling-window regression is more appropriate.

Related methods

Sources

  1. Bai, J., & Perron, P. (1998). Estimating and testing linear models with multiple structural changes. Econometrica, 66(1), 47-78.

    Open DOI reference
  2. Wooldridge, J. M. (2019). Introductory Econometrics: A Modern Approach (7th ed.). Cengage Learning.

    ISBN: 978-1337558860