Hi! Please advise! I am unable to use PROC SGPLOT in SAS Studio. I am trying to produce a survival curve. The code seems to work for others using the GPLOT on the non-web based version, however for SAS Studio I get an error message: 180 ERROR 180-322: Statement is not valid or it is used out of proper order. Here is the code I am using: Proc Sgplot data=temp1; Plot survival*NMSB=MMSE/vaxis=axis1 haxis=axis2 legend=legend1; axis1 order=(0 to 1 by .1) label=(f=swiss h=2 a=90 "Estimated Survival") value=(f=swiss h=2); axis2 order=(0 to 80 by 10) label=(f=swiss h=2 "Months") value=(f=swiss h=2); legend1 label=(h=2 "MMSE") value=(f=swiss h=2); run;
... View more