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
Is there any way of using psacalc within a loop?I am running a fixed effects model using the -areg- command. Using Emily Oster's -psacalc-, I am loo…
combined visual presentation of logistic regression resultsI am conducting logistic regressions with a dichotomous outcome (iatrogenic) and a single, continuou…
How to rename all the variables?Hi, I want to rename all the variables by adding _year to all of them at the end (eg. religion_2005…
How to Perform a Poolability Test in StataDear Users, I wish to perform a Chow's Poolability test using Stata as part of my preliminary analy…
maximum command in stata> Dear Sir or Madam, > > I tried to use ml maximize command in Stata. > But I receive…
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