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 shuffle or randomly assign the values within each group?Hi everyone! This is my first time to post a question here. I am working on a historical population…
Formula to standardize a variable without "gen" and "egen"Hello, I am a French student who is starting to work with Stata 16, and I need to find a formulatio…
Is difference in differences appropriate here?Here is the situation: There was an intervention T. I am interested in how this intervention change…
just-identified IV with ivlasso and multiple endogenous variablesDear Statalist I would like to estimate an IV regression with a high-dimensional set of controls us…
robust ANOVA for non-normal dataDear Statalist friends, I am unexperienced with most statistical methods and Stata and I need some …
Subscribe to:
Post Comments (Atom)
0 Response to Using stset for recurring event analysis
Post a Comment