Prospective Case-Crossover Design — Epidemiological Method

Research
Introduced by
Malcolm Maclure (case-crossover concept); prospective variant established by subsequent methodologists including Navidi and Weinhandl
Year
1991 (base design); prospective variant described in late 1990s–2000s
Type
Observational epidemiological study design
Family
Clinical / epidemiology

What does it do?

The prospective case-crossover design is an observational study in which each case serves as its own control, comparing exposure shortly before an event with exposure in control periods from the same person.

Exposures are recorded forward in time, as participants are followed, rather than reconstructed after the event, which avoids the recall bias of the retrospective variant. It is used to study transient triggers of acute events, such as myocardial infarction, asthma attacks, or road-traffic injuries.

The intuition behind the method

Consider a group of commuters whose air-pollution exposure is recorded continuously by sensors. When one of them has an acute cardiovascular event, exposure in the hour before the event (the hazard window) is compared with exposure in comparable hours from the same person on other days (control windows). Because the comparison is within the same individual, stable characteristics such as genetics or long-standing lifestyle do not differ between the compared periods and so cannot act as confounders of the contrast. Because exposure was measured as it happened, the analysis does not depend on the person's memory of events, which is the main advantage over the retrospective design.

History

Malcolm Maclure introduced the case-crossover design in 1991 as a method for studying transient effects on the risk of acute events, and illustrated it with pilot data on the onset of myocardial infarction. The original formulation resembled a retrospective nonrandomized crossover study and was developed for rare acute-onset diseases. The prospective variant, in which exposures are recorded before events occur, was developed later; its originators are not named here.

When to use it

Choose this design when the question concerns the short-term triggering effect of a transient exposure on an acute, discrete event, and when exposure can be measured prospectively in time. It is most appropriate when stable between-person confounders are a major concern, when real-time exposure records exist, and when the event can be timed precisely. Do not use it when the exposure is chronic or changes little within individuals over time, because there is then no within-person contrast to estimate. Avoid it when the outcome has a gradual onset or cannot be dated accurately, when prospective collection is infeasible, when the lag between exposure and event is long relative to the hazard window, or when the exposure may alter risk in later windows (carryover).

Limitations and considerations

  • Requires precise event timing; events with a gradual or unclear onset cannot be placed meaningfully in a hazard window.
  • Prospective collection is resource-intensive and depends on sustained participant engagement or sensor infrastructure.
  • Cannot estimate effects of chronic or slowly varying exposures, because there is little within-person variation to contrast.
  • Assumes no carryover, so that exposure in the hazard window does not change risk in the control windows; if it does, estimates are biased.
  • Time-varying confounders, such as other exposures that co-vary with the hazard window, are not removed by self-matching and need explicit handling.
  • The effect period must be specified in advance. In Maclure's formulation its duration is taken to be the one that maximises the rate ratio estimate; choosing the window this way after inspecting the results can inflate the type I error rate, so the window length should be fixed from biological or prior knowledge before analysis.
  • Power is low when exposure profiles are homogeneous within persons across time.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Time-invariant confounders are controlled by design, because each person is compared only with themselves; stable factors such as genetics or long-standing lifestyle need not be measured. Time-varying confounders are not addressed by this property.
  • Prospective exposure measurement avoids the recall bias of the retrospective design, in which exposure information is obtained after the event.
  • Self-matching removes control-selection bias, and because only cases are needed, no separate control group has to be recruited.
  • Suited to transient environmental, behavioural, or drug-related triggers of acute events, where the exposure of interest varies from day to day within the same person.

Applications

  • Examining whether short-term increases in fine particulate matter (PM2.5), linked from pollution sensor data, are followed by myocardial infarction.
  • Assessing whether heavy physical exertion or emotional stress precedes acute cardiac events, with activity measured via accelerometers.
  • Investigating whether specific medication doses, recorded in real-time electronic prescribing records, are followed by transient increases in falls or arrhythmias in older patients.
  • Studying whether ambient ozone or heat precedes asthma exacerbation hospitalisations, using prospectively collected meteorological data.
  • Evaluating road-traffic injuries in relation to real-time mobile phone use or alcohol breathalyser readings.
  • Examining seizure triggers in epilepsy patients using continuous physiological monitoring linked to seizure diaries.

How it works

How it works

1

An acute outcome of interest, such as myocardial infarction, severe asthma exacerbation, or traumatic injury, is defined and cases are identified as they occur during prospective follow-up. Precise timing of the event is essential because the analysis depends on knowing when the acute episode occurred.

2

Exposure data, such as ambient pollution levels, physical activity, or medication use, are recorded in real time throughout follow-up using instruments such as environmental sensors, wearable devices, electronic logs, or administrative databases. Because the data are captured before any event is known, exposure measurement does not depend on a case's recollection of what happened beforehand. The design requires that exposure varies over time within each person, so the quality of this step determines whether short-term changes can be detected at all.

3

For each case, a short hazard window (the example used here is 1 hour) before the event is defined as the period of potential triggering exposure. Control windows are drawn from the same person's non-event time and matched on time of day, day of week, and season, so that these temporal factors are held constant across the comparison. Two common control-window strategies are time-stratified and bidirectional sampling. In time-stratified sampling, control windows are taken from the same calendar month as the event, on the same day of the week and at the same time of day, so referent periods stay within the event's calendar stratum. In bidirectional sampling, control windows are taken at the same day of the week and time of day in the weeks before and after the event, so referent periods lie on both sides of the event. The choice matters because naive selection of referent periods can introduce bias when exposure levels trend over time, and the appropriate scheme depends on how exposure changes over the study period.

4

Exposure in the hazard window is compared with exposure in that person's control windows. Because each subject serves as their own control, time-invariant confounders such as genetics, socioeconomic status, or stable comorbidities do not differ between the compared periods and are therefore controlled by design, without being measured. Time-varying factors that change between windows are not removed by this step and must be handled through control-window choice or explicit adjustment.

5

Data are analysed using conditional logistic regression, with each case's hazard and control windows forming a matched stratum. Conditioning on the stratum means the estimate reflects only within-person variation. The main output is an odds ratio, which approximates a rate ratio when the event is rare, quantifying the transient change in event risk associated with exposure in the hazard window.

Common pitfalls

  • Ignoring time trends in exposure: if pollution levels or other exposures drift over the study period, control windows drawn from distant times may differ systematically from the hazard window. Time-stratified control selection is designed to address this, whereas naive referent periods are not.
  • Choosing control periods without a stated scheme: bidirectional and time-stratified sampling differ in how far the hazard and control windows overlap in time, which affects bias. Ad hoc referent periods should be justified against these schemes.
  • Assuming the rare-event approximation when events are common: the odds ratio from conditional logistic regression approximates the rate ratio only when the event is rare; for common outcomes, direct rate-ratio estimation is preferred.
  • Treating the design as equivalent to a prospective cohort study: the case-crossover yields a within-person, transient-effect estimate, not a long-term incidence or absolute risk estimate.

Frequently asked questions

How does the prospective variant differ from the original case-crossover design?

In Maclure's original 1991 formulation, the design was retrospective: exposure information was gathered after the event, which introduced the potential for recall bias. In the prospective variant, exposures are measured and recorded in real time throughout follow-up, using sensors, administrative databases, or electronic monitoring, before any events occur. This avoids reliance on recall and can improve the precision of exposure measurement.

Why use conditional logistic regression rather than ordinary logistic regression?

Because each case's hazard and control windows form a matched stratum (the same person across different time points), standard logistic regression would ignore this matching and produce biased estimates. Conditional logistic regression conditions on the stratum, in effect using only within-person variation, which is exactly the source of information exploited by the design.

How do I choose between a prospective case-crossover and a prospective cohort design?

The case-crossover estimates the short-term triggering effect of a transient exposure on an acute event, and it is efficient when the outcome is rare and time-varying within-person exposure data exist. A cohort design estimates long-term incidence rates across different exposure levels and can study both acute and chronic outcomes. Choose case-crossover when your research question is specifically about transient triggers and you can timestamp events precisely.

What sample size does a prospective case-crossover study need?

No universal minimum exists. Power depends on how many cases have within-person variation in exposure and on the size of the transient effect being sought. A formal power calculation based on conditional logistic regression should guide the design, rather than a fixed rule of thumb.

Can the design be used with continuous outcomes or only binary events?

The classic case-crossover applies to binary acute events (event / no event). Count outcomes may be analysed with conditional Poisson regression in adapted versions of the design; these adaptations are non-standard and need careful justification. Continuous outcomes fall outside the classic framework and are not covered by this entry.

Related methods

Sources

  1. Maclure, M. (1991). The case-crossover design: a method for studying transient effects on the risk of acute events. American Journal of Epidemiology, 133(2), 144–153.

    Open DOI reference
  2. Navidi, W., & Weinhandl, E. (2002). Risk set sampling strategies for case-crossover studies. Epidemiology, 13(1), 100–105.

    Open publication reference