The format of the command to run SAS is:
hsph% sas filename
SAS would print the log file in filename.log and the results in filename.lst.
libname new '.'; ** sets the library to the directory in which the program resides**
data ex;
infile '/usr2/users/student/mkaushik/la/tumor' TRUNCOVER;
/** reads the .txt file. Note the way file is referenced using backslash.**/
input id treat y;
proc print;
run;
proc genmod ;
class treat;
model y=treat/dist=binomial link=logit;
ESTIMATE 'thiopeta vs. Placebo' treat 1 -1 / e exp;
run;
You can download tumor from here and transfer the file to your UNIX account.
No comments:
Post a Comment