Dear StataListers
I am on STATA 14.
I have searched around in the stset manual and online, but not found any way to read stset meta-data into a local macro.
I would like to save the stset command or just the failure event with estadd and tabulate it together with the stcox estimates with esttab.
However, neither st, stdescribe nor stsum provides scalars or locals to this regard. Where are below data stored? And can they be programmatically accessed?
Best regards Nino
I am on STATA 14.
I have searched around in the stset manual and online, but not found any way to read stset meta-data into a local macro.
I would like to save the stset command or just the failure event with estadd and tabulate it together with the stcox estimates with esttab.
However, neither st, stdescribe nor stsum provides scalars or locals to this regard. Where are below data stored? And can they be programmatically accessed?
Code:
-> stset fu3time_death, id(id) failure(fu3_death==1) scale(365.25)
id: id
failure event: fu3_death == 1
obs. time interval: (fu3time_death[_n-1], fu3time_death]
exit on or before: failure
t for analysis: time/365.25

Comment