Home / Guides

Meta-analysis with reconstructed IPD from Kaplan–Meier curves

Updated 2026-11-10 · TrialCurve

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?

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Fit the model. One-stage or two-stage, below.
  6. Check proportional hazards in each trial and overall, for example with the Schoenfeld residual test (Grambsch and Therneau, 1994).
  7. 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-stageTwo-stage
What you fitOne Cox model on all patients, stratified by trialA Cox model in each trial, then pool the log hazard ratios by inverse variance
Between-trial differencesA separate baseline hazard for each trial. Add a random treatment effect for heterogeneityFixed-effect or random-effects pooling, with I²
What you showOne pooled hazard ratio, and model-based curvesA forest plot with each trial's hazard ratio
Good forFew events per trial, non-proportional hazards models, RMSTTransparency: 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

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