Is there a way in SAS to perform a sample size calculation for a one-sample logrank test? The information I have is a historical based assumption providing a median survival time.
I assumed, that the historical median survival time is 6 months and the estimated survival time will be 10 months.
So far I used proc power and assumed having two samples, so that I can perform a calculation:
proc power;
twosamplesurvival test=logrank
groupmedsurvtimes = (6 10)
accrualtime = 6
followuptime = 6
grouplossexphazards = (0 0)
groupweights = (1 1)
alpha = 0.025
sides = 1
power = 0.8
ntotal=.;
run;
The chosen parameters are not important to me, it is about finding a method to perform a proper one-sample logrank test in SAS. If this is not possible by now than this information is helpful aswell.
I'm running SAS 9.4.
Haven't come across that in SAS but PASS software has it. The reference they cite is:
Wu, Jianrong. 2015. “Sample size calculation for the one-sample log-rank test,” Pharmaceutical Statistics, Volume
14, pages 26-33.
Also attached is the documentation from PASS and a poster.
Haven't come across that in SAS but PASS software has it. The reference they cite is:
Wu, Jianrong. 2015. “Sample size calculation for the one-sample log-rank test,” Pharmaceutical Statistics, Volume
14, pages 26-33.
Also attached is the documentation from PASS and a poster.
Thank you for your opinion and the attached files! I haven't found a way to perform a sample size calculation for a one sample logrank test within SAS, so I used nQuery Advisor.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.