Hi all,
Apologies if this is very simple.
I'm trying to run a recurring-event survival analysis using panel data. I used to following code for my stset:
stset time, id(participantid) failure(event=1)
time = the number of days of follow-up (between 1-3000)
event = an indicator of whether or not the observation was an event of interest
Once I do this, Stata informs me of the number of subjects and the number of failures in single-failure-per-subject data, and adds _st _d _t & _t0 to my variable list.
My issue (at least, I think it's an issue), is for every observation is the second or upward event for any given participant has an _st value of 0, and a missing value for each of _d _t & _t0. Does this mean these observations are not included in my analyses? How do I set up my stset correctly to ensure I'm capturing these observations?
Thanks in advance,
Alexander
Related Posts with Using stset for recurring event analysis
Interpreting pvarsoc command (optimal lag)I want to use a dynamic panel data model and I am trying to figure out what will be the optimal lag …
Test the effect that the combined level of education in couples has on financesHi Statalist.
I would like to test the effect of the combined level of education of each partner in…
Code on Idiosyncratic SkewnessDear STATA Fraternity
I am not good in writing codes. Somehow i tried to write a code for calculati…
oaxaca: reference categoryDear Statalisters,
I am using the Blinder-Oaxaca decomposition with the following code:
Code:
oa…
calculating r square for a model estimated with multiply imputed data (mi estimate)Dear all,
I would very much appreciate your help with calculating r-squared for models estimated wi…
Subscribe to:
Post Comments (Atom)
0 Response to Using stset for recurring event analysis
Post a Comment