BookmarkSubscribeRSS Feed
Alroz
Calcite | Level 5

Hello,

 

I am trying to estimate a sample size for the log rank test comparing two different treatment arms.

The study will have a three year followup when the effect of the treatment will change after each year.

the input I am using is:

 

proc power;

   twosamplesurvival test=logrank

      Alpha = 0.05

      curve("trt1") = 1:0.65 2:0.53625 3:0.489328125

        curve("trt2") = (1 to 3 by 1):(0.82 0.7462 0.712621)

      groupsurvival = "trt1" | "trt2"

      accrualtime = 2

      Totaltime = 3

        groupmedlosstimes = 10 | 10

        groupweights = (1 2)

        power = 0.90

      EVENTSTOTAL=.

;

Run;

 

This program designs a piecewise linear effect. Can I choose an ascending or descending linear effect?

Also, I want to define a piecewise exponential?

And last, Can I define the effect in hazard ratio terms and not survival curve but with a changing hazard ratio over time?

 

Thank you!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 0 replies
  • 713 views
  • 0 likes
  • 1 in conversation