← Wiki Index / Public Health & Global Health / Time-Window Bias
🏥 Public Health & Global Health

Time-Window Bias

Time-window bias is a methodological distortion in case-control pharmacoepidemiological studies that arises when exposure assessment intervals differ systematically in duration between cases and controls, creating spurious odds ratios even under a null treatment effect.

Time-window bias is a time-related methodological distortion in conventional and nested case-control studies formalized by Samy Suissa and colleagues (2011) that occurs when the time interval used to classify prior medication or environmental exposure differs systematically in duration between cases and controls. Whenever cumulative exposure opportunity ("ever-exposure" or cumulative duration of use) is evaluated across unequal pre-index follow-up windows—typically because cases and controls are not matched on cohort entry date and follow-up duration, or because control index dates extend later than case diagnosis dates—subjects observed over longer intervals accumulate higher cumulative probabilities of receiving a prescription. Even when a drug has zero true biological effect (true hazard ratio HR = 1.0), this differential opportunity window skews the resulting exposure odds ratio away from unity, generating illusory protective or harmful drug associations.

Probabilistic Mechanism of Odds Ratio Distortion

Unlike time-fixed risk factors such as genetic sex or baseline blood group, outpatient medication initiation occurs dynamically over clinical follow-up. Consider an underlying cohort followed from baseline cohort entry t0 in which a medication with zero effect on the disease outcome (HR = 1.0) is initiated at a constant hazard rate hrx > 0. For any individual who has remained observable across an exposure assessment window of length W = tindex − t0, the probability of having filled at least one prescription ("ever-exposed") prior to tindex rises monotonically with window duration W according to:

P(exposed | W) = 1 − exp(−hrx W)

Because the exposure odds equal P(exposed | W) / [1 − P(exposed | W)] = exp(hrx W) − 1, the apparent odds ratio (OR) comparing cases with window length Wcase against controls with window length Wctrl under the null hypothesis becomes:

ORbiased ≈ [exp(hrx Wcase) − 1] / [exp(hrx Wctrl) − 1]

Asymmetric Window Lengths and Direction of Bias

Two common design errors break window symmetry between cases and controls:

  1. Longer Exposure Windows Among Controls (Wctrl > Wcase): When investigators evaluate exposure from cohort entry t0 until event diagnosis for cases (tcase), but select controls among event-free survivors and measure control exposure up to the end of study follow-up (tend) or fail to match on follow-up time since t0, controls enjoy extra observation time to initiate therapy. Because Wctrl > Wcase, controls display artificially higher cumulative exposure prevalence, driving ORbiased below 1.0 and fabricating an apparent protective effect.
  2. Longer Exposure Windows Among Cases (Wcase > Wctrl): When cases are drawn from clinical registries with extended pre-diagnostic observation relative to controls—or when case exposure is assessed across a longer look-back horizon than control exposure—Wcase > Wctrl drives ORbiased above 1.0, manufacturing a spurious risk elevation.

Similarly, defining exposure using cumulative prescription duration or cumulative dose without restricting assessment to identical pre-index durations intensifies the distortion, because longer observation windows permit both higher initiation probability and larger cumulative tablet counts.

Historical Evidence in Pharmacoepidemiology

Time-window bias has accounted for dramatic discrepancies between observational claims-database studies and randomized controlled trials, particularly in diabetes and cardiovascular pharmacoepidemiology.

Metformin, Statins, and Spurious Cancer Protection

During the late 2000s, numerous case-control studies reported striking reductions (often 30% to 60%) in the odds of breast, lung, colorectal, and prostate cancer among patients with type 2 diabetes treated with metformin or statins. Suissa and colleagues (2011) re-examined several landmark studies and demonstrated that controls frequently experienced longer durations between diabetes onset (or cohort entry) and their assigned index date than matched cancer cases. In one evaluation of lung and breast cancer nested within a diabetes cohort, matching controls only on age and calendar year—without aligning follow-up duration since diabetes cohort entry—left controls with longer exposure assessment windows, inflating control exposure to metformin and yielding an artificial protective OR near 0.65 even under simulated null conditions.

When the same cohorts were re-analyzed using strict risk-set matching on both age and duration of diabetes follow-up, the apparent protective odds ratios disappeared (HR ≈ 1.00). These findings paralleled concurrent demonstrations by Linda E. Levesque et al. (2010) showing how time-related misclassification produced false statin benefits against diabetes progression, as well as the comprehensive taxonomy of temporal errors synthesized by Samy Suissa and Sophie Dell'Aniello (2020).

Structural Relationship to Immortal Time Bias and Related Biases

In observational pharmacoepidemiology, time-window bias represents the case-control structural counterpart to immortal time bias in longitudinal cohort studies (Suissa, 2008; Suissa & Dell'Aniello, 2020). Both biases originate from allowing observation time or survival duration to leak into exposure classification rather than indexing exposure uniformly at matched risk-set times. Whereas cohort immortal time bias misclassifies pre-prescription person-time [t0, trx) as exposed or strips it from the unexposed denominator, case-control time-window bias grants one group (usually controls) a longer chronological window to become exposed before the index date.

Time-window bias must also be differentiated from selection bias in case-control studies (differential enrollment into the study sample), protopathic bias (prescribing a drug in response to early subclinical symptoms of an undiagnosed outcome), prevalent-user bias (including baseline long-term users who survived early hazard peaks), and lead-time bias (advancing diagnosis dates via screening without altering true survival).

Methodological BiasPrimary Study DesignCore Temporal / Sampling ErrorTypical Effect on OR or HRPrimary Analytical Remedy
Time-Window BiasConventional or nested case-control studyUnequal pre-index exposure opportunity duration (Wcase ≠ Wctrl)Downward (OR < 1) if Wctrl > Wcase; upward if reversedRisk-set sampling matched on t0 and follow-up time t
Immortal Time BiasLongitudinal cohort studyPre-prescription waiting interval [t0, trx) misclassified as exposedDownward (HR < 1; false survival/protective benefit)Time-dependent Cox modeling or target-trial cloning
Protopathic BiasCohort or case-control studyDrug initiated to treat prodromal symptoms of the outcomeUpward (OR/HR > 1; reverse causation)Lag exposure assessment prior to index date (lag window)
Prevalent-User BiasCohort or case-control studyEnrolling ongoing users who survived initial adverse hazardDownward (HR < 1) for acute early-onset harmsActive-comparator new-user incident cohort design

Study-Design and Analytical Remedies

Preventing time-window bias requires aligning the exposure assessment clock identically across cases and controls so that differences in observation duration cannot alter cumulative exposure probability:

  1. Incidence-Density (Risk-Set) Sampling Matched on Cohort Entry and Follow-Up Time: Within a clearly enumerated source cohort starting at t0, each case occurring at time tcase = t0 + t should be matched via risk-set sampling to controls who remain event-free at the same elapsed follow-up time t (meaning matched simultaneously on t0 and tindex, or equivalently on time since cohort entry and calendar date). Both case and control then share identical assessment span W = t.
  2. Fixed Identical Look-Back Windows: If prior medical history is truncated or variable across individuals, define exposure over a constant pre-index interval—such as the 180 or 365 days directly preceding the matched index date—restricting eligibility to cohort members with full database observability throughout that fixed window.
  3. Time-Dependent Cohort Modeling: When full cohort data are available rather than sampled controls, analyze the entire source cohort using a time-dependent Cox proportional hazards model (or Poisson person-time stratification) in which exposure status A(t) switches dynamically from unexposed to exposed at the calendar prescription date trx.
  4. The Quasi-Cohort Approach: Introduced by Samy Suissa (2015), the quasi-cohort design pairs the full-cohort sampling frame with a randomly selected subcohort whose follow-up person-time is weighted directly to represent the source cohort denominator. This framework removes unequal-window distortion while retaining computational efficiency for complex exposure histories and incidence rate estimation.

When temporal population trends in prescribing exist alongside short transient triggers, self-controlled within-person methods—including the case-crossover study, case-time-control design, and self-controlled case series—provide complementary protection by fixing hazard and referent window widths identically within each individual, provided exposure-trend adjustment is incorporated.

Frequently Asked Questions

How is time-window bias related to immortal time bias? Time-window bias is the case-control counterpart of immortal time bias in cohort studies. Both errors distort effect estimates because exposure classification depends on unequal survival or observation time—immortal time bias misclassifies pre-treatment waiting time in cohorts, whereas time-window bias grants cases and controls unequal exposure opportunity windows prior to the index date.

Does matching cases and controls on age and sex prevent time-window bias? No; matching on demographic age, sex, or even calendar year does not equalize the duration of follow-up from cohort entry (t0) to the index date unless cohort entry date or disease duration is also matched. If controls have spent more time in the underlying cohort before their assigned index date than cases, they still accumulate higher cumulative exposure probabilities.

Why does incidence-density sampling eliminate time-window bias when properly executed? In incidence-density (risk-set) sampling within a cohort, each control is selected from subjects still at risk at the same follow-up duration t when the corresponding case occurs, ensuring tindex − t0 is identical for both members of the matched set. Equalizing the time window ensures that any null drug with hazard hrx has the same cumulative opportunity to appear in cases and controls.

References

  1. Suissa, S., Dell'Aniello, S., Vahey, S., & Renoux, C. (Mar 2011). Time-window Bias in Case-control Studies: Statins and Lung Cancer. Epidemiology, 22(2), 228–231. https://doi.org/10.1097/ede.0b013e3182093a0f
  2. Suissa, S. (2008). Immortal Time Bias in Pharmacoepidemiology. American Journal of Epidemiology, 167(4), 492–499. https://doi.org/10.1093/aje/kwm324
  3. Levesque, L. E., Hanley, J. A., Kezouh, A., & Suissa, S. (Mar 12, 2010). Problem of immortal time bias in cohort studies: example using statins for preventing progression of diabetes. BMJ, 340, b5087. https://doi.org/10.1136/bmj.b5087
  4. Suissa, S., & Dell'Aniello, S. (2020). Time-related biases in pharmacoepidemiology. Pharmacoepidemiology and Drug Safety, 29(9), 1101–1110. https://doi.org/10.1002/pds.5083
  5. Suissa, S. (Mar 2015). The Quasi-cohort Approach in Pharmacoepidemiology: Upgrading the Nested Case–Control. Epidemiology, 26(2), 242–246. https://doi.org/10.1097/ede.0000000000000221
🧬 Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
💡 Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision