Recently in the SAS Community Library: When developing a brand-new SAS Viya job, it sometimes might be hard to figure out where to begin. It’s always a best practice to start with a working SAS program, but when it comes to developing a prompt form for the end user, there are many decisions to make. Should you create an HTML form? What kind of controls should you provide to the user? What parameters do you need to supply? Fortunately, SAS provides a set of sample jobs, including both code and forms, that can make getting started much easier. This post by @GregTreiman discusses how to use the included SAS samples to jump start your own job development.
Recently in the SAS Community Library: SAS' @SophiaRowland spells out how SAS Model Manager's new model card works. Think of it like a "nutrition label" for AI models.
... View more
When I do survival analysis,all strata have events, but why still got this warning: "The likelihood ratio test for strata homogeneity is questionable since some strata have no events." ? Log as below: Output Added: ------------- Name: HomTests Label: Homogeneity Tests Template: Stat.Lifetest.HomTests Path: Lifetest.ByGroup3.StrataHomogeneity.HomTests ------------- WARNING: The likelihood ratio test for strata homogeneity is questionable since some strata have no events. My code as below, in my dataset cnsr value inclued (0 1), and all trt01an have events(0 1). Why still got this warning? What the meaning? Does it affect other analyses like ProductLimitEstimates, Quartiles etc. ? Is this survival analysis still valid? proc lifetest data=adtte timelist=(0 to 20 by 2) atrisk outsurv=surviv reduceout;
by TYPEN;
time aval*cnsr(1);
strata trt01an;
run;
... View more
I would like to transpose column sord only. here is the sample data below. I tried using ID statement. but other columns are also getting transpose.
... View more
Dear SAS colleagues, I have to import "CSV" file and I have working code for "ACCESS" file. Here is the sample code for access database (just proc import out = work.want
datatable= "GIVEN"
dbms = ACCESSCS replace;
database= "\\WELSFGO\KDRIVE$\Test_File.mdb";
server= 'WELSFGO.NETIZENS.BANK-DSb.COM';
port = 7845;
run; I tried different ways to import similar kind of code like the one shown below. proc import out=want
DATAFILE="\\WELSFGO\KDRIVE$\Test_File.csv"
dbms=csv replace;
server= 'WELSFGO.NETIZENS.BANK-DSb.COM';
port = 7845;
run; I get the following error. ERROR: Import unsuccessful. See SAS Log for details. I don't have any other details to know further. Could someone help me fix the syntax so that I could import the csv file? Thanks in Advance!!!
... View more
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9. Sign up by Dec. 31 to get the 2024 rate of just $495. Register now!