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
How to run LM- tes to check of Spatial Auto-correlation in panel data?Hello Dears I had run LM- tes to check of Spatial Auto-correlation in panel data but i got an error…
Color of Confidence IntervalsDear Stata users, Is it possible to have the same color for 95 CI in all groups? I am using the fol…
Is it appropriate to consider regressors in multiple regression model that have no impact when taken individually?Hi I am using stata to analyse the impact of different regressors on private equity fundraising usin…
Panel data - linking individuals across yearsDear All, I have data from household panel survey in a long form (several rows for one individual f…
How to calculate P value for incidence rateHello, I have calculated the crude incidence rates per 1000 population per year of strokes in patie…
Subscribe to:
Post Comments (Atom)
0 Response to Using stset for recurring event analysis
Post a Comment