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.
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
Thank you - to answer my own question, I used the proportion surviving and standard error to perform a 2 sample z test.
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.
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.