Pasek boczny

en:statpqpl:survpl:kmporpl

Comparison of survival curves

The survival functions can be built separately for different subgroups, e.g. separately for women and men, and then compared. Such a comparison may concern two curves or more.

The window with settings for the comparison of survival curves is accessed via the menu Advanced statisticsSurvival analysisComparison groups

Comparisons of $k$ survival curves $S_1,S_2,...,S_k$, at particular points of the survival time $t$, in the program can be made with the use of three tests:

Log-rank test the most popular test drawing on the Mantel-Heanszel procedure for many 2 x 2 tables (Mantel-Heanszel 19591), Mantel 19662), Cox 19723)),

Gehan's generalization of Wilcoxon's test deriving from Wilcoxon's test (Breslow 1970, Gehan 19654)5)),

Tarone-Ware test deriving from Wilcoxon's test (Tarone and Ware 19776)).

The three tests are based on the same test statistic, they only differ in weights $w_j$ the particular points of the timeline on which the test statistic is based.

Log-rank test: $w_j=1$ – all the points of the timeline have the same weight which gives the later values of the timeline a greater influence on the result;

Gehan's generalization of Wilcoxon's test: $w_j=n_j$ – time moments are weighted with the number of observations in each of them, so greater weights are ascribed to the initial values of the time line;

Tarone-Ware test: $w_j=\sqrt{n_j}$ – time moments are weighted with the root of the number of observations in each of them, so the test is situated between the two tests described earlier.

An important condition for using the tests above is the proportionality of hazard. Hazard, defined as the slope of the survival curve, is the measure of how quickly a failure event takes place. Breaking the principle of hazard proportionality does not completely disqualify the tests above but it carries some risks. First of all, the placement of the point of the intersection of the curves with respect to the timeline has a decisive influence on decreasing the power of particular tests.

EXAMPLE cont. (transplant.pqs file)

Differences among the survival curves

Hypotheses:

\begin{array}{ll}
\mathcal{H}_0: & S_1(t)=S_2(t)=...=S_k(t),$\quad for all $t,\\
\mathcal{H}_1: & $not all $S_i(t)$ are equal$.
\end{array}

In calculations was used chi-square statistics form:

\begin{displaymath}
\chi^2=U'V^{-1}U
\end{displaymath}

where:

$U_i=\sum_{j=1}^{m}w_j(d_{ij}-e_{ij})$

$V$ - covariance matrix of dimensions $(k-1)\times(k-1)$

where:

diagonal: $\sum_{j=1}^{m}w_j^2\frac{n_{ij}(n_j-n_{ij})d_j(n_j-d_j)}{n^2_j(n_j-1)}$,

off diagonal: $\sum_{j=1}^{m}w_j^2\frac{n_{ij}n_{lj}d_j(n_j-d_j)}{n^2_j(n_j-1)}$

$m$ – number of moments in time with failure event (death),

$d_j=\sum_{i=1}^k d_{ij}$ – observed number of failure events (deaths) in the $j$-th moment of time,

$d_{ij}$ – observed number of failure events (deaths) in the w $i$-th group w in the $j$-th moment of time,

$e_{ij}=\frac{n_{ij}d_j}{n_j}$ – expected number of failure events (deaths) in the w $i$-th group w in the $j$-th moment of time,

$n_j=\sum_{i=1}^k n_{ij}$ – the number of cases at risk in the $j$-th moment of time.

The statistic asymptotically (for large sizes) has the Chi-square distribution with $df=k-1$ degrees of freedom.

The p-value, designated on the basis of the test statistic, is compared with the significance level $\alpha$:

\begin{array}{ccl}
$ if $ p \le \alpha & \Longrightarrow & $ reject $ \mathcal{H}_0 $ and accept $ 	\mathcal{H}_1, \\
$ if $ p > \alpha & \Longrightarrow & $ there is no reason to reject $ \mathcal{H}_0. \\
\end{array}

Hazard ratio

In the log-rank test the observed values of failure events (deaths) $O_i=\sum_{j=1}^m d_{ij}$ and the appropriate expected values $E_i=\sum_{j=1}^m e_{ij}$ are given.

The measure for describing the size of the difference between a pair of survival curves is the hazard ratio ($HR$).

\begin{displaymath}
HR= \frac{O_1/E_1}{O_2/E_2}
\end{displaymath}

If the hazard ratio is greater than 1, e.g. $HR=2$, then the degree of the risk of a failure event in the first group is twice as big as in the second group. The reverse situation takes place when $HR$ is smaller than one. When $HR$ is equal to 1 both groups are equally at risk.

Note

The confidence interval for $HR$ is calculated on the basis of the standard deviation of the $HR$ logarithm (Armitage and Berry 19947)).

EXAMPLE cont. (transplant.pqs file)

2022/02/09 12:56

Survival curves trend

Hypotheses:

\begin{array}{ll}
\mathcal{H}_0: & $In the studied population there is no trend in the placement of the $S_1,S_2,...,S_k$ curves,$\\
\mathcal{H}_1: & $In the studied population there is a trend in in the placement of the $S_1,S_2,...,S_k$ curves.$
\end{array}

In the calculation the chi-square statistic was used, in the following form: \begin{displaymath}
\chi^2=\frac{(c'U)^2}{c'Vc}
\end{displaymath}

where:

$c=(c_1,c_2,...,c_k)$ – vector of the weights for the compared groups, informing about their natural order (usually the subsequent natural numbers).

The statistic asymptotically (for large sizes) has the Chi-square distribution with $1$ degree of freedom.

The p-value, designated on the basis of the test statistic, is compared with the significance level $\alpha$:

\begin{array}{ccl}
$ if $ p \le \alpha & \Longrightarrow & $ reject $ \mathcal{H}_0 $ and accept $ 	\mathcal{H}_1, \\
$ if $ p > \alpha & \Longrightarrow & $ there is no reason to reject $ \mathcal{H}_0. \\
\end{array}

In order to conduct a trend analysis in the survival curves the grouping variable must be a numerical variable in which the values of the numbers inform about the natural order of the groups. The numbers in the analysis are treated as the $c_1,c_2,...,c_k$ weights.

EXAMPLE cont. (transplant.pqs file)

2022/02/09 12:56

Survival curves for the stratas

Often, when we want to compare the survival times of two or more groups, we should remember about other factors which may have an impact on the result of the comparison. An adjustment (correction) of the analysis by such factors can be useful. For example, when studying rest homes and comparing the length of the stay of people below and above 80 years of age, there was a significant difference in the results. We know, however, that sex has a strong influence on the length of stay and the age of the inhabitants of rest homes. That is why, when attempting to evaluate the impact of age, it would be a good idea to stratify the analysis with respect to sex.

Hypotheses for the differences in survival curves:

\begin{array}{ll}
\mathcal{H}_0: & S_1^*(t)=S_2^*(t)=...=S_k^*(t),$\quad for all $t,\\
\mathcal{H}_1: & $not all $S_i^*(t)$ are equal$.
\end{array}

Hypotheses for the analysis of trends in survival curves:

\begin{array}{ll}
\mathcal{H}_0: & $In the studied population there is no trend in the placement of the $S_1^*,S_2^*,...,S_k^*,$ curves,$\\
\mathcal{H}_1: & $In the studied population there is a trend in in the placement of the $S_1^*,S_2^*,...,S_k^*$ curves$.
\end{array}

where $S_1^*(t), S_2^*(t), ..., S_k^*(t)$ -are the survival curves after the correction by the variable determining the strata.

The calculations for test statistics are based on formulas described for the tests, not taking into account the strata, with the difference that matrix U and V is replaced with the sum of matrices $\sum_{l=1}^L U$ and $\sum_{l=1}^L V$. The summation is made according to the strata created by the variables with respect to which we adjust the analysis l={1,2,…,L}

The p-value, designated on the basis of the test statistic, is compared with the significance level $\alpha$:

\begin{array}{ccl}
$ if $ p \le \alpha & \Longrightarrow & $ reject $ \mathcal{H}_0 $ and accept $ 	\mathcal{H}_1, \\
$ if $ p > \alpha & \Longrightarrow & $ there is no reason to reject $ \mathcal{H}_0. \\
\end{array}

EXAMPLE cont. (transplant.pqs file)

The differences for two survival curves

Liver transplantations were made in two hospitals. We will check if the patients' survival time after transplantations depended on the hospital in which the transplantations were made. The comparisons of the survival curves for those hospitals will be made on the basis of all tests proposed in the program for such a comparison.

Hypotheses:

\begin{array}{ll}
\mathcal{H}_0: & $the survival curve of the patients of hospital no. 1 $=$ the survival curve of the patients of hospital no. 2$,\\
\mathcal{H}_1: & $the survival curve of the patients of hospital no. 1 $\neq $ the survival curve of the patients of hospital no. 2$.
\end{array}

On the basis of the significance level $\alpha=0.05$, based on the obtained value p=0.6004 for the log-rank test (p=0.6959 for Gehan's and 0.6465 for Tarone-Ware) we conclude that there is no basis for rejecting the hypothesis $\mathcal{H}_0$. The length of life calculated for the patients of both hospitals is similar.

The same conclusion will be reached when comparing the risk of death for those hospitals by determining the risk ratio. The obtained estimated value is HR=1.1499 and 95% of the confidence interval for that value contains 1: $\langle$0.6570, 2.0126$\rangle$.

Differences for many survival curves

Liver transplantations were made for people at different ages. 3 age groups were distinguished: $\langle 45 $ years$; 50 $ years<latex>$)$</latex>, $\langle 50 $ years$; 55 $ years$)$, $\langle 55 $ years$; 60 $ years$)$. We will check if the patients' survival time after transplantations depended on their age at the time of the transplantation.

Hypotheses:

\begin{array}{ll}
\mathcal{H}_0: & $survival rates of patients aged $\langle 45 $ years$; 50 $ years$), \langle 50 $ years$; 55 $ years$), \langle 55 $ years$; 60 $ years$)\\
& $are similar,$\\
\mathcal{H}_1: & $at least one survival curve out of the 3 curves above$\\
& $differs from the other curves.$\\
\end{array}

On the basis of the significance level $\alpha=0.05$, based on the obtained value p=0.0692 in the log-rank test (p=0.0928 for Gehan's and p=0.0779 for Tarone-Ware) we conclude that there is no basis for the rejection of the hypothesis $\mathcal{H}_0$. The length of life calculated for the patients in the three compared age groups is similar. However, it is noticeable that the values are quite near to the standard significance level 0.05.

When examining the hazard values (the ratio of the observed values and the expected failure events) we notice that they are a little higher with each age group (0.68, 0.93, 1.43). Although no statistically significant differences among them are seen it is possible that a growth trend of the hazard value (trend in the position of the survival rates) will be found.

Trend for many survival curves

If we introduce into the test the information about the ordering of the compared categories (we will use the age variable in which the age ranges will be numbered, respectively, 1, 2, and 3), we will be able to check if there is a trend in the compared curves. We will study the following hypotheses:

\begin{array}{ll}
\mathcal{H}_0: & $a lack of a trend in the survival time curves of the patients after a transplantation$\\
& $(a trend dependent on the age of the patients at the time of a transplantation),$\\
\mathcal{H}_1: & $the older the patients at the time of a transplantation, the greater/smaller$\\
& $ the probability of their survival over a given period of time.$\\
\end{array}

On the basis of the significance level $\alpha=0.05$, based on the obtained value p=0.0237 in the log-rank test (p=0.0317 for Gehan's and p=0.0241 for Tarone-Ware) we conclude that the survival curves are positioned in a certain trend. On the Kaplan-Meier graph the curve for people aged <latex>$\langle$</latex>55 years; 60 years) is the lowest. Above that curve there is the curve for patients aged $\langle$50 years; 55 years). The highest curve is the one for patients aged $\langle$45 years; 50 years). Thus, the older the patient at the time of a transplantation, the lower the probability of survival over a certain period of time.

Survival curves for stratas

Let us now check if the trend observed before is independent of the hospital in which the transplantation took place. For that purpose we will choose a hospital as the stratum variable.

The report contains, firstly, an analysis of the strata: both the test results and the hazard ratio. In the first stratum the growing trend of hazard is visible but not significant. In the second stratum a trend with the same direction (a result bordering on statistical significance) is observed. A cumulation of those trends in a common analysis of strata allowed the obtainment of the significance of the trend of the survival curves. Thus, the older the patient at the time of a transplantation, the lower the probability of survival over a certain period of time, independently from the hospital in which the transplantation took place.

A comparative analysis of the survival curves, corrected by strata, yields a result significant for the log-rank and Tarone-Ware tests and not significant for Gehan's test, which might mean that the differences among the curves are not so visible in the initial survival periods as in the later ones. By looking at the hazard ratio of the curves compared in pairs

we can localize significant differences. For the comparison of the curve of the youngest group with the curve of the oldest group the hazard ratio is the smallest, 0.53, the 95\% confidence interval for that ratio, $\langle$0.26 ; 1.05$\rangle$, does contain value 1 but is on the verge of that value, which can suggest that there are significant differences between the respective curves. In order to confirm that supposition an inquisitive researcher can, with the use of the data filter in the analysis window, compare the curves in pairs.

However, it ought to be remembered that one of the corrections for multiple comparisons should be used and the significance level should be modified. In this case, for Bonferroni's correction, with three comparisons, the significance level will be 0.017. For simplicity, we will only avail ourselves of the log-rank test.

$\langle$45 lat; 50 lat) vs $\langle$50 lat; 55 lat)

$\langle$45 lat; 50 lat) vs $\langle$55 lat; 60 lat)

$\langle$50 lat; 55 lat) vs $\langle$55 lat; 60 lat)

As expected, statistically significant differences only concern the survival curves of the youngest and oldest groups.

2022/02/09 12:56
1)
Mantel N. and Haenszel W. (1959), Statistical aspects of the analysis of data from retrospective studies of disease. Journal of the National Cancer Institute, 22,719-748
2)
Mantel N. (1966), Evaluation of Survival Data and Two New Rank Order Statistics Arising in Its Consideration. Cancer Chemotherapy Reports, 50:163—170
3)
Cox D.R. (1972), Regression models and life tables. Journal of the Royal Statistical Society, B34:187-220
4)
Gehan E. A. (1965a), A Generalized Wilcoxon Test for Comparing Arbitrarily Singly-Censored Samples. Biometrika, 52:203—223
5)
Gehan E. A. (1965b), A Generalized Two-Sample Wilcoxon Test for Doubly-Censored Data. Biometrika, 52:650—653
6)
Tarone R. E., Ware J. (1977), On distribution-free tests for equality of survival distributions. Biometrica, 64(1):156-160
7)
Armitage P., Berry G., (1994), Statistical Methods in Medical Research (3rd edition); Blackwell
en/statpqpl/survpl/kmporpl.txt · ostatnio zmienione: 2022/02/16 09:51 przez admin

Narzędzia strony