Hi
I have this proc phreg code that I am really struggling. It works on another SAS of my colleague but when it is run on mine, then it just keeps spinning and no output is created so I don't know what is wrong with it
data Risk;
ischlge_cat=0; output;
ischlge_cat=1; output;
ischlge_cat=2; output;
run;
ods graphics on;
proc phreg data=spins2 ev plots(overlay=stratum)=cif;
model timediefrom_2a*diefrom_2a(0)=ischlge_cat/ eventcode=1;
Hazardratio 'Ischemia category' ischlge_cat/ diff=pairwise;
baseline covariates=Risk out=out1 cif=_all_ ;
run;
Really appreciate any thoughts
thanks
tried without the ODS but still just spins and not deliver an output
thansk
> tried without the ODS but still just spins and not deliver an output
Try with fewer observation and increase the size incrementally then to see what happens
proc phreg data=spins2(obs=1000)
it works now, thanks so much!
Hi
I have this proc phreg code that I am really struggling. It works on another SAS of my colleague but when it is run on mine, then it just keeps spinning and no output is created so I don't know what is wrong with it
data Risk;
ischlge_cat=0; output;
ischlge_cat=1; output;
ischlge_cat=2; output;
run;
ods graphics on;
proc phreg data=spins2 ev plots(overlay=stratum)=cif;
model timediefrom_2a*diefrom_2a(0)=ischlge_cat/ eventcode=1;
Hazardratio 'Ischemia category' ischlge_cat/ diff=pairwise;
baseline covariates=Risk out=out1 cif=_all_ ;
run;
Really appreciate any thoughts
thanks
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.