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
Regression: Percentage vs nominal returnsWhat are potential explanations for getting insignificant results when regressing the dependent vari…
Difference in DifferenceHi I have a conceptual doubt. I am running a Difference In Difference at the individual level and t…
System GMMI run the following command: xtdpdsys Lnzscore CostIncomeRatio LiquidTotalassets Legal DGPpercapita …
Looping over three locals.Dear colleagues, I am struggling to understand how can I loop over three locals in Stata. Indeed, …
event study codesDear all I am conducting research regarding an event study on stocks. There are 3 codes to use in s…
Subscribe to:
Post Comments (Atom)
0 Response to Risk Ratios from Survival Data
Post a Comment