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
Estimating Multivariate (Multiple Outcomes) Hierarchical ModelsHi all, I have an issue trying to estimate multiple outcomes simultaneously using hierarchical mode…
How to display variable labels in the graph generated by pstest?Hi everyone, I'd like to compare the covariates for the treatment and control group before and afte…
Out-of sample prediction with user written commandHi, I have fitted a multi trajectory model using the user written command traj. Downloadable from (…
Bar labels for rbarHi Statalists, I am plotting range bars, where each range bar represents a period spent in bed, sta…
question about sem in stataHello I am working on mediation effect using stata SEM. My indepedent variable is binary which answ…
Subscribe to:
Post Comments (Atom)
0 Response to Risk Ratios from Survival Data
Post a Comment