Hi Statalisters,
I am working with data that consists of multiple records per subject and
would like to split the data at to create a time varying covariate.
However, the event in which I would like to split can occur multiple
times per subject as well. The code I'm using is incorrectly doing the
split. The code I'm trying is the following:
stsplit cross_ind, at(0) after(time=asis(dx_to_claim_day))
So, starting at the reference time of diagnosis, I'm trying to split
each time a subject "crosses" a particular defined point and this
crossing can occur multiple times.
Tom Weichle
Math Statistician
Center for Management of Complex Chronic Care (CMC3)
Hines VA Hospital, Bldg 1, C202
708-202-8387 ext. 24261
[email protected]
*
* 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/