We plan to conduct a study for comparing the survival rate between three different types of surgery for total knee arthroplasty. Thus, the sample size for the study should be estimated.
But, we only could calculate the sample size for two groups by log-rank test in Stata as follow:
1、Sample size for censored design with survival probabilities surv1 = 0.3 and surv2 = 0.4:
power logrank .3 .4
2、or,
Same as above, specified as surv1 = 0.3 and hazard ratio of 0.76 :
power logrank .3, hratio(.76)
Notably, how to calculated the sample size for three groups (or >2 groups) by log-rank test in Stata?
Thanks!
Related Posts with How to calculate the sample size for three groups (or >2 groups) by log-rank test in Stata
Q-Q plots - why is Tukey Mean-Difference plots not an option in Stata?Q-Q plot combined with Tukey mean-difference plot - re 'Visualizing Data by Cleveland (1993) Dear A…
Gen a variable in a loop: error "variable already defined"Hello everyone. I am trying to run this loop. I need to get two subsamples of frequent and occasion…
Reshape from wide to longHi everyone, I get data from Datastream and there are some firms having no data, i.e. price_14 "$$…
Combine graphs created with -mlowess-Hello Statalist, is there any option to combine several graphs I created with HTML Code: mlowess ?…
Prompt for values interactively in do fileDear Statalist, Is there any way to prompt for local variable with pattern i.e. numeric only/alpha …
Subscribe to:
Post Comments (Atom)
0 Response to How to calculate the sample size for three groups (or >2 groups) by log-rank test in Stata
Post a Comment