Hi all,

Does anyone have any experience calculating risk ratios from survival data generated sts list? I am using the following code to generate a risk table that gives me probability of death at 36 months for each of four study groups.

sts list, failure risktable(1 12 24 36) by(study_grp)

What I'd like to do next is calculate risk ratios comparing each of three study groups to one reference group. This code gives me the outcome probability at the end of my study period in each of the relevant groups so I can do a calculation manually. However, what I wonder is whether there is a way to do this automatically? I have seen the epidemiology tables but haven't seen a way to use those with survival data, but it's possible I'm just not reading in the right place. I'm running Stata 17.

Thanks for any suggestions you can provide!

Sean