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
Related Posts with Estimating Risk Ratios from Survival Data
What to do when linearity assumption is violated?Hi everyone on Statalist, I am working on a project and have run into a few obstacles. The purpose…
ArraysHi, I need to generate an array in stata, but information I have read only seems to talk about arra…
How to convert the date to a readable format?Dear Stata users' I am dealing with data of the 10-X header data, one of the variables is fye, whic…
Missing categories in regression outputCan anyone advise why this may be or how to rectify it? Code: logit case i.tv i.comp i.cat_sleep_…
Variance equality test for multiple variablesHi, I want to compare variance of multiple variables of two groups (event=1 or event=0). For one va…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Risk Ratios from Survival Data
Post a Comment