bioinformatics logo

Help Page for Log Rank Test.

Example of data in Format 2 :
The data is a list of subjects, with the group and time of death of each subject given.

Let's say you had 20 subjects, 10 in each group, and you followed them for 9 weeks. And 4 subjects in group 1 died at weeks 2,4,6 and 7, and 1 subject in group 2 died at week 8, with the rest surviving all 9 weeks. The data in this format, would look like this:

time group
2 1
4 1
6 1
7 1
8 2

If you copy and paste this on the main page, click on the appropriate format, and click run, the data will be tabulated in the following manner.

line
0 time group
1 2 1
2 4 1
3 6 1
4 7 1
5 8 2
column: 0 1


The program will try and guess appropriate answers for this data, but in this case the answers are as follows:

First Line of data: 1
Last Line of data: 5
First group name: 1
Second group name: 2
Column containing time of death: 0
Column containing group information: 1
Number of subjects in the first group that were still alive at the end of the experiment: 6
Number of subjects in the second group that were still alive at the end of the experiment: 9
Time that the experiment was stopped: 9

Example of data in Format 1 :
The data is a list of time intervals, with the number of deaths recorded in each group.

If the situation is the same as in the last example, i.e.
Let's say you had 20 subjects, 10 in each group, and you followed them for 9 weeks. And 4 subjects in group 1 died at weeks 2,4,6 and 7, and 1 subject in group 2 died at week 8, with the rest surviving all 9 weeks.

Then the data in this format, would look like this:

time group1 group2
1 0 0
2 1 0
3 0 0
4 1 0
5 0 0
6 1 0
7 1 0
8 0 1
9 0 0
size: 10 10


Please direct statistical questions to the author: Russell Thomson: Russell.Thomson@utas.edu.au.

For web page questions please contact: Keith Satterley: keith@wehi.edu.au.
Last modified: 05 June 2014