Professional Documents
Culture Documents
Examples On Comparison of Survival Curves
Examples On Comparison of Survival Curves
LOGRANK TEST
Consider the following two data sets, each having two treatment groups (0 and 1).
1 0 1 0
2 0 2 0
3 0 3 0
4 0 4 0
5+ 0 5+ 0
6 0 6 0
1+ 1 1.25+ 1
2 1 1.75 1
3+ 1 3.25+ 1
14 1 13.75 1
15 1 15.25 1
16 1 15.75 1
Compute the logrank CMH – type variance and the logrank CMH – Statistic for the
data set 1.
SOLUTION
In this problem, we want to compute the logrank CMH-type variance for Data
Set1.
Ordered Group 0 Group 1 combined
Death d0j c0j r0j d1j c1j r1j dj rj ej oj- ej Vj
times
2 1 0 5 1 0 5 2 10 1 0 0.4444
5 0 1 2 0 0 3 0 5 0 0 0
14 0 0 0 1 0 3 1 3 0 0 0
15 0 0 0 1 0 2 1 2 0 0 0
16 0 0 0 1 0 1 1 1 0 0 0
d j r0 j
O j = d0 j , ej =
rj
r1 j r0 j d j (r j − d j )
Vj =
r j2 (r j − 1)
VarCMH = V j = 1.3819
CMH
2
=
(2.25)2 = 3.6634
1.3819
Compute the linear rank – type variance and the linear rank type – Statistic for the
data set 2.
Ordered Group ̂ (t j )
Death dj rj Score wj
times
1 0 1 12 0.0833 0.9167
2 0 1 9 0.2944 0.7056
3 0 1 8 0.4194 0.5806
4 0 1 6 0.5861 0.4139
5+ 0 0 5 0.5861 -0.5861
6 0 1 4 0.8361 0.1639
ˆ (t ) =
dj
j
j:t j t rj
S = 0.9167+0.7056+0.5806+0.4139+0.1639-0.5861 = 2.1946
n
n0 n1 ws2
6 6 6.3305
Linear rank type variance = Var (S ) =
j =1
= = 1.7265
n(n − 1) 12 11
2.1946
Z= = 1.6702 linear
2
= 1.67022 = 2.790
1.7265