Meta-analysis with reconstructed IPD from Kaplan–Meier curves
A meta-analysis of reconstructed IPD pools patient-level survival data rebuilt from each trial's published Kaplan–Meier curves. Reconstruct every arm with the Guyot method, keep a trial label on every patient, then either fit one model stratified by trial (one-stage) or estimate a hazard ratio in each trial and pool those (two-stage).
Why not just pool the published hazard ratios?
- Some trials print curves but no hazard ratio, or only an adjusted one.
- With patient-level data you can check proportional hazards, and use restricted mean survival time when they fail (Royston and Parmar, 2013).
- You can compare trials over the same follow-up window, and draw survival curves for the pooled result.
What you do not get: covariates. Reconstructed data hold a time, an event flag and an arm for each patient. Subgroup and adjusted analyses need the real IPD.
Step by step
- List every figure. One Kaplan–Meier figure for each trial and endpoint. If a trial has several reports, use one: the same patients must not enter twice.
- Reconstruct each arm. Digitise the curves, add the numbers at risk and the number of events when printed, and run the reconstruction. Guyot et al. (2012) found it most accurate when both are available.
- Check each trial before pooling. Fit a Cox model to the reconstructed data and compare the hazard ratio and medians with the printed ones. Fix or flag any trial that does not match.
- Stack the data. One row for each patient: trial, arm, time, event. Code the arms the same way in every trial, and put every trial on the same time unit.
- Fit the model. One-stage or two-stage, below.
- Check proportional hazards in each trial and overall, for example with the Schoenfeld residual test (Grambsch and Therneau, 1994).
- Report which figures were used, how they were digitised, and the reconstructed against the printed value for each trial.
One-stage or two-stage?
| One-stage | Two-stage | |
|---|---|---|
| What you fit | One Cox model on all patients, stratified by trial | A Cox model in each trial, then pool the log hazard ratios by inverse variance |
| Between-trial differences | A separate baseline hazard for each trial. Add a random treatment effect for heterogeneity | Fixed-effect or random-effects pooling, with I² |
| What you show | One pooled hazard ratio, and model-based curves | A forest plot with each trial's hazard ratio |
| Good for | Few events per trial, non-proportional hazards models, RMST | Transparency: every trial's estimate is visible and checkable |
The two usually agree closely when they make the same assumptions; where they differ, it is mostly down to modelling and estimation choices (Burke, Ensor and Riley, 2017). Many reviews report both. In R, the survival package fits stratified Cox models and metafor pools the trial estimates. For a single hazard ratio and its standard error, see the log hazard ratio tool.
Mistakes to avoid
- Pooling patients as if they were one trial. A model or a Kaplan–Meier curve that ignores the trial label breaks randomisation, so always stratify by trial or pool trial estimates (Riley, Lambert and Abo-Zaid, 2010). A simple pooled curve is a picture, not an estimate.
- Arms the wrong way round. A hazard ratio of 0.70 in one trial and 1.43 in another may be the same result. Check the direction against each figure.
- Counting patients twice. Interim and final reports, overlapping subgroups, and a control arm shared by two comparisons in a three-arm trial.
- Trusting a curve with no at-risk table. The reconstruction then has to assume how censoring happened. Run a sensitivity analysis without those trials.
- Treating reconstructed data as real IPD. Say "reconstructed" in the title or methods, and report how closely each trial reproduced its printed result.
Where TrialCurve fits
TrialCurve does steps 2 and 3 for one figure at a time: it reads every panel, rebuilds the patient-level data and compares it with the hazard ratios and medians printed on the figure. In our own benchmark, not peer reviewed, 97% of 211 printed hazard ratios were reproduced within 10% (how we measure). Read several figures on one page and you can download them as one CSV with a figure column, ready to stack. The trial library has reconstructed data for 112 openly licensed trials.
FAQ
Is a meta-analysis of reconstructed IPD the same as an IPD meta-analysis?
No. Reconstructed data approximate each trial's time-to-event data from its published curve and carry no covariates. Report the analysis as based on reconstructed individual patient data.
Should I use a one-stage or a two-stage model?
They usually agree closely when they make the same assumptions. Two-stage shows every trial's estimate in a forest plot. One-stage copes better with few events per trial and with models beyond a single hazard ratio. Many reviews report both.
Can I draw one pooled Kaplan–Meier curve across trials?
As a picture, yes. As an estimate, no: a curve that ignores which trial each patient came from breaks randomisation. Base the effect estimate on a model stratified by trial, or on pooled trial estimates.
How accurate is reconstructed IPD?
It depends on the figure. Reconstruction is most accurate when the numbers at risk and the number of events are printed. Check every trial's reconstructed hazard ratio and medians against the printed ones before pooling.
Have a KM figure from a paper? Get its data in a minute.
Upload a figure