The LIFETEST Procedure

Example 76.5 Restricted Mean Analysis

(View the complete code for this example.)

This example illustrates how to perform nonparametric analyses with respect to the restricted mean survival time (RMST) and the restricted mean time lost (RMTL). Consider the VALung data set in Example 76.1. The failure time variable is SurvTime. The censoring indicator variable is Censor, which has a value of 1 for a censored observation and a value of 0 for an uncensored observation. Each patient has one of the four types of cancer cells (adeno, large, small, and squamous) that are identified by the variable Cell.

The following statements use PROC LIFETEST to perform analyses of the restricted mean survival time (RMST) and restricted mean time lost (RMTL) in addition to the standard analyses:

ods graphics on;
proc lifetest data=VALung plots=(rmst rmtl) rmst rmtl(tau=90) maxtime=600;
   time SurvTime*Censor(1);
   strata Cell;
run;
ods graphics off;

The RMST and RMTL options estimate the restricted mean survival time and the restricted mean time lost, respectively. The variable Cell is specified in the STRATA statement to compute the RMST for each type of cancer cell. ODS Graphics must be enabled for graphs to be produced. Graphical displays of the RMST and RMTL curves are requested through the PLOTS= option in the PROC LIFETEST statement. Because of a few large survival times, a MAXTIME= option value of 600 is used to set the upper limit of the time axis; that is, the time horizon extends from 0 to a maximum of 600 days in the plots.

Output 76.5.1 displays the tau value that the RMST analysis uses. If you omit the TAU= option, PROC LIFETEST uses the smallest value among the largest observed times across the strata as the tau value.

Output 76.5.1: RMST Analysis Information

The LIFETEST Procedure

RMST Analysis
Information
Tau186


Output 76.5.2 displays the RMST estimates for the four cell types.

Output 76.5.2: RMST Estimates

RMST Estimates
StratumCell TypeEstimateStandard
Error
1adeno65.555569.9303
2large128.037011.9858
3small64.206478.2859
4squamous113.804012.3703


Output 76.5.3 displays information for the RMTL analysis. A tau value of 90 is shown; this is the value specified in the TAU= option.

Output 76.5.3: RMTL Analysis Information

RMTL Analysis
Information
Tau90


Output 76.5.4 displays the RMTL estimates for the four cell types at tau equals 90.

Output 76.5.4: RMTL Estimates at tau equals 90

RMTL Estimates
StratumCell TypeEstimateStandard
Error
1adeno36.543216.3206
2large14.333334.9560
3small41.270834.6763
4squamous22.993655.6430


The graph of the estimated RMST curves is shown in Output 76.5.5. These curves exhibit a behavior similar to that of the survival curves in Example 76.1: the adeno cell curve and the small cell curve are much closer to each other than they are to the large cell curve or the squamous cell curve. The shapes of the large cell curve and the squamous cell curve are quite different, although both increase more rapidly than those of the adeno and small cells. The squamous cell curve initially increases less rapidly than the large cell curve, but the role is reversed in the later period.

Output 76.5.5: RMST Curves

RMST Curves


The graph of the estimated RMTL curves is displayed in Output 76.5.6. Again, the adeno cell curve and the small cell curve are much closer to each other and farther away from the large cell and squamous cell curves.

Output 76.5.6: RMTL Curves

RMTL Curves


Results of the homogeneity test for the RMST across cell types are given in Output 76.5.7. The table displays the approximate chi-square statistic, degrees of freedom, and p-value. The test results indicate strong evidence that the RMSTs for the four types of cancer cells are not the same (p < 0.0001).

Output 76.5.7: Homogeneity Tests across Cell Types

RMST Test of Equality
SourceChi-SquareDFPr > ChiSq
Strata28.44273<.0001


The homogeneity test does not identify which pairs of the RMSTs are different. In the following statements, you use the DIFF= option to compute the paired differences of the RMST among the groups. To protect yourself from falsely significant results, you use the ADJUST= option to make multiple-comparison adjustments to the resulting p-values.

proc lifetest data=VALung rmst;
   time SurvTime*Censor(1);
   strata Cell / diff=all adj=sidak;
run;

The Šidák multiple-comparison results are shown in Output 76.5.8.

Output 76.5.8: All Paired Comparisons

The LIFETEST Procedure

Restricted Mean Survival Time Comparisons
Adjustment for Multiple Comparisons: Sidak
 DifferenceStandard
Error
Chi-SquarePr > ChiSq
Stratum ComparisonUnadjustedAdjusted
adenolarge-62.481515.565016.1141<.00010.0004
adenosmall1.34908712.93320.01090.91691.0000
adenosquamous-48.248515.86309.25110.00240.0140
largesmall63.8305714.571019.1901<.0001<.0001
largesquamous14.2330317.22450.68280.40860.9572
smallsquamous-49.597514.888911.09670.00090.0052


The results suggest that you can divide the four risk groups into two classes. The first class consists of the small and adeno cell types, and there is no significant difference in the RMST between them (p = 1.0000). The second class consists of the large and squamous cell types, and the paired comparison is not significant (p = 0.9572). However, there is significant difference in any paired comparison between the two classes.

Suppose you consider the small cell type to be the reference group. You can use the DIFF= option in the STRATA statement to designate this risk group as the control and apply a multiple-comparison adjustment to the p-values for the paired comparison between the small cell type and the other cell types. Consider the Šidák correction again. You specify the ADJUST= and DIFF= options as in the following statements:

proc lifetest data=VALung rmst;
   time SurvTime*Censor(1);
   strata Cell / adj=sidak diff=control('small');
run;

Output 76.5.9 shows that both the large and squamous cell types differ from the small cell type at the 0.05 level, whereas the difference between the adeno and small cell types is not significant (p = 0.9994).

Output 76.5.9: Comparisons to the Reference Group

The LIFETEST Procedure

Restricted Mean Survival Time Comparisons
Adjustment for Multiple Comparisons: Sidak
 DifferenceStandard
Error
Chi-SquarePr > ChiSq
Stratum ComparisonUnadjustedAdjusted
adenosmall1.34908712.93320.01090.91690.9994
largesmall63.8305714.571019.1901<.0001<.0001
squamoussmall49.5975414.888911.09670.00090.0026


Last updated: October 28, 2020