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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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