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
Panel data regression with T>NDear STATA users, I am writing my bachelor thesis and need to do some econometric research with sta…
dea and malmq: Data Envelopment Analysis and Malmquist Productivity AnalysisThe user-written dea command (for Data Envelopment Analysis) and malmq command (for Malmquist Produc…
Stata command for S-shapes analogue to Utest command by Lind and MehlumDear Stata comunity, I was wondering whether there is any statistical test and command in Stata to …
I would like some help with coding and generating faultline variable in StataHello everyone, I'm a student and I'm currently having some issues with coding and generating the v…
DID model with multiple categoriesDear STATA experts, I am writing my thesis using firm-level panel data ranging from 2007 to 2016. H…
Subscribe to:
Post Comments (Atom)
0 Response to Using stset for recurring event analysis
Post a Comment