Prior Event Rate Ratio Adjustment
The prior event rate ratio adjusts an observational hazard ratio for confounding that also shows up before treatment started. The hazard ratio of exposed versus unexposed in the study period is divided by the same hazard ratio in a prior period when nobody was yet exposed.
치료 시작 전 기간에 이미 있던 집단 간 사건 발생률 차이를 이용해, 연구 기간의 위험비를 사전 기간의 위험비로 나누어 측정되지 않은 교란을 보정하는 방법입니다.
After removing the difference in event rates that already existed between the groups before treatment, how much does the treatment change the rate of the outcome?
치료 전부터 있던 집단 차이를 걷어내면 치료가 사건 발생률을 얼마나 바꿀까요?
Cox models give the exposure hazard ratio in the prior period and in the study period for the same subjects. Their ratio is the PERR. Because both come from the same people, the interval uses robust variances and the covariance between the two log hazard ratios estimated from subject-level dfbeta values.
When to use Prior Event Rate Ratio Adjustment
- Electronic health record or claims data cover a period before and after treatment initiation.
- Unmeasured confounding is suspected to act in the same way in both periods.
- The outcome can occur in both periods.
When to use something else
- The outcome cannot occur before treatment or prior events change who gets treated: use Cox Proportional Hazards Model
- Several pre and post time points are available for aggregated rates: use Difference-in-Differences (DiD)
Assumptions and requirements
- The confounding effect on the hazard ratio is the same in both periods
- Prior events do not influence later exposure
- Proportional hazards within each period
- Events occur in both groups in both periods
What the analysis reports
- Hazard ratios in the prior and study periods with robust intervals
- PERR with confidence interval and p-value
- Correlation of the two log hazard ratios
How to report it
The hazard ratio was [value] in the study period and [value] in the prior period, giving a PERR of [value] (95% CI [value] to [value]).
Related methods
- Cox Proportional Hazards Model
- Difference-in-Differences (DiD)
- Recurrent Events (Wei–Lin–Weissfeld Marginal Model)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with lifelines and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-4.
독립 계산. lifelines·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-4).
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 Prior Event Rate Ratio Adjustment on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an event indicator and a treatment indicator
- 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.