Hello SAS users,
I made cox proportional code, it runs without errors in the log, but I have some missing values(HR, CI) I need to test for interaction of my primary exposure iron(ironcat) with vitamin c(vitccat). also, how I can get a survival analysis graph with the same code? Thanks in advance
here is my code:
proc phreg data = CANIMPT.capstoneclean covs(aggregate) covm;
class ironcat vitccat;
model fup_t1d*case_t1d(0) = ironcat ironcat *vitccat /ties=discrete risklimits covb;
hazardratio "iron unadjusted" ironcat / diff=ref cl=wald;
title 'Ironcat consumption and T1D progression';
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.