Hi all,
I'm trying to stratify my survival curves however my output gives me three separate plots rather than overlaying them. I've seen the use of baseline/rowid but I can't seem to make that work. Also I cant use lifetest procedure because I'm using a continuous variable anyone ahs suggestions they would be much appreciated, my current code is below:
ods graphics on;
proc phreg data=merged11 plot(overlay=stratum)=(survival);
where rs>34;
class chemoYN (param=ref ref='N');
model dx_lastcontact_death_months * Puf_Vital_status(1) = chemoYN |absBenefitTAM1;
hazardratio chemoyn / at(absBenefitTAM1= (5 10 15 20 25 30)) units=5;
strata T1b1c;
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.