Quant Memo

Paper Explained

How Many Times Did the World Change? Bai and Perron

Real relationships do not break once. Bai and Perron built the machinery to find several unknown regime changes at once, and to test how many there really are.

QM
Quant Memo

July 13, 2026

The paper

Estimating and Testing Linear Models with Multiple Structural Changes

Jushan Bai and Pierre Perron · 1998

Read the original →

Every regression you fit to financial data carries a hidden assumption, and it is a big one: the relationship you are estimating stayed the same for the whole sample.

That the sensitivity of your strategy to the market was the same in 1995 as in 2015. That the relationship between the yield curve and equity returns did not change when the Fed changed its operating framework. That the beta of your portfolio has been constant across three market crashes, two technology revolutions, and a global pandemic.

Nobody believes this. Everybody assumes it anyway, because until Bai and Perron, the tools for handling it properly were thin.

The problem: one break was not enough, and you never know where they are

The literature had made progress. Chow, back in 1960, showed how to test whether a relationship changed at a known date. Perron showed how a single break wrecks unit root tests. Zivot and Andrews showed how to find a single break whose date you do not know.

But look at what all of these share: one break. And real history is not like that. A relationship might shift in 1987, and again in 2000, and again in 2008. Handling that with single-break tools means running them repeatedly, which is a mess of overlapping data mining with no coherent way to control the error rate. Worse, a single-break test applied to a series with three breaks often finds nothing at all, because no single split point explains the data well and the test concludes, wrongly, that the relationship was stable.

Bai and Perron's paper is the comprehensive treatment: multiple breaks, at unknown dates, with a way to test how many there are.

The key idea via analogy: cutting the rope in the right places

Imagine you have a long piece of rope, and its thickness changes at a few points along its length. You cannot see the joins. You are asked: how many joins are there, and where?

Suppose you are told there are exactly three joins. Then the task is a search: try every possible combination of three cut points, and for each combination, fit a uniform thickness to each of the four resulting segments and measure how badly it fits. The best set of cut points is the one that minimises total misfit. This is intuitive and obviously correct.

The problem is that trying every combination is astronomically expensive. With 500 observations and three breaks, the number of combinations runs into the billions. Bai and Perron's practical contribution here is an algorithm based on dynamic programming that finds the exact optimal break points without checking every combination. It reduces the problem to something a computer can do in seconds rather than years. That is not a footnote. Without it, none of this would be usable.

Now for the harder question: how many joins are there?

This is where it gets subtle, because more breaks always fit better. Give the algorithm ten breaks and it will fit the data beautifully, carving the sample into eleven segments and fitting each one snugly. That is not a discovery. That is memorising noise, one segment at a time. It is the same overfitting trap that plagues every model-selection problem, in a particularly seductive form because "regime change" sounds like such a plausible story.

Bai and Perron built the tests you need to resist this. Their key procedure asks a sequential question: given that I have accepted L breaks, is there evidence for an (L plus one)-th? You start at zero. Test for one. If you find one, split the sample and test each piece for a further break. Keep going until the tests stop finding anything. Because each test is properly sized and accounts for the fact that you are searching over unknown dates, this gives you a principled stopping rule rather than the researcher's instinct for when the chart looks nice.

They also provided confidence intervals for where each break occurred, which is more useful than it sounds. A break date is an estimate, and estimates have uncertainty. Knowing that a break happened "sometime between March 2007 and January 2009, with 95% confidence" is a much more honest statement than "the break was in September 2008."

Why it mattered

  • It is the standard tool for testing whether a relationship is stable. In macroeconomics, in finance, in any applied time-series field, "we apply the Bai-Perron procedure" is how you check whether your coefficients held up across the sample.
  • It made "regimes" testable rather than narrative. Everyone talks about regime change. Bai and Perron let you ask whether the data actually supports a specific number of regimes, and where the boundaries were.
  • It is a devastating diagnostic for any quant strategy. Run Bai-Perron on your strategy's relationship to its signal, or on a spread's mean. If the procedure finds that the relationship you are trading broke three times in your backtest, then your backtest was not testing one strategy. It was testing an average of several different worlds, and the fact that the average was profitable tells you very little about the one you are currently in. This is one of the highest-value and least-run tests in strategy research.
  • It complements regime-switching models. Hamilton's Markov-switching framework assumes the world flips back and forth between recurring states. Bai and Perron assume the world changes permanently, one-way, at a few dates. These are genuinely different models of the world, and which one you want depends on whether you think the past can return.

The honest limitations

  • You have to specify a minimum segment length, and it matters a lot. The procedure needs to know that you will not accept a "regime" that lasts three days. So you set a minimum. Set it small and you find lots of spurious micro-regimes. Set it large and you miss real short-lived ones. The choice is yours, it is not obvious, and it shapes the answer.
  • The tests can find breaks that are not there, and miss ones that are. In small samples, and especially when the true breaks are modest in size, the sequential procedure is imperfect. It can under-count or over-count. There is a genuine literature on its finite-sample behaviour and it is not uniformly flattering.
  • Break dates are estimated with substantial uncertainty. Confidence intervals around break dates are often embarrassingly wide, especially for small breaks. Treating an estimated break date as a known fact is exactly the mistake that Zivot and Andrews warned about.
  • Everything here is retrospective. Bai-Perron finds breaks by looking at the whole sample, including data after the break. It is a historian's tool, not a trader's. It will never tell you that a break is happening today. The literature on real-time break detection is separate, harder, and much less satisfying.
  • It assumes breaks are abrupt. Many real changes are gradual: a market slowly getting more efficient, a factor premium slowly being arbitraged away. Forcing a smooth decay into a series of discrete jumps is a misspecification, and the procedure will happily produce a set of break dates for a process that never actually broke.
  • Finding breaks is not the same as knowing what to do about them. Suppose you learn your strategy's relationship broke in 2015. Should you re-estimate on post-2015 data only, and accept a much shorter sample and much noisier estimates? Or keep the full sample and accept a biased average? Bai and Perron pose this question with great rigour. They do not answer it.

The one-line takeaway

Bai and Perron gave applied researchers a rigorous, computable way to ask how many times a relationship changed, and when, without having to guess the dates in advance, which turns "I think the regime shifted" from a story you tell into a hypothesis you can actually test, and which every backtester should run before believing their own results.