1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
61
62 /********************* 2101f17senic0.sas ***************************/
63 /* I reluctantly changed NA to . with a text editor. */
64
65 data senic;
66 infile '/folders/myfolders/2101f17/openSENIC.data.txt' firstobs=2;
67 /* Skip the first line that R uses */
68 input id region $ mdschl $ census nbeds nurses lngstay age
69 xratio culratio infpercent;
70
NOTE: The infile '/folders/myfolders/2101f17/openSENIC.data.txt' is:
Filename=/folders/myfolders/2101f17/openSENIC.data.txt,
Owner Name=root,Group Name=vboxsf,
Access Permission=-rwxrwx---,
Last Modified=07Sep2017:19:15:05,
File Size (bytes)=8585
NOTE: 100 records were read from the infile '/folders/myfolders/2101f17/openSENIC.data.txt'.
The minimum record length was 83.
The maximum record length was 83.
NOTE: The data set WORK.SENIC has 100 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
71 proc freq;
72 title2 'Frequency distributions of categorical variables';
73 tables region mdschl;
74
NOTE: There were 100 observations read from the data set WORK.SENIC.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.05 seconds
cpu time 0.05 seconds
75 proc means;
76 title2 'Table of means and standard deviations';
77 var census nbeds nurses lngstay age xratio culratio infpercent;
78
79
80
81 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
94