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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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