Case-Crossover Analysis
Case-crossover analysis estimates the short-term effect of a transient exposure by comparing each case's exposure on the event day with its exposure on referent days from the same person-time.
사례-교차 분석은 각 사례의 사건 당일 노출을 같은 사람(같은 시기)의 대조일 노출과 비교하여 일시적 노출의 단기 영향을 추정하는 방법입니다.
Daily hospital admissions and air pollution are in my file; do admissions rise on days with higher PM2.5, controlling for season and day of week?
일별 입원 건수와 미세먼지 자료가 있는데, 계절과 요일을 통제하고도 미세먼지가 높은 날 입원이 늘어나는지 알고 싶어요.
Each case day is compared with referent days from the same year, month and weekday, so slowly changing confounders cancel by design and the effect is estimated by a conditional likelihood. The output is an odds ratio per unit (or per chosen increment) of exposure at each lag, with confidence intervals and the number of cases used.
When to use Case-Crossover Analysis
- The exposure varies from day to day and acts quickly, such as pollution, temperature or a drug dose.
- Only cases are available, or a daily count of cases with a daily exposure series.
- You want confounding by season, trend and day of week removed by design rather than by modelling.
When to use something else
- The exposure is stable over time, such as a chronic condition; use a cohort or case-control design instead.
- You need the full lag-response shape with many lags at once; use a distributed lag non-linear model instead.
Assumptions and requirements
- One row per day with the case count and the exposure for that day.
- Exposure on referent days represents exposure during the person's control time.
- Within-stratum time trends in risk are negligible.
- No carry-over: past events do not change later exposure.
What the analysis reports
- Odds ratio per increment of exposure with CI and p-value
- Odds ratio per unit and per interquartile range
- Lag-specific odds ratios for each requested lag
- Number of cases and mean referent days per case
- Pearson dispersion with optional quasi-Poisson intervals
How to report it
In a time-stratified case-crossover analysis of [value] cases, each [value]-unit increase in exposure at lag [value] was associated with an odds ratio of [value] (95% CI [[value], [value]]), p = [value].
Related methods
- Conditional Logistic Regression
- Poisson Rate Regression with Person-Time Offset
- Self-Controlled Case Series
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Case-Crossover Analysis on Quorant
- Data you need
- a table (CSV or Excel) with an event indicator, a time variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.