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;
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.