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
I have a problem with reshaping my dataHi everyone! I have data that after changing it from Long to Wide looks like this: ID Fullscore1 …
RboundsHi, I have conducted propensity score matching using working hours as my treatment variable and the…
Error with tab2xlHi, I am using tab2xl command in Stata 15 and would want to save the excel file using today's date.…
Subinstr() returns "invalid syntax" within foreach loopHi, I've tried to run this code multiple times with many adjustments, I also tried the solutions to…
How to jump out a forvalue loop after finding a specific value ?cd "C:\Users\GagaLee\Desktop\ga" local ff : dir . files "*.dta" dis `"`ff'"' mat ga=J(48,2,.) local…
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