BookmarkSubscribeRSS Feed
Melk
Lapis Lazuli | Level 10

I have run a PROC LIFEREG and have obtained a LR p-value comaring 2 strata. I would additionally like to compare my survival curves and get p-values at specific timepoints. How can I go about doing this?

 

Here is my code for the overall survival analysis:

 

proc lifetest data=dat maxtime=60 plots=survival(cl atrisk(maxlen=13 outside(0.15)) test);
    time fu*fail(0);
    strata group / test=logrank;
    symbol1 v=none color=blue line=1;
    symbol2 v=none color=red line=2;
    label fu = "Follow-up, mo";
run;

 

I would like to compare my curves at 24 and 36 months.

2 REPLIES 2
KevinViel
Pyrite | Level 9

Melk,

 

  It may depend what you mean by "compare".  Forgive the brevity and potentially tangential citation, but you may find:

 

 

Caution: Hazards Crossing! Using the Renyi Test Statistic in Survival Analysis

 

https://www.pharmasug.org/proceedings/2011/SP/PharmaSUG-2011-SP06.pdf

 

of interest.

 

Good luck,

 

Kevin

Melk
Lapis Lazuli | Level 10

Thank you - to answer my own question, I used the proportion surviving and standard error to perform a 2 sample z test.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 3146 views
  • 2 likes
  • 2 in conversation