Hello all,
I am confused as to which is giving me the correct median follow up time in survival analysis- stsum or stdescribe.
. stdescribe
failure _d: recur2 == 1
analysis time _t: betweendx2recur/30
|-------------- per subject --------------|
Category total mean min median max
------------------------------------------------------------------------------
no. of subjects 175
no. of records 175 1 1 1 1
(first) entry time 0 0 0 0
(final) exit time 21.3101 .4333333 17.03333 93.33333
subjects with gap 0
time on gap if gap 0
time at risk 3729.2667 21.3101 .4333333 17.03333 93.33333
failures 120 .6857143 0 1 1
------------------------------------------------------------------------------
. stsum
failure _d: recur2 == 1
analysis time _t: betweendx2recur/30
| incidence no. of |------ Survival time -----|
| time at risk rate subjects 25% 50% 75%
---------+---------------------------------------------------------------------
total | 3729.266667 .0321779 175 13.33333 18.66667 26.9
They give me different median numbers- I am thinking stsum since stdescribe seems to be looking at the exit times- any insight? Thanks!
I am confused as to which is giving me the correct median follow up time in survival analysis- stsum or stdescribe.
. stdescribe
failure _d: recur2 == 1
analysis time _t: betweendx2recur/30
|-------------- per subject --------------|
Category total mean min median max
------------------------------------------------------------------------------
no. of subjects 175
no. of records 175 1 1 1 1
(first) entry time 0 0 0 0
(final) exit time 21.3101 .4333333 17.03333 93.33333
subjects with gap 0
time on gap if gap 0
time at risk 3729.2667 21.3101 .4333333 17.03333 93.33333
failures 120 .6857143 0 1 1
------------------------------------------------------------------------------
. stsum
failure _d: recur2 == 1
analysis time _t: betweendx2recur/30
| incidence no. of |------ Survival time -----|
| time at risk rate subjects 25% 50% 75%
---------+---------------------------------------------------------------------
total | 3729.266667 .0321779 175 13.33333 18.66667 26.9
They give me different median numbers- I am thinking stsum since stdescribe seems to be looking at the exit times- any insight? Thanks!
Comment