Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Equal times in TDC data set
From
Scott Merryman <[email protected]>
To
[email protected]
Subject
Re: st: Equal times in TDC data set
Date
Thu, 22 Nov 2012 12:37:00 -0600
Scott
On Thu, Nov 22, 2012 at 10:14 AM, Lythgoe, Dan
<[email protected]> wrote:
> Dear Statalisters,
>
> I am playing around with time dependent variates and have a data set in the following format:
>
> id record_no time event
> 6 1 1 0
> 6 2 15 1
> 7 1 5 0
> 7 2 30 1
> 8 1 10 0
> 8 2 10 1
>
> In order to -stset- my data I cannot have two equal times for the same patient (as per patient 8 above). Is there a straight-forward way of adding, say, 0.1 to the second observation for all patients with two identical times?
>
> Many thanks in advance
> Dan Lythgoe
*
* 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/