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
New version of -ranktest- available on SSCWith thanks to Kit Baum, a new version of ranktest by Kleibergen-Schaffer-Windmeijer, version 2.0.03…
Merge two datasets wih the same variable namesHi there, I have several datasets, each with the prediction error of different forecast models. I w…
Problem encoding dates: unordered valueHi all: I am gettings problems when I encode a date variable, to explain my problem I will use this…
Probit marginal effectsI estimated the following probit model: Code: probit enrolled i.male##c.wealth i.male##c.oppcost h…
Difference between vce(cluster) and vce(bootstrap)?I'm using a fixed effects model. When dealing with heteroscedasticity and autocorrelation, I'm not s…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Risk Ratios from Survival Data
Post a Comment