In clinical trials, especially in cancer clinical trials, at least one of the outcome variables may be date data, which needs to be analyzed. For example, in most of the cancer clinical trials, the end point may be the progression free survival (PFS) or Overall Survival (OS). Here we need to analyse the data based on two dates, viz., start date of the study drug and occurrence of the event of interest such as progression of the disease or death in case of PFS calculation and the start date of the study drug and date of death in case of OS calculation. For certain subjects, the event of interest might not have happened during the study period or some subjects might have been withdrawn from the study due to severe side effects or some subjects might have been migrated to some other place. However, we have the partial information about their survival till last observation recorded during their follow up period. This information is useful and can be incorporated in the survival analyze.  Such information is called censored observation. Since the censored observations are also expected in the date data, we cannot use ordinary analysis procedures, but we need to use special procedure such as Kaplan – Meier procedure by including censored observations. Usually in clinical trials we have at least two groups to be compared to see whether there is any significant difference in survival times among the study groups. For this purpose, log rank test is used to compare the survival times between two groups. In this paper we are trying to explain briefly about the analysis procedures by using some dummy data for illustration purpose and also explained about SAS procedures as well.
The log rank test is used to test the null hypothesis of no difference in survival times between two or more independent groups. The test compares the entire survival experience between groups and can be thought of as a test of whether the survival curves are identical or not. This test is a nonparametric procedure which makes no assumptions about the distribution of survival times. It is easy to apply and is usually more powerful than an analysis based on proportions. It compares survival across the whole spectrum of time, not just at one or two points.
Log rank test is used to compare two or more groups statistically when data is time dependent. Log rank test is related to the chi-square test statistic and compares observed to expected number of events at each time point over the follow-up period. For example, to test the survival probabilities of cancer patients between age groups less than or equal to 25 years vs. above 25 years. The null hypothesis is that there is no difference in survival times between these two age groups. In other words, there is no significant difference between these two groups in the probability of death at any point during the study period.
Below is the survival data for 40 subjects to compare their survival times between two treatment groups.
Subject ID | Gender | Survival Time in days | Survival Status | Treatment |
---|---|---|---|---|
101 | Female | 179 | 1 | 1 |
102 | Female | 256 | 1 | 1 |
103 | Male | 262 | 1 | 1 |
104 | Female | 256 | 1 | 1 |
105 | Male | 255 | 1 | 1 |
106 | Female | 224 | 0 | 1 |
107 | Female | 225 | 1 | 1 |
108 | Male | 287 | 1 | 1 |
109 | Male | 319 | 1 | 1 |
110 | Male | 264 | 1 | 1 |
111 | Female | 237 | 0 | 0 |
112 | Female | 156 | 1 | 0 |
113 | Male | 270 | 1 | 0 |
114 | Male | 257 | 1 | 0 |
115 | Male | 242 | 1 | 0 |
116 | Female | 157 | 1 | 0 |
117 | Male | 249 | 1 | 0 |
118 | Female | 180 | 1 | 0 |
119 | Female | 226 | 1 | 0 |
120 | Male | 268 | 0 | 0 |
121 | Male | 378 | 0 | 1 |
122 | Male | 355 | 1 | 1 |
123 | Male | 319 | 1 | 1 |
124 | Male | 256 | 1 | 1 |
125 | Female | 171 | 1 | 1 |
126 | Male | 325 | 1 | 1 |
127 | Male | 325 | 1 | 1 |
128 | Female | 217 | 1 | 1 |
129 | Female | 255 | 1 | 1 |
130 | Female | 256 | 1 | 1 |
131 | Male | 291 | 1 | 0 |
132 | Male | 323 | 1 | 0 |
133 | Male | 253 | 1 | 0 |
134 | Female | 206 | 1 | 0 |
135 | Female | 206 | 1 | 0 |
136 | Male | 237 | 1 | 0 |
137 | Female | 211 | 1 | 0 |
138 | Female | 229 | 1 | 0 |
139 | Female | 234 | 1 | 0 |
140 | Female | 209 | 1 | 0 |
The SAS procedure LIFETEST is used to perform the log-rank test. The TIME statement designates the variable, days, whose values are the survival times, followed by the variable, Status, which identifies the censored observations. In this case, value of 0 for Status indicate a censored value (i.e., *Status (0)). The STRATA statement identifies the grouping or stratification variable, in this case, Treatment. The ODS GRAPHICS statement and PLOTS= option with the LIFETEST procedure are included to request survival plots and a plot of the negative log of the event times.
ods graphics on;
     proc lifetest data=Exposed plots=(s);
     time Days*Status(0);
     strata Treatment;
  run;
  ods graphics off;
SAS output is given below:
Stratum 1: Treatment = Treatment 1 | ||||||
---|---|---|---|---|---|---|
Product-Limit Survival Estimates | ||||||
Days | Survival | Failure | Survival Standard Error | Number Failed | Number Left | |
0.000 | 1.0000 | 0 | 0 | 0 | 20 | |
171.000 | 0.9500 | 0.0500 | 0.0487 | 1 | 19 | |
179.000 | 0.9000 | 0.1000 | 0.0671 | 2 | 18 | |
217.000 | 0.8500 | 0.1500 | 0.0798 | 3 | 17 | |
224.000 | * | . | . | . | 3 | 16 |
225.000 | 0.7969 | 0.2031 | 0.0908 | 4 | 15 | |
255.000 | . | . | . | 5 | 14 | |
255.000 | 0.6906 | 0.3094 | 0.1053 | 6 | 13 | |
256.000 | . | . | . | 7 | 12 | |
256.000 | . | . | . | 8 | 11 | |
256.000 | . | . | . | 9 | 10 | |
256.000 | 0.4781 | 0.5219 | 0.1146 | 10 | 9 | |
262.000 | 0.4250 | 0.5750 | 0.1135 | 11 | 8 | |
264.000 | 0.3719 | 0.6281 | 0.1111 | 12 | 7 | |
287.000 | 0.3188 | 0.6813 | 0.1071 | 13 | 6 | |
319.000 | . | . | . | 14 | 5 | |
319.000 | 0.2125 | 0.7875 | 0.0942 | 15 | 4 | |
325.000 | . | . | . | 16 | 3 | |
325.000 | 0.1063 | 0.8938 | 0.0710 | 17 | 2 | |
355.000 | 0.0531 | 0.9469 | 0.0517 | 18 | 1 | |
378.000 | * | 0.0531 | . | . | 18 | 0 |
Note:Â Â The marked survival times are censored observations.
Stratum 2: Treatment = Treatment 2 | ||||||
---|---|---|---|---|---|---|
Product-Limit Survival Estimates | ||||||
Days | Survival | Failure | Survival Standard Error | Number Failed | Number Left | |
0.000 | 1.0000 | 0 | 0 | 0 | 20 | |
156.000 | 0.9500 | 0.0500 | 0.0487 | 1 | 19 | |
157.000 | 0.9000 | 0.1000 | 0.0671 | 2 | 18 | |
180.000 | 0.8500 | 0.1500 | 0.0798 | 3 | 17 | |
206.000 | . | . | . | 4 | 16 | |
206.000 | 0.7500 | 0.2500 | 0.0968 | 5 | 15 | |
209.000 | 0.7000 | 0.3000 | 0.1025 | 6 | 14 | |
211.000 | 0.6500 | 0.3500 | 0.1067 | 7 | 13 | |
226.000 | 0.6000 | 0.4000 | 0.1095 | 8 | 12 | |
229.000 | 0.5500 | 0.4500 | 0.1112 | 9 | 11 | |
234.000 | 0.5000 | 0.5000 | 0.1118 | 10 | 10 | |
237.000 | 0.4500 | 0.5500 | 0.1112 | 11 | 9 | |
237.000 | * | . | . | . | 11 | 8 |
242.000 | 0.3937 | 0.6063 | 0.1106 | 12 | 7 | |
249.000 | 0.3375 | 0.6625 | 0.1082 | 13 | 6 | |
253.000 | 0.2812 | 0.7188 | 0.1038 | 14 | 5 | |
257.000 | 0.2250 | 0.7750 | 0.0971 | 15 | 4 | |
268.000 | * | . | . | . | 15 | 3 |
270.000 | 0.1500 | 0.8500 | 0.0891 | 16 | 2 | |
291.000 | 0.0750 | 0.9250 | 0.0693 | 17 | 1 | |
323.000 | 0 | 1.0000 | 0 | 18 | 0 |
Note:Â Â The marked survival times are censored observations.
Test of Equality over Strata | |||
---|---|---|---|
Test | Chi-Square | DF | Pr > Chi-Square |
Log-Rank | 5.6485 | 1 | 0.0175 |
Wilcoxon | 5.0312 | 1 | 0.0249 |
-2Log (LR) | 0.1983 | 1 | 0.6561 |
Log-rank test showed that there is significant difference in survival pattern between two study groups (P= 0.0175). Thus Log-rank test is a simple procedure to compare the survival times between two or more groups in clinical trials.
Looking for comprehensive assistance with your Clinical Trial Data Analysis? Turn to a Regulatory specialist such as MakroCare for end-to-end support. Stay updated. Stay in accordance with regulations.