Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Different results using stdes and stsum


From   moleps islon <[email protected]>
To   [email protected]
Subject   st: Different results using stdes and stsum
Date   Wed, 7 Oct 2009 13:16:47 +0200

Dear listers,
using stata v10.1 I obtain different results in my dataset for the
median survival using stsum and stdes for the dataset, i.e.

. stdes

         failure _d:  status_fu == 0
   analysis time _t:  cox_time

                                   |-------------- per subject --------------|
Category                   total        mean         min     median        max
------------------------------------------------------------------------------
no. of subjects              516
no. of records               516           1           1          1          1

(first) entry time                         0           0          0          0
(final) exit time                   11.66499    .0666667   9.633333       74.9

subjects with gap              0
time on gap if gap             0
time at risk           6019.1333    11.66499    .0666667   9.633333       74.9

failures                     453     .877907           0          1          1
------------------------------------------------------------------------------

. help sts

. stsum

         failure _d:  status_fu == 0
   analysis time _t:  cox_time

         |               incidence       no. of    |------ Survival time -----|
         | time at risk     rate        subjects        25%       50%       75%
---------+---------------------------------------------------------------------
   total |  6019.133335     .07526           516   4.733333  10.06667  17.03333


What is the difference in median time at risk per subject and median
survival time? Which one to report?

regards,

M
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index