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
Flag repetitionsSuppose I have a dataset containing two variables X and Y. Without resorting the data, I would like …
Dummy Variable - Add time variableDear Statalister, I would like to ask how can I create a code for the following variable (See attac…
exploratory factor analysis w/ maximum likelihood estimation, model comparisonDear Statalisters, I am trying to conduct an EFA on 17 binary variables. I have successfully used b…
Regression in subgroupsHi everyone, I am running a logit model in a sample with many countries. I want to apply the logit m…
Another way of measuring period effect on investment risk tolerance?I'm doing a research about the relationship between investment risk tolerance and demographic factor…
Subscribe to:
Post Comments (Atom)
0 Response to Risk Ratios from Survival Data
Post a Comment