st: modelling asynchronous interval-censored data with time-varyingcovariates
Date
Fri, 27 Aug 2004 16:32:00 +1000
Dear Stata-listers,
I inadvertantly left the subject off this post when I put it up 2 days ago,
so am re-posting in case it was overlooked.
I am attempting survival analysis of asynchronously interval-censored
data. Some of my covariates start out equal to zero (before the subjects
acquire particular attributes) but at later, different, times take on a
value which then remains constant. I've used -stsplit- to set this up. I
would like to analyse this time-varying characteristic in the model if
possible.
I can find techniques that handle interval censored data, or time-varying
covariates, but not both. The asynchronous interval censoring seems to be
the sticking point. I have tried using -stpm- but can't make it work with
the stsplit data if I also try to specify interval-censoring.
Here is an example of a 'fail' & 'non-fail' record:
. st
-> stset dayssurv, id(record) failure(fail)
id: record
failure event: fail != 0 & fail < .
obs. time interval: (dayssurv[_n-1], dayssurv]
exit on or before: failure
. list record _t0 _t _d dayssurv fail left invwwt gr2t if record ==1 |
record ==801, noobs