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;
sulafa