Restricted Mean Survival Time (RMST)
A method that calculates the expected mean survival time within a period the researcher chooses.
Suppose cancer patients received one of two treatments and were followed for 24 months. Patients on treatment A did well early on, but their survival probability dropped quickly over time. Patients on treatment B, by contrast, had a relatively lower survival probability at first, but it declined less afterward.
Which of the two treatments should we say had the better outcome?
Comparing Kaplan–Meier survival curves shows how survival probability changes over time. A log-rank test can also tell us whether the two groups’ survival functions differ statistically. But these results alone make it hard to say how much the actual survival time differs.
The same goes for the hazard ratio (HR) used in Cox regression. A hazard ratio describes the relative size of the instantaneous risk of the event, but it does not tell you directly how many more months patients survived on average.
The method used to answer this kind of question is restricted mean survival time (RMST) analysis.
RMST calculates the expected mean survival time within a period the researcher chooses. For example, if the analysis is based on 24 months, you can estimate how many of those 24 months patients in each treatment group survive on average.
In this article we’ll cover how RMST is calculated, a worked comparison of two treatments, choosing the restriction time, the RMST difference and ratio, confidence intervals, how RMST differs from Kaplan–Meier and Cox regression, and how to interpret results and what to watch out for.
What is restricted mean survival time (RMST), and why do we need it?
Restricted mean survival time (RMST) is a survival-analysis measure of the average event-free time up to a specific time point.
The ordinary mean survival time is the expected value of the full time until the event occurs. In real survival data, however, it is hard to observe the time of death for every patient.
For example, if patients were followed for 24 months and many were still alive when the study ended, we cannot know how much longer they will live. That can make the overall mean survival time hard to estimate. RMST handles this problem by limiting the calculation to a time point fixed in advance.
If T is the time to the event and τ (tau) is the restriction time, it is written as follows.
RMST(τ) = E[min(T, τ)]
This means that if the event happens before the restriction time, the actual time to the event counts, and if no event has happened by the restriction time, only the time up to τ is counted.
In real data with censoring, we don’t simply average the observed survival times. Instead, we estimate the survival function with a method such as Kaplan–Meier and calculate RMST from the area under that survival function.
For example, a 24-month RMST of 20.5 months means that patients in that group are estimated to survive about 20.5 months on average within the restricted 24-month period.
Why is RMST needed?
Survival analysis often uses Kaplan–Meier estimation, the log-rank test and Cox regression.
But each of these answers a different question. Kaplan–Meier analysis shows the probability of surviving to a given time. The log-rank test assesses whether the survival functions differ statistically between groups. Cox regression expresses the relationship between several variables and the instantaneous risk of the event as hazard ratios.
RMST, on the other hand, shows how much the two groups’ mean survival time differs over a fixed observation period. For example, suppose we got the following results.
| Result | Treatment A | Treatment B |
|---|---|---|
| 24-month survival probability | 70% | 60% |
| 24-month RMST | 21.0 months | 19.2 months |
Here the difference in survival probability at 24 months is 10 percentage points. Comparing RMST, though, we can say that over the 24 months the mean survival time in the treatment A group was 1.8 months longer than in the treatment B group.
The two measures mean different things, however. The 24-month survival probability is the probability of surviving to that time, while RMST is the mean survival time accumulated over the 24 months. So two groups with the same survival probability can still have different RMSTs if their survival curves differed before that point.
How is RMST calculated?
RMST is found by calculating the area under the survival curve up to a fixed time point.
The formula is as follows.
RMST(τ) = ∫₀τ S(t) dt
Here S(t) is the probability that the event has not occurred by time t, and τ is the restriction time chosen by the analyst. For example, suppose the survival probability of 100 patients changed as follows.
| Event time | Survival probability just after the event |
|---|---|
| Start of treatment | 100% |
| 3 months | 90% |
| 6 months | 80% |
| 9 months | 70% |
| 12 months | 60% |
Between event times, the Kaplan–Meier survival probability is assumed to stay constant. The 12-month RMST can then be calculated as follows.
| Interval | Interval length | Survival probability in the interval | Area |
|---|---|---|---|
| 0–3 months | 3 months | 1.00 | 3.00 months |
| 3–6 months | 3 months | 0.90 | 2.70 months |
| 6–9 months | 3 months | 0.80 | 2.40 months |
| 9–12 months | 3 months | 0.70 | 2.10 months |
| Total | 10.20 months |
So the 12-month RMST is 10.2 months. This means that patients in this group are estimated to survive about 10.2 months on average during the 12 months after starting treatment. The important point is that RMST is not simply the 12-month survival probability of 60% multiplied by 12 months.
RMST reflects how the survival probability changes over the entire observation period.
A worked example with Kaplan–Meier survival curves
Suppose a medical study compared the survival outcomes of two chemotherapy treatments in 240 patients diagnosed with a particular cancer.
Patients were assigned 120 to each treatment group and followed for up to 24 months after starting treatment. In this example we assume a randomized study and define the event of interest as death from any cause.
| Item | Details |
|---|---|
| Study population | 240 patients with a particular cancer |
| Treatment A | 120 patients |
| Treatment B | 120 patients |
| Start of observation | Date treatment started |
| Event of interest | Death from any cause |
| Censoring | Alive at the end of the study or end of follow-up |
| Maximum observation period | 24 months |
| RMST restriction time | 24 months |
The research question is as follows.
"Is there a difference in mean survival time within 24 months between patients on the two treatments?"
To answer this question, assume we estimated each group’s Kaplan–Meier survival function and calculated the RMST up to 24 months. We can then evaluate the treatment effect using the RMST difference and ratio between the two groups and their confidence intervals.
What do you look for in the Kaplan–Meier survival curves?
Before calculating RMST, it’s a good idea to look at the Kaplan–Meier survival curve for each treatment group.
For example, suppose the following survival probabilities were observed.
Survival probability by treatment
| Time point | Treatment A | Treatment B |
|---|---|---|
| 6 months | 94% | 91% |
| 12 months | 86% | 80% |
| 18 months | 78% | 70% |
| 24 months | 70% | 60% |
In this example, treatment A had a higher survival probability than treatment B at every time point. In particular, survival probability at 24 months was 70% for treatment A and 60% for treatment B, a difference of 10 percentage points.
But the survival probability at 24 months alone cannot fully describe the two groups’ overall survival experience, because when the deaths occurred during those 24 months also matters. For example, if deaths in one group were concentrated right after treatment started, its RMST could be lower even if its final survival probability was similar to the other group’s.
So RMST has the advantage of showing the difference in survival time over the whole observation period, not just the survival probability at a single time point.
How do you interpret the actual RMST results?
Suppose we calculated RMST from the survival data of the 240 patients described above.
The results for the two groups are as follows.
24-month RMST results
| Measure | Treatment A | Treatment B |
|---|---|---|
| Patients analyzed | 120 patients | 120 patients |
| 24-month survival probability | 70% | 60% |
| 24-month RMST | 21.0 months | 19.2 months |
| 24-month restricted mean time lost (RMTL) | 3.0 months | 4.8 months |
These are not results from analyzing real individual patient data.
The RMST for treatment A was 21.0 months. This means patients in the treatment A group are estimated to survive about 21.0 months on average within the 24-month observation window. The RMST for treatment B was 19.2 months.
So the difference in mean survival time between the two groups is 1.8 months. The restricted mean time lost (RMTL) can also be calculated by subtracting RMST from the restriction time. For treatment A it is 24 - 21.0 = 3.0 months, and for treatment B it is 24 - 19.2 = 4.8 months.
This is the average survival time lost to the event within the restricted period up to 24 months. Note, though, that RMST and RMTL adding up to the restriction time is a relationship that holds by definition; they are not two independent analysis results.
What are the RMST difference and ratio?
The RMST difference is calculated by subtracting one group’s restricted mean survival time from the other’s.
The formula is as follows.
RMST difference = RMST of treatment A - RMST of treatment B
In the earlier example: 21.0 - 19.2 = 1.8 months This means that within the restricted 24-month observation period, the mean survival time of the treatment A group was 1.8 months longer than that of the treatment B group.
Because the RMST difference is expressed in units of time, it is intuitive to interpret. For example, if the RMST difference is 3 months, you can say the two groups’ restricted mean survival times differ by 3 months.
However, the RMST difference depends on the restriction time chosen. The RMST difference up to 12 months and the RMST difference up to 24 months can be different values. So when you report results, always give the restriction time along with the RMST difference.
What is the RMST ratio?
The RMST ratio is a measure calculated by dividing one group’s restricted mean survival time by the other’s.
The formula is as follows.
RMST ratio = RMST of treatment A ÷ RMST of treatment B
In the earlier example: 21.0 ÷ 19.2 ≈ 1.094 In other words, the 24-month RMST for treatment A was about 9.4% higher than for treatment B.
This should not be read as meaning that actual survival time under treatment A increased by 9.4% for every patient, though. The RMST ratio is a relative measure comparing mean survival time up to a fixed restriction time.
Comparing the RMST difference and ratio
| Type | Value | Interpretation |
|---|---|---|
| RMST difference | +1.8 months | A’s mean survival time is 1.8 months longer |
| RMST ratio | 1.094 | A’s RMST is about 1.094 times B’s |
The RMST difference shows the difference in actual time, and the RMST ratio shows the relative size. Reporting both gives a fuller picture of the difference in survival time between groups.
How do you interpret the confidence interval for RMST?
RMST is also an estimate calculated from sample data, so it carries uncertainty.
So when evaluating the RMST difference between two groups, it’s a good idea to check the confidence interval and p-value as well. Suppose the earlier example gave the following test results.
Comparison of RMST between groups
| Measure | Estimate | 95% confidence interval | p-value |
|---|---|---|---|
| RMST difference (A-B) | +1.8 months | +0.5 to +3.1 months | .007 |
| RMST ratio (A/B) | 1.094 | 1.025~1.168 | .007 |
These results were not calculated from real data or from a particular estimation procedure.
The 95% confidence interval for the RMST difference runs from 0.5 months to 3.1 months. The null value for a difference is 0 months. So if the 95% confidence interval does not include 0, as in this result, that is consistent with a statistically significant difference at the 0.05 significance level.
For the RMST ratio, the null value is 1. If the confidence interval for the ratio does not include 1, that is evidence against the hypothesis that the two groups have the same RMST. But a statistically significant result does not necessarily mean a clinically important effect.
How much a 1.8-month difference in mean survival time actually matters has to be judged by also considering the nature of the disease, the side effects of treatment, patients’ quality of life and so on.
How do you choose the restriction time (τ), and how does it affect the results?
One of the most important settings in an RMST analysis is the restriction time τ.
The restriction time determines how far out the mean survival time is calculated. For example, the 12-month RMST and the 24-month RMST summarize survival experience over different periods. Depending on how you set the restriction time, the RMST and the difference between groups can change.
Criteria for choosing the restriction time
| Consideration | Description |
|---|---|
| Research aim | Which matters more, short-term or long-term effects? |
| Follow-up period | Is there enough observed information up to that time point? |
| Number at risk | Are enough subjects still left at the restriction time? |
| Pre-specified study plan | Was the restriction time set before the analysis? |
| Clinical relevance | Does that period matter for real decisions? |
For example, in a study where one-year survival after starting treatment is what matters, you might choose 12 months as the restriction time. If long-term survival effects matter, on the other hand, you might consider 24 or 36 months.
But it is not appropriate to keep trying different restriction times just to find the one that gives the smallest p-value.
Doing so raises the chance of finding a significant result by chance.
So whenever possible, the restriction time should be set in advance, taking the research aim and the observation period into account.
Do the results change if the restriction time changes?
Because RMST is the area under the survival curve up to the restriction time, changing τ changes the result.
For example, suppose we calculated the RMST for the two treatment groups at several time points.
| Restriction time | Treatment A RMST | Treatment B RMST | Difference (A-B) |
|---|---|---|---|
| 6 months | 5.8 months | 5.7 months | +0.1 months |
| 12 months | 11.2 months | 10.8 months | +0.4 months |
| 18 months | 16.3 months | 15.3 months | +1.0 months |
| 24 months | 21.0 months | 19.2 months | +1.8 months |
In this example, the RMST difference up to 6 months was small at 0.1 months, but the difference up to 24 months grew to 1.8 months. This suggests that the difference in survival experience between the two treatments may have built up over time. But a later restriction time does not necessarily make the RMST difference larger.
If the two groups’ survival curves cross, the RMST difference can shrink or even change direction. So when comparing RMST, it’s a good idea to look at the overall shape of the Kaplan–Meier survival curves, not just the difference at a particular restriction time.
Why RMST is useful when survival curves cross
RMST can be used even when the two groups’ survival curves cross.
For example, suppose treatment A has a high survival probability early on that drops quickly over time, while treatment B starts with a lower survival probability that then stays relatively stable. In a case like this, the hazard ratio between the two groups can change over time.
The Cox proportional hazards model relies on the proportional hazards assumption, which says the hazard ratio is constant over time. So when survival curves cross substantially, a single hazard ratio may not describe the relationship over the whole observation period well.
Because RMST uses the area under the survival curve, it can compare mean survival time over a restricted period without the proportional hazards assumption. When survival curves cross, though, the RMST difference may turn out to be small.
For example, if treatment A is better early and treatment B is better later, the differences in survival time over the different periods can cancel out. So RMST does not always solve the problem of crossing survival curves.
RMST answers a clear question, the difference in mean survival time over a fixed period, and studies that want to separate early effects from late effects may need additional analyses.
How do Kaplan–Meier analysis and the log-rank test differ from RMST?
Kaplan–Meier estimation and RMST are closely connected.
Kaplan–Meier estimation calculates the survival probability over time. RMST accumulates that survival curve up to a particular time point and summarizes it as a mean survival time.
| Type | Kaplan–Meier | RMST |
|---|---|---|
| Main purpose | Estimate survival probabilities and the survival curve | Estimate mean survival time over a restricted period |
| Main result | Survival probability at each time point | Mean survival time |
| Unit of the result | Probability or percentage | Months, days or years |
| Group comparison | Compare survival curves | RMST difference and ratio |
| Restriction time | Check survival probability at a specific time | Setting τ is required |
For example, a 24-month survival probability of 70% for treatment A means the estimated probability that a patient survives to 24 months after starting treatment is 70%. A 24-month RMST of 21 months, on the other hand, means that within the same period you can expect about 21 months of survival time on average.
So the two methods do not replace each other; they describe survival outcomes from different angles.
How do RMST and the log-rank test differ?
The log-rank test is a method for testing statistically whether two groups’ survival functions are the same.
An RMST analysis, by contrast, estimates the mean survival time over a particular period and calculates the difference between groups directly.
| Type | Log-rank test | RMST comparison |
|---|---|---|
| Main question | Do the two groups’ survival functions differ? | How much does the mean survival time differ? |
| Main result | Chi-square statistic, p-value | RMST difference, ratio, confidence interval |
| Result in units of time | Not provided directly | Provided |
| Crossing survival curves | Power may drop | Compares the difference in area over the restricted period |
| Basis of analysis | Event pattern over the whole observation period | Restriction time set in advance |
For example, a log-rank p-value of 0.01 gives statistical evidence against the hypothesis that the two groups’ survival functions are the same. But that result alone does not tell you how many months patients’ mean survival time differs. An RMST comparison gives that time difference directly.
So depending on the research aim, you may report both methods together.
How do RMST and Cox regression differ?
Cox regression and RMST can both analyze differences between groups in survival data, but their results mean different things.
Cox regression expresses the relationship between covariates and the instantaneous risk of the event as a hazard ratio. RMST, on the other hand, calculates mean survival time over a restricted observation period.
| Type | Cox regression | RMST |
|---|---|---|
| Main result | Hazard ratio (HR) | Restricted mean survival time |
| Unit of the result | Ratio of risks | Time |
| Main question | How many times different is the instantaneous risk of the event? | How much does the mean survival time differ? |
| Proportional hazards assumption | Required in the basic model | Not required |
| Covariate adjustment | Built in | Possible with appropriate regression or standardization methods |
For example, if Cox regression gives a hazard ratio of 0.75 for treatment A, then, provided the proportional hazards assumption and other model assumptions hold, you can interpret treatment A’s instantaneous risk of the event as 25% lower than the comparison group’s.
An RMST difference of 1.8 months, by contrast, is interpreted as a 1.8-month difference in mean survival time within a fixed period. Because the two measures answer different questions, a hazard ratio cannot be converted directly into an RMST difference.
Also, RMST comparisons are possible even when the proportional hazards assumption does not hold, but RMST still needs appropriate censoring assumptions and an observation range over which it can be estimated.
Can you calculate RMST adjusted for other variables?
RMST comparisons are not limited to calculating the difference between two groups’ unadjusted survival curves.
For example, if patients’ age or disease severity is distributed differently between the two treatment groups, you can estimate an RMST that statistically adjusts for these variables. Survival regression models, standardization, weighting-based methods and similar approaches can be used for this.
For example, you can estimate each patient’s survival function taking age and disease severity into account, and then calculate the average survival function based on the covariate distribution of a common target population. Integrating that survival function up to the restriction time then gives an estimate of the adjusted RMST.
However, the assumptions required and how the result is interpreted depend on which adjustment method you use. In observational studies in particular, adjusting for several variables does not remove all confounding. So an adjusted RMST difference should not be read straight away as the causal effect of the treatment.
In a randomized study, if randomization worked well and the analysis assumptions are met, the RMST difference between groups can be used as a measure of the treatment effect.
Key assumptions of RMST and what to watch out for in the analysis
RMST does not require the proportional hazards assumption, but a few conditions need to be checked to get reliable results.
Censoring must be handled appropriately.
If censoring is related to the risk of the event, the RMST estimate can be biased. For example, it can be a problem if patients in poorer health are more likely to drop out of follow-up.
The survival function must be estimable up to the restriction time.
RMST calculates the area under the survival curve up to a fixed restriction time, so there must be enough observed information up to that point. Choosing a common restriction time is especially important if follow-up in one group ends much earlier than in the other.
The event and the start of observation must be defined consistently.
Results differ depending on whether survival time is measured from the date treatment started or from the date of diagnosis. So the starting point of the analysis and the event of interest must be clearly defined.
The uncertainty of the group comparison must be assessed.
Reporting only the RMST estimates makes it hard to see the uncertainty due to sampling variation. So where possible, confidence intervals and appropriate test results should be reported alongside them.
Things to watch out for in RMST analysis
When interpreting RMST results, check the restriction time and the uncertainty of the estimate together.
Do not interpret RMST as the overall mean survival time.
A 24-month RMST of 21 months does not mean that patients’ overall mean lifespan is 21 months. It means the mean survival time expected within the restricted 24-month period.
Results can change with the restriction time.
The 12-month RMST and the 24-month RMST summarize different survival experience. So if the restriction time isn’t reported, the result cannot be interpreted correctly.
Do not pick only a favorable restriction time after the fact.
If you compare many restriction times and report only those that gave significant results, selection bias can arise. So whenever possible, set the restriction time before the analysis, and if you explored several time points, say so explicitly.
Check that the number at risk is large enough.
As you approach the restriction time, the risk set can shrink because of events and censoring. In that case the uncertainty of the survival function and of the RMST estimate can grow.
Distinguish statistical significance from practical importance.
Even if an RMST difference is statistically significant, whether it is large enough to matter for actual treatment choices has to be judged separately. For example, whether a one-month difference in mean survival time matters depends on patients’ health, treatment costs, side effects, quality of life and so on.
How do you report RMST results?
When reporting RMST results, it’s a good idea to give the study population, the event of interest, the observation period, the restriction time, each group’s RMST, the RMST difference or ratio, the confidence interval, the p-value and so on.
Using the two-chemotherapy comparison from above, you could write it up like this.
Example write-up
A restricted mean survival time (RMST) analysis was performed to compare survival outcomes between two chemotherapy treatments. A total of 240 patients were analyzed, 120 each on treatment A and treatment B. The event of interest was defined as death from any cause, and the RMST restriction time was set at 24 months after the start of treatment. The 24-month RMST was 21.0 months for treatment A and 19.2 months for treatment B. The RMST difference between the two groups was 1.8 months, with a 95% confidence interval of 0.5 to 3.1 months (p = .007). This indicates that, within the 24-month observation window, the mean survival time of the treatment A group was estimated to be about 1.8 months longer than that of the treatment B group.
The estimates and test results shown are not figures calculated from a real clinical trial.
In a real study, it’s a good idea to also report both groups’ Kaplan–Meier survival curves, the follow-up period, the number censored and the rationale for the choice of restriction time. And when explaining the clinical meaning of the RMST difference, you may also consider other outcomes such as treatment side effects and patients’ quality of life.
Where can RMST be used?
RMST can be used in many kinds of studies that want to compare average event-free time within a restricted observation period.
Medicine and clinical trials
You can compare the mean survival time, or time survived without disease recurrence, of patients who received different treatments. It can be a particularly useful complementary measure in studies where the hazard ratio changes over time.
Public health and epidemiology
You can analyze whether the event-free time expected over a given period differs by particular risk factors or health conditions.
Manufacturing and reliability analysis
You can compare the mean failure-free operating time of different parts or equipment within a restricted period of use.
HR and organizational research
You can compare how long different groups of employees worked on average without leaving over a given period.
Education research
You can compare, by education program, how long students stayed enrolled on average over a fixed period.
Customer retention analysis
You can compare how long customers kept a subscription service on average over 12 or 24 months, by contract type or customer group. In this way, RMST is useful in studies that want to understand the time until an event in actual units of time rather than as a probability or hazard ratio.
RMST shows how much mean survival time differs within a restricted period.
Restricted mean survival time (RMST) estimates average event-free time by calculating the area under the survival curve up to a time point chosen by the researcher.
If Kaplan–Meier estimation shows survival probability over time and Cox regression gives the ratio of instantaneous event risks, RMST expresses, in units of time, how long subjects survived on average within a restricted period.
For example, if the 24-month RMSTs of two treatments are 21.0 months and 19.2 months, the difference in mean survival time is 1.8 months. A result like this can help explain the difference in actual time more intuitively than a hazard ratio.
In addition, because RMST does not require the proportional hazards assumption of Cox regression, it is useful even when survival curves cross or the hazard ratio changes over time.
RMST results do depend on the restriction time chosen, however, and the effects of censoring and the observation period must be considered. So it’s best to choose a restriction time that fits the research aim in advance and to check the confidence interval and survival curves as well.
The key to RMST is not forcing an estimate of the entire survival period, but calculating mean survival time within a well-observed fixed period and explaining the difference between groups in actual units of time.