If the patient has survival time zero, then the patient contributes
zero (1 person * 0 days) to time at risk. Those patients will be
excluded from the survival analysis at the outset, when you -stset-
your data.
I agree with the comment to add a fraction of the day to the data,
although in some settings I found that the Cox regression coefficients
can change depending on how much you add (0.1 vs. 0.5 etc.) and how
many patients are affected.
AO
On Mon, Apr 22, 2013 at 1:37 PM, Steve Samuels <sjsamuels@gmail.com> wrote:
> I assume you have dates in days:
>
> . replace sdate = sdate + 0.5 if (died on day of enrollment)
> . stset stdate
>
> Use more exact fractions if you have them.
>
> In some circumstances, a lot of ties can distort the analysis. If you have frequent ties for days of early deaths, then perhaps you should ascertain approximate times of death for all patients with early deaths, not just those who died on day 1.
>
> Steve
> sjsamuels@gmail.com
>
>
> On Apr 22, 2013, at 1:11 PM, Po-Lin Chan wrote:
>
> Hi Statalisters,
>
> I am running a Cox survival but have 5 patients who die on the day of
> enrolment (ie entry).
> Does Stata automatically account for the contribution of these 5 patients
> for the total patient time?
> Do I need to add additional time to their date of death in stata, and how
> do I do this?
>
> Thank you
>
> Polin Chan
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/