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
Triple-Difference (DDD) Estimation and coefficientsDear Everyone, I have a question regarding the estimation of the following dataset example using Tr…
Breusch-Pagan TestHello I am trying to do a Breusch-Pagan test to test for heteroscedasticity. I have to regression m…
Random of Fixed Effects?I am currently writing a dissertation on the effect of foreign aid on the human development index. …
Can we copy the contents of one data frame to another without destroying hidden frames attached to the second?Fellow Statalisters (especially StataCorp) I have a Stata 16 query about data frames. Is it possibl…
Invalid Chi2I have this code that keeps throwing "Invalid Chi2" Where am I wrong please? Code: local varie_eff…
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