- Introduced by
- Malcolm Maclure
- Year
- 1991
- Type
- Observational epidemiological study design
- Family
- Clinical / epidemiology
What does it do?
The case-crossover design is an observational method for asking whether a transient exposure acutely triggers a sudden-onset event.
Each case's exposure during a brief hazard period before the event is compared with that same person's exposure during earlier control periods, so each person serves as their own control. Because stable individual characteristics are held constant within each person, the design is most informative for intermittent exposures and acute outcomes such as myocardial infarction, stroke or injury.
The intuition behind the method
Imagine you want to know whether heavy physical exertion triggers heart attacks. Rather than comparing people who had heart attacks with different people who did not, the case-crossover design asks whether this person was more physically active in the hazard period before their heart attack than in comparable periods at other times. Each patient's own history supplies the reference. Because everything constant about that individual, including genetics, chronic conditions and long-standing lifestyle, is held fixed within the comparison, the analysis focuses on the transient exposure of interest.
History
Malcolm Maclure introduced the case-crossover design in a 1991 paper in the American Journal of Epidemiology, as a way to study whether brief exposures transiently change the risk of a rare acute-onset disease. The design resembles a retrospective nonrandomised crossover study, but it samples only a portion of the base population-time, with each case serving as its own control. The original paper estimated the average rate ratio with a Mantel-Haenszel estimator, whereas the analysis described in the method steps uses conditional logistic regression. In 1995, Mittleman, Maclure and Robins assessed how control periods should be sampled and showed that the sampling strategy affects precision.
When to use it
Choose the case-crossover design when the question is whether a transient, intermittent exposure acutely triggers a sudden-onset event, for example whether an air pollution spike or a bout of heavy exertion raises the short-term risk of a cardiac event. It suits acute outcomes that are relatively rare, settings where stable individual confounders are a major concern, and exposures that vary within the same person over short intervals. It also requires that the lag between exposure and event is short and can be specified in advance. Do not use it when the exposure is stable or changes only slowly within a person (for example smoking status, genetic factors, or body mass index), because the within-person contrast will be negligible and the design uninformative. It is also a poor choice when the exposure cannot be recalled or recorded with adequate accuracy, or when the outcome has a long latency relative to the exposure.
Limitations and considerations
- Only transient exposures that vary within the same person over the relevant timescale can be assessed; stable exposures carry no within-person contrast.
- Recall bias is a serious concern when exposure is ascertained by interview, since cases may over-report exposure before an event they are trying to explain.
- Trend bias can affect unidirectional designs when exposure drifts over time, and bidirectional designs can be biased when the event itself changes later exposure.
- The induction period must be specified in advance, and a misspecified hazard period distorts the estimate. The design yields relative measures only (odds ratios) and cannot estimate absolute event rates or population-attributable risk.
- Key assumptions: the transient effect is confined to the pre-specified hazard period; the length of the hazard period is fixed before analysis; the event does not change exposure in the control periods (exposure-dependency bias is the main risk when it does); and enough cases show exposure that differs between the hazard and control periods to estimate the odds ratio precisely.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Each case is compared only with their own periods, so confounding by time-invariant individual characteristics such as genetics, stable lifestyle or socioeconomic status is removed by design.
- Only cases need to be ascertained; no separate external control group has to be recruited, which avoids the control-selection bias that self-matching is designed to eliminate.
- Well suited to transient environmental or behavioural triggers of acute events, where the exposure of interest can be dated relative to onset.
- Can be applied to existing records, such as hospital admissions and environmental monitoring data, when exposure can be dated to the relevant hazard and control periods.
Applications
- Estimating the short-term triggering risk of myocardial infarction associated with strenuous physical exertion.
- Assessing whether short-term spikes in ambient air pollution (for example PM2.5 or ozone) are associated with the short-term risk of asthma emergency visits or cardiovascular hospitalisation.
- Investigating whether alcohol consumption in the hours preceding a motor vehicle crash acts as a trigger.
- Pharmacoepidemiological studies of drug-event associations where the drug is taken intermittently and the adverse event has an acute onset.
- Studying whether occupational exposures on specific shifts or tasks are followed by acute musculoskeletal or cardiovascular events.
How it works
How it works
All individuals who experience the acute outcome of interest during the study period (for example, myocardial infarction, a fall or a traffic crash) are enrolled as cases. Only people who have experienced the event contribute data, so no separate group of non-cases must be recruited. This is why the design is efficient in settings where case records are available.
A hazard period is the interval immediately preceding the event. Its length should be specified in advance on the basis of the expected lag between exposure and onset. Exposure status during this period is the key variable: was the triggering exposure (for example, strenuous exertion or an air pollution spike) present or absent?
Control periods are windows from the same individual's past when the event did not occur. Bidirectional sampling draws control periods both before and after the event; unidirectional sampling draws them only from before it. Control periods are commonly matched on time of day and day of week so that circadian and weekly rhythms are not mistaken for exposure effects. The number of control periods sampled per case affects precision, and the 1995 study by Mittleman and colleagues examined this trade-off.
Exposure during both the hazard period and all control periods is ascertained, ideally from objective records (electronic health data, environmental monitors, activity trackers) or from structured interview recall. Exposure must be transient and capable of varying within the same person over time, because stable, time-invariant exposures cannot be studied with this design.
Each person contributes one hazard period and one or more control periods, and the data are analysed with conditional logistic regression matched on individual. The odds ratio is the exponential of the estimated coefficient and compares the odds of the event following exposure in the hazard period with the odds following exposure in that person's control periods.
Formula
OR = exp(beta), from conditional logistic regression matched on individual
Common pitfalls
- Misspecifying the hazard period. A window that is too long dilutes a short-lived effect, and one that is too short misses true exposure. The length should be justified on biological grounds before analysis. The 1991 method assumes the effect-period duration is the one that maximises the rate ratio estimate, and choosing the window from outcome data in this way can make the estimated effect look stronger than it is.
- Ignoring trend bias in unidirectional designs. If a person's exposure is trending upward over time, control periods from the past will systematically show lower exposure than the hazard period, inflating the odds ratio.
- Using the design for slowly changing exposures. When exposure barely varies within a person across the study window (for example body mass index or cumulative smoking intensity), conditional logistic regression rests on almost no within-person contrast, producing unstable or uninterpretable estimates.
- Overlooking exposure dependency. In bidirectional designs, the event itself may change subsequent exposure (for example, a heart attack may lead to reduced exertion), biasing control-period exposure estimates.
Frequently asked questions
How does the case-crossover design differ from a standard case-control study?
In a traditional case-control study, cases (people who had the event) are compared with separately recruited controls (people who did not). Confounding by stable characteristics such as age, sex or lifestyle must be handled by matching or adjustment. In the case-crossover design, each case serves as their own control by contributing exposure data from their own earlier time periods. This removes fixed personal confounders automatically but limits the design to transient exposures.
What is the difference between the unidirectional and bidirectional case-crossover design?
In the unidirectional design, control periods are drawn only from time before the event, which avoids any exposure changes the event itself might cause. However, if exposure is trending upward over time, this introduces trend bias. The bidirectional design takes control periods both before and after the event, which cancels time trends but may introduce exposure-dependency bias if the event alters subsequent exposure. The choice depends on whether exposure trends or event-driven exposure changes are the greater concern.
What statistical method is used to analyse a case-crossover study?
Conditional logistic regression matched on individual identity is the standard approach. Each stratum (one hazard period and one or more control periods from the same person) is analysed jointly, and the model estimates an odds ratio for the transient exposure effect net of all within-person stable characteristics.
Can I study more than one transient exposure simultaneously?
In principle, yes. Several transient exposures can be entered into the conditional logistic regression model together, provided each varies enough within individuals across the hazard and control periods. Interaction terms between exposures can also be included, but the number of informative periods available for each combination limits how reliably such terms can be estimated.
Is the case-crossover design appropriate for environmental time-series data at the population level?
The classic design matches on individuals. For population-level data, such as daily pollution levels set against daily admission counts, a time-stratified case-crossover variant can be used. It is related to time-series regression but is not identical to it. The individual-level design is preferred when person-level exposure records exist, because it supports direct within-person comparisons.
Related methods
Sources
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 referenceMittleman, M. A., Maclure, M., & Robins, J. M. (1995). Control sampling strategies for case-crossover studies: An assessment of relative efficiency. American Journal of Epidemiology, 142(1), 91–98.
Open DOI reference