A study examining the effect of an ongoing medical treatment on long-term health outcomes finds that patients' health status at each point in time affects whether they continue receiving the treatment, and the treatment itself affects their subsequent health status — a specific situation called time-varying confounding, where the standard, otherwise reliable advice to handle confounding by simply including the confounding variable as a control in a regression model actually produces biased results, a genuinely counterintuitive and important exception to how confounding is usually addressed.
What specifically distinguishes a time-varying confounder from an ordinary one
An ordinary confounder is a variable that affects both the treatment and the outcome, and is itself unaffected by the treatment — controlling for it in a regression appropriately removes its confounding influence. A time-varying confounder is different in a specific, important way: it's affected by earlier treatment, and it goes on to affect both later treatment decisions and the final outcome, creating a variable that's simultaneously a consequence of past treatment and a cause of future treatment and the outcome.
Why simply controlling for this variable produces biased results
Including a time-varying confounder as a standard control variable in a regression can inadvertently block part of the treatment's true causal effect, specifically the part of the effect that operates through the confounder itself — since the confounder is a consequence of earlier treatment, controlling for it as though it were an independent, pre-existing characteristic removes some of the treatment's genuine causal pathway from the estimate, producing a biased, typically understated estimate of the treatment's true total effect.
A concrete illustration of this specific mechanism
In the ongoing medical treatment example, a patient's health status partway through the study is itself partly a consequence of the treatment they've already received, and that health status then affects whether they continue receiving treatment and also directly affects their eventual outcome — controlling for this mid-study health status as a standard regression control blocks the pathway through which earlier treatment affected outcomes via this exact health status, producing an estimate that understates the treatment's true full effect.
Why this specific problem requires specialized methods rather than a simple fix
Neither including nor excluding the time-varying confounder as a standard control produces an unbiased estimate in this specific situation — excluding it leaves genuine confounding unaddressed, while including it blocks part of the true treatment effect, meaning the standard toolkit's usual advice genuinely doesn't resolve this particular case, and specialized methods, most notably marginal structural models using inverse probability weighting, were developed specifically to handle time-varying confounding correctly by weighting rather than directly controlling.
Why this matters directly for research examining ongoing or repeated treatments over time
Any research design examining a treatment or exposure that continues or recurs over time, where the treatment decision at each point can plausibly be influenced by an intermediate outcome affected by earlier treatment, is potentially exposed to this specific bias — a genuinely common structure in longitudinal medical, economic, and policy research wherever treatment isn't a single, one-time event but an ongoing or repeated process.
What this means for evaluating research examining ongoing treatments or exposures over time
- Check whether a study's treatment is ongoing or repeated over time, with treatment decisions plausibly influenced by intermediate outcomes affected by earlier treatment
- Be specifically skeptical of a simple regression controlling for an intermediate variable that's itself plausibly affected by earlier treatment
- Look for specialized methods like marginal structural models in research examining ongoing treatments, since these are specifically designed to handle time-varying confounding correctly
- Recognize this as a genuine exception to the general advice to control for confounders, not a contradiction of that advice in its ordinary, more common application
Time-varying confounding is a specific, well-documented case where the usual, generally reliable advice about handling confounding actually breaks down — a reminder that causal inference methods need to be matched carefully to the actual structure of how treatment and confounding unfold over time, not applied as a single uniform recipe regardless of that structure.