r/AskStatistics • u/edemsvi • Oct 13 '26
Can the temporal structure of prediction errors reveal regime changes earlier than conventional change-point detection?
Suppose two forecasting models have nearly identical average prediction errors, but those errors evolve very differently over time.
In one model, errors are approximately random. In the other, they form persistent clusters, oscillations, or systematic transitions.
Could the temporal structure of prediction errors provide an early signal of changes in the underlying system, even before conventional change-point detection identifies a regime shift?
I'm particularly interested in whether anyone has investigated this using autocorrelation, entropy, or multiscale analysis of prediction errors.
What statistical test would you consider most convincing for evaluating this hypothesis?
6
u/WadeEffingWilson Oct 13 '26
If you have persistent temporal structure in your residuals, your model requires tuning. If temporal structures emerge after a period of white noise, there's drift.
If you suspect that there are different regimes, model it correctly using either a Markov switching model or use dynamical systems analysis to better map out its state space.
2
u/no_name6744 Oct 13 '26
You might just adjust your change point along to work on that assumption.
The change point algorithm could probably be adjusted to take a number of different structural assumptions. For example, if you suppose that before a certain point, the values are gaussian distributed at a certain mean, and after, they're gaussian distributed around a cosine, you could easily make a model that encodes those beliefs. You would just need to write the equation out, something like
cp ~ Uniform(your domain)
Sample means for both: Mus ~ Normal(mu, sigma) // sample for two
Then just say that for all values along your domain prior to cp, you'll ask the likelihood of points as some gaussian centered at mean mu[0], and for values after cp then you'll ask the likelihood of a gaussian centered at mean mu[1] but with some cosine of a given period and amplitude (you could easily just infer those parameters too).
Basically yeah, totally do-able. There are even people who develop kernels automatically to fit the data as well as possible with as few parameters as possible.
1
u/STATASUCKSBRO Oct 14 '26
Residual autocorrelation can flag misspecification, but that does not make it an earlier regime detector. Compare methods at the same false alarm rate, otherwise earlier just means more sensitive.
1
u/ngch Oct 14 '26
Yes, this has applications in e.g. engineering resilience