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 table that gives me probability of death at 36 months.
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 the three of the study groups to the one reference group. This code gives me the outcome probability at the end of my study period in each of the relevant groups. What I wonder is whether there is a way to do this automatically or whether I need to manually take the results and do the calculation? I'm running Stata 17.
Thanks for any suggestions you can provide!
Sean
Related Posts with Risk Ratios from Survival Data
Quick question: how to let stata read months?Hello! I hope someone here is able to help me out with this matter. I have a research where I am tr…
Defining a variable fitting to the size of a matrixHey everyone, im still new to stata so this is probably still a trivial question . for further compu…
Correct for optimism in prediction modelling using bootstrapping (bsample command), is this the correct approach?Dear statalist users, I have a question about the bsample command in STATA. I want to use this comm…
How to set that I have cross-sectional database from different yearHello Guys, I have cross-sectional observations from 10 different years. As the respondents vary ye…
Standard Error Correction Time Series AnalysisHello, I am currently working on a time series analysis project. I have autocorrelation in the erro…
Subscribe to:
Post Comments (Atom)
0 Response to Risk Ratios from Survival Data
Post a Comment