1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 /******************* senicdescr.sas ****************/
57 /* Descriptive stats on SENIC Data */
58 /***************************************************/
59
60 %include '/folders/myfolders/2453f15/senicread.sas';
NOTE: Format REGFMT is already on the library WORK.FORMATS.
NOTE: Format REGFMT has been output.
NOTE: Format ACATFMT is already on the library WORK.FORMATS.
NOTE: Format ACATFMT has been output.
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
112 /* senicread.sas reads data, etc. */
113 title2 'Basic Descriptive Statistics';
114
NOTE: The infile '/folders/myfolders/2453f15/senicdata.txt' is:
Filename=/folders/myfolders/2453f15/senicdata.txt,
Owner Name=root,Group Name=vboxsf,
Access Permission=-rwxrwx---,
Last Modified=02Sep2015:16:07:37,
File Size (bytes)=6102
NOTE: 113 records were read from the infile '/folders/myfolders/2453f15/senicdata.txt'.
The minimum record length was 52.
The maximum record length was 52.
NOTE: Missing values were generated as a result of performing an operation on missing values.
Each place is given by: (Number of times) at (Line):(Column).
1 at 104:24
NOTE: The data set WORK.SENIC has 113 observations and 14 variables.
NOTE: DATA statement used (Total process time):
real time 0.07 seconds
cpu time 0.02 seconds
115 proc freq;
116 title3 'Frequency distributions of categorical variables';
117 tables medschl region agecat;
118
NOTE: There were 113 observations read from the data set WORK.SENIC.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.17 seconds
cpu time 0.15 seconds
119 proc means n mean std;
120 title3 'Means and SDs of quantitative variables';
121 var stay -- nbeds census nurses service;
122 /* single dash only works with numbered lists, like item1-item50 */
123
NOTE: There were 113 observations read from the data set WORK.SENIC.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.08 seconds
cpu time 0.08 seconds
124 proc univariate plot normal ; /* Plots and a test for normality */
125 title3 'Describe Quantitative Variables in More Detail' ;
126 var stay -- nbeds census nurses service;
127
128
129 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
141