⏳ Loading example…
📉
Survival
Kaplan-Meier Survival Analysis — Drug A vs. Drug B Relapse
Step-by-step KM survival curve with censored observations. Log-rank χ²=5.02, p=.025. Median 22 vs 14 months.
📊 Log-rank χ²(1) = 5.02, p = .025
Step-by-step solution
📉 19 · Survival Analysis (Kaplan-Meier)
Time to Disease Relapse — Drug A vs Drug B
Survival
Research Question:
Does Drug A prolong relapse-free survival compared to Drug B in cancer patients? Times in months; † = censored (lost to follow-up or study ended).
| Drug A (n=12) | 3 | 5 | 8 | 11 | 15 | 20† | 22† | 24† | 24† | 26† | 28† | 30† |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Drug B (n=12) | 2 | 4 | 6 | 8 | 10 | 14 | 18 | 20† | 22† | 24† | 26† | 28† |
-
1Kaplan-Meier estimator — update S(t) at each event time:
t (months) nⱼ (at risk) dⱼ (events) 1−dⱼ/nⱼ S(t) Drug A 0 12 0 — 1.000 3 12 1 11/12 0.917 5 11 1 10/11 0.833 8 10 1 9/10 0.750 11 9 1 8/9 0.667 15 7 1 6/7 0.571 -
2Summary statistics:
Median Survival S(12 months) Events / Total Drug A 22 months 0.750 5/12 Drug B 14 months 0.500 7/12 -
3Log-rank test — compares survival curves across groups:$$\chi^2_{log-rank}=\frac{(O_1-E_1)^2}{E_1}+\frac{(O_2-E_2)^2}{E_2}=5.02,\quad df=1,\quad p=.025$$
22 mo
Median A
14 mo
Median B
5.02
χ²(1)
.025
p
✅ Drug A significantly prolongs relapse-free survival (median 22 vs 14 months), log-rank χ²(1)=5.02, p=.025.
APA-7
Kaplan-Meier survival analysis compared time to relapse between Drug A (n=12) and Drug B (n=12). Drug A showed significantly longer relapse-free survival (median = 22 months) compared to Drug B (median = 14 months), log-rank χ²(1) = 5.02, p = .025. At 12 months, 75% of Drug A patients remained relapse-free versus 50% in Drug B.
💡
Censored observations (†) represent patients who did not experience the event by study end — they contribute information up to their last known follow-up time. The Kaplan-Meier method correctly accounts for censoring.