Skip to content

Methods · Survival analysis · Recurrent events

Recurrent Event Analysis (Andersen-Gill, PWP, Mean Cumulative Function)

Recurrent event analysis models repeated events within the same subject using counting-process Cox models such as Andersen-Gill, Prentice-Williams-Peterson and Wei-Lin-Weissfeld with cluster-robust variance, plus the mean cumulative function.

재발 사건 분석은 한 개체에서 반복되는 사건을 Andersen-Gill, PWP, WLW 같은 계수과정 Cox 모형과 군집 강건 분산, 평균 누적 함수로 분석하는 방법입니다.

Each patient can have several hospital admissions; how do I estimate covariate effects on the event rate while accounting for repeated events within patients?

환자마다 입원이 여러 번 있을 수 있는데, 같은 환자 안의 반복을 고려해서 공변량 효과를 추정하려면 어떻게 하나요?

Recurrent event models treat each at-risk interval as a counting-process record and fit a Cox model with standard errors that are robust to correlation within subjects. Andersen-Gill uses a common baseline for all events, PWP stratifies by event number on the total or gap time scale, WLW models the time to each k-th event marginally, and the mean cumulative function summarises the average number of events per subject over time.

When to use Recurrent Event Analysis (Andersen-Gill, PWP, Mean Cumulative Function)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

An Andersen-Gill model with robust cluster standard errors ([n] subjects, [e] events) gave HR = [value] for [covariate], 95% CI [[value], [value]], p = [value]; the mean cumulative number of events at t = [value] was [value].

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs Recurrent Event Analysis (Andersen-Gill, PWP, Mean Cumulative Function) itself, at the same price.

Related methods

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-5.

    독립 계산. lifelines·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-5).

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 Recurrent Event Analysis (Andersen-Gill, PWP, Mean Cumulative Function) on Quorant

Data you need
a table (CSV or Excel) with a time variable, an event indicator, a unit (entity) ID and predictor (feature) columns
Price
900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.

Method ID Q61018 · Reviewed 2026-10-25