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;
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.