When a hospital system changes how it buys drugs, or a platform quarantines a community, someone has to decide within weeks whether the change is working. They can keep it, reverse it, or scale it up. The standard tool for judging such changes is interrupted time series analysis: fit the trend before the event, project it forward as "what would have happened anyway," and measure how far the observed series departs from that projection. In the published record this tool is almost always used retrospectively, on months or years of post-event data. This proposal asks a different question. How early can one call an effect, and is that call honest?
The core idea joins two observations. First, the decision about when to declare an effect is an earliness-accuracy trade-off, the same one studied for early classification of streams. Waiting buys precision but costs time spent under a harmful policy or without a beneficial one. Second, retrospective replays of such decisions are easy to contaminate with look-ahead information, and this contamination is known as temporal data leakage. An analyst who chooses the model form, the seasonal terms, or the lag structure while seeing the full post-event series will find that "early" calls look far more reliable than they could have been in real time. We propose a sequential version of interrupted time series analysis whose stopping rule is valid under continuous monitoring. We also propose a replay protocol that enforces a strict information cutoff. The stopping rule also accounts for a failure mode we think is under-appreciated: the intervention itself can change who remains in the population being measured.
Core Claim
Interrupted time series analysis estimates, relative to an event time $T_0$, a baseline slope, an immediate level shift, and a change in slope afterward. We claim that these components become identifiable at very different speeds. A level shift can often be called within a few post-event periods. A slope change needs a long post-event window, because it is confounded with noise in the pre-period trend. An early-call procedure should therefore report components separately, each with its own anytime-valid confidence sequence. A confidence sequence is an interval that stays valid no matter when the analyst decides to stop and look.
The second claim goes further. When the intervention drives some units out of the population, the aggregate metric shifts even if no remaining unit changes behavior. Platform users who leave and patients who drop out are examples. Early calls then confuse composition with effect. This is the interrupted-time-series analogue of the "change-in-population effect" that The Hidden Cost of Waiting for Accurate Predictions identifies for risk ranking. That paper shows that waiting improves individual measurements while departures of high-risk individuals degrade the pool, so the optimal action time moves earlier, usually before half the horizon. We borrow that decomposition as a design principle, not as a theorem that transfers directly. An early-call estimator should track a cohort fixed at $T_0$ alongside the aggregate. The gap between the two is itself a quantity to report.
The Reddit quarantine study shows why this matters. Quarantined! Examining the Effects of a Community-Wide Moderation Intervention on Reddit used segmented regression with bootstrapped control communities. It found that quarantine cut new-user recruitment by 79.5% in r/TheRedPill and 58% in r/The_Donald and cut posting in r/TheRedPill by 52.4%, with no significant change in toxicity among existing users. A metric computed over whoever is still posting mixes departures, reduced recruitment, and behavior change among the users who stay. An early aggregate call on toxicity could go either way depending on who leaves first.
Research Program
The work has three parts.
The first part is a leakage-free replay protocol. For any historical series with a known intervention, we simulate an analyst standing at each post-event time $t$. That analyst sees only data up to $t$. Every modeling choice must come from a pre-registered selection rule applied to pre-$t$ data only: trend form, seasonal terms, the autocorrelation model, the choice of control series, and the length of the pre-period window. We then compare calls made this way with calls made by the common, leaky practice of choosing the specification on the full series and truncating afterward. The difference between the two is our measure of temporal evaluation bias for early calling.
The second part is the estimator. We fit the pre-period model and form post-event forecast residuals. We then build separate anytime-valid confidence sequences for the level shift and the slope change, using a mixture-martingale construction over the residual stream so that repeated looks do not inflate error. The stopping rule weighs the cost of waiting against the cost of a wrong call. It stops at the first time $t$ where
$$c_{\text{wait}} \cdot (t - T_0) \;\geq\; c_{\text{err}} \cdot \Pr_t(\text{sign of the effect is wrong}),$$
with $c_{\text{wait}}$ the per-period cost of delay, $c_{\text{err}}$ the cost of a wrong call, and $\Pr_t$ the error bound implied by the confidence sequence at time $t$. We vary these costs rather than fix them, and we report the whole trade-off curve.
The third part is cohort anchoring. Wherever unit-level data exist, the estimator runs in parallel on the aggregate series and on the cohort present at $T_0$. It reports three things: the behavior effect on the cohort, the composition effect (aggregate minus cohort), and the time at which each became callable.
Baselines
The naive reference point is the convention in the applied literature: wait a fixed post-event window and fit segmented regression once. We use the windows that the drug procurement studies used, such as Effects of national volume-based procurement policy on the usage and expenditure of platinum antineoplastic drugs in China and Impact of volume-based procurement policy on coronary stent use in tianjin, and the Reddit study's window. The full-window estimate also serves as the reference answer against which early calls are scored, since a fully informed analyst would report it. On the Reddit data the reported full-window figures are the recruitment drops of 79.5% and 58%, the 52.4% posting drop, and the null toxicity result from the quarantine paper. The first thing to beat is the time needed to reach those same conclusions.
The strongest competitor is a naive-peeking sequential analysis. It refits segmented regression every period and declares an effect when the fixed-sample p-value for the level or slope term first crosses 0.05. Practitioners actually do this, and it is fast. We give it the same data, the same pre-period specification rule, and the same controls. Our method beats it if it matches or lowers the time-to-call while holding the rate of wrong-sign and false-effect calls at the nominal level, which naive peeking should exceed. No reported result found on Lacuna for early or sequential interrupted time series calling on these datasets, so this comparison must be generated.
A second strong competitor is residual change detection: a cumulative-sum detector applied to pre-period forecast residuals. It is tuned on pre-period data under the same budget as our estimator's single mixing parameter.
Two ablations isolate our ingredients. Removing component separation, so that a single joint test covers level and slope, tests whether reporting them separately is what buys earliness. Removing cohort anchoring tests whether the composition correction changes calls on series where units depart.
Why not just…?
Why not just use a standard sequential test or change detector on the residuals? This is the most serious alternative, and anytime-valid residual testing is in fact the engine of our estimator. What such a detector does not do by itself is tell level from slope, or behavior from composition. A detector that fires on the Reddit toxicity series cannot say whether the remaining users changed or which users left. The ablations settle whether those additions matter. If joint residual detection plus cohort anchoring matches the full method, we will report component separation as unnecessary and keep the simpler procedure.
Why not just use a Bayesian forecast model and stop when its credible interval excludes zero? A Bayesian forecast interval checked repeatedly has the same peeking problem as p-values, because its stated coverage assumes one look. It also inherits whatever specification the analyst chose, and this is exactly where leakage enters. We include such a model inside the replay protocol, both with leaky and with leakage-free specification. The honest version may do well once specification is fixed in advance, and the experiment will show whether the leakage-free protocol or the martingale construction is doing the work.
Why not just wait the conventional window? Waiting is safe for accuracy but costs time. The Shirali et al. analysis shows the cost can be more than time: the population being measured drifts while one waits. The trade-off curves will show whether any meaningful earliness is available at acceptable error. If the curves show none, that is itself a useful negative result for practitioners.
Proposed Experiments
The primary testbed is the Reddit quarantine setting. Its unit-level posting data allow cohort anchoring, and the study's bootstrapped control communities supply comparison series. We will also use the other platform interventions in the file where unit-level data are recoverable, namely Does Content Moderation Lead Users Away from Fringe Movements? and the DDoS-for-hire takedown study Assessing the Aftermath. Both involve populations that shrink or migrate after the intervention.
Aggregate health-policy series stress the level-versus-slope claim without unit data. Candidates include the procurement studies above, the federal parity study Was federal parity associated with changes in Out-of-network mental health care use and spending? and the Victorian lockdown trauma series Identifying the Patterns of Orthopaedic Trauma During the Victorian COVID-19 Lockdowns. The parity study is especially useful: it found a one-time upward level shift followed by a slower slope that brought spending back to the pre-parity projection. An early caller that reports only aggregate direction would get that one wrong.
Because the true effects in real data are unknown, we add a semi-synthetic benchmark. Level shifts, slope changes, and unit-departure processes of known size are injected into real pre-period series. There ground truth is exact, and composition effects can be switched on and off.
Metrics are time-to-call, wrong-sign rate, false-effect rate on placebo event times, and agreement with the full-window answer.
The decisive checks are three. First, leaky specification should visibly inflate apparent early-call accuracy relative to the leakage-free replay. If it does not, the leakage concern is overstated for this problem. Second, level shifts should become callable markedly earlier than slope changes across real and semi-synthetic series. If they do not, component separation has no value. Third, on semi-synthetic series with departures but no behavior change, the aggregate estimator should call a spurious effect early while the cohort-anchored estimator does not. If the aggregate estimator stays clean, the population-change argument borrowed from Shirali et al. does not transfer to this setting, and we will say so.
References
- The Hidden Cost of Waiting for Accurate Predictions
- Quarantined! Examining the Effects of a Community-Wide Moderation Intervention on Reddit
- Effects of national volume-based procurement policy on the usage and expenditure of platinum antineoplastic drugs in China: an interrupted time series study
- Impact of volume-based procurement policy on coronary stent use in tianjin: interrupted time series analysis
- Does Content Moderation Lead Users Away from Fringe Movements? Evidence from a Recovery Community
- Assessing the Aftermath: the Effects of a Global Takedown against DDoS-for-hire Services
- Was federal parity associated with changes in Out-of-network mental health care use and spending?
- Identifying the Patterns of Orthopaedic Trauma During the Victorian COVID-19 Lockdowns: An Interrupted Time Series Study