← Visualization gallery
Study design · Planning

Case-Crossover Design Diagram

The case-crossover (self-matched) design drawn in the Schneeweiss/Gatto convention — assessment, exposure, and follow-up windows anchored on a timeline so the design's temporal logic is explicit.

Case-Crossover Design Diagram: The case-crossover (self-matched) design drawn in the Schneeweiss/Gatto convention — assessment, exposure, and follow-up windows anchored on a timeline so the design's temporal logic is explicit.
When to use it

For abrupt outcomes with transient exposures (e.g., a drug taken intermittently and an acute event). Each case serves as its own control, so all stable confounders (genetics, chronic comorbidity) are automatically matched.

How to read it

The hazard window immediately precedes the event; referent windows are earlier periods in the SAME person. Exposure prevalence is compared between hazard and referent windows — time-fixed confounders cancel by self-matching.

Worked example

A patient has an acute event at day 0; the 30-day hazard window before it is compared with two earlier 30-day referent windows in the same person.

Windows (days before event): referent 2 [−90, −60], referent 1 [−60, −30], hazard [−30, 0]; event marker at 0.

Result: Self-matching means every time-fixed confounder is held constant; the diagram makes clear the only comparison is within-person exposure timing — though an exposure-time trend would still need a case-time-control extension.

Produced by

Reference: Schneeweiss S, Rassen JA, Brown JS, et al. Graphical Depiction of Longitudinal Study Designs in Health Care Databases. Ann Intern Med. 2019;170(6):398-406.