Ask Mallard
Analysis method

Restricted mean survival time

4 min read

Restricted mean survival time is average time alive or event-free up to a chosen horizon, measured as area under a survival curve.

Fit

When to use it, and when not to

Use it when

  • You want a survival contrast in days, months or years through a clinically useful horizon.
  • A constant hazard ratio is doubtful, but survival can be estimated through the chosen horizon.

Not when

Before you start

What you need

Decide these first
  1. A horizon chosen in advanceUse the same horizon for both groups, supported by follow-up in each.
  2. The event defining survivaloutcomeTypeState whether the time is alive, relapse-free or free of another defined first event.
  3. Survival estimates and uncertaintyKeep event times, censoring times and the comparison direction.
It rests on these
  1. Within each reported group, loss to follow-up is unrelated to future event times.How to check: Record why follow-up ended. Assess how results change if those lost have a worse outlook.
  2. Different people supply independent observations.How to check: For patients grouped within clinics or families, use inference that accounts for those groups.
  3. Follow-up supports estimation through the chosen horizon.How to check: Show risk sets near the horizon. A few remaining patients cannot support a precise long-term claim.
  4. An observational group difference can be confounded.How to check: Use a justified adjustment method if the target is an adjusted or causal contrast.

Plain language

How it works

Imagine cutting the survival curve at a fixed time and adding the area beneath it. For a step curve, each rectangle is its width in time times its survival height. The sum is restricted mean survival time. Subtract one group area from the other to get a difference in the same time units.

The method in steps
Choose shared follow-up horizon. Then add area under each survival curve. Then compare average time through horizon.Restricted mean survival timeChoose shared follow-uphorizonAdd area under eachsurvival curveCompare average timethrough horizonRestricted mean survival time depends on a stated horizon with adequate follow-up. It does not estimatelifetime survival. A Kaplan-Meier curve that censors a competing event overstates cumulative incidencewhen read as one minus survival.
Conceptual diagram. It shows the structure of the idea, not data from any study.
Reading and reporting the result

The measure does not require proportional hazards. It still needs valid survival curves and a horizon with adequate support. Royston and Parmar develop estimation and trial comparisons using this measure. Their later paper studies design and power; a reported difference needs its own standard error and confidence interval. It is not the mean among only those who died, and it is not a median.

Worked example

A worked example

Invented for illustration
Setting
Two groups are followed through month 6.
Question
How much time is spent alive, on average, during those six months?
Approach
Group A survival is 1.0 from months 0 to 2, 0.8 from 2 to 4, and 0.5 from 4 to 6. Group B survival stays 1.0.
Result
Restricted mean survival is 4.6 months for A and 6.0 months for B. The A-minus-B difference is -1.4 months.
What it means
The difference concerns the first 6 months only. It says nothing about the difference in lifetime survival.

In practice

Recent studies PubMed search · not vetted

Searching PubMed…

Watch out

Common mistakes

The one to remember

Restricted mean survival time depends on a stated horizon with adequate follow-up. It does not estimate lifetime survival. A Kaplan-Meier curve that censors a competing death or another event overstates cumulative incidence when read as one minus survival.

  • Choosing the horizon because it gives the strongest result.Instead: Prespecify the horizon and label other horizons as sensitivity analyses.
  • Calling the area a median survival time.Instead: The restricted mean averages time through a horizon; the median marks when survival reaches one half.

Inside Mallard

How Mallard uses this

Learn search lists Restricted mean survival time. The method registry links this method to its single-method article and code.

Code example in Mallard: Restricted mean survival time (RMST) (restricted-mean-survival-time).
Atlas node analysis.rmst, the id a plan cue records.
Code for this method
Loading…

Related Learn pages

Related designs and methods

Evidence

Sources & further reading

  1. The use of restricted mean survival time to estimate the treatment effect in randomized clinical trials when the proportional hazards assumption is in doubt. (opens in a new tab) · Stat Med · doi 10.1002/sim.4274
  2. Restricted mean survival time: an alternative to the hazard ratio for the design and analysis of randomized trials with a time-to-event outcome. (opens in a new tab) · BMC Med Res Methodol · doi 10.1186/1471-2288-13-152
Source records, titles, authors, years and available DOIs checked against PubMed on 2026-11-06. Prepared with AI assistance; no independent professional approval is claimed. Royston and Parmar (2011) develop estimation and comparison of restricted means under non-proportional hazards. Their 2013 primary methods paper studies analysis, trial design and power. No power calculation is provided here.
Last source review: 2026-11-06
AI-generated educational content
Mallard uses reputable methodological and reporting sources, but this material may contain errors or omit important context. Verify important methodological decisions with the cited sources and, when appropriate, a qualified research methodologist or statistician.