1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;5556 /******************* basicsenic.sas ****************/57 /* Elementary tests on SENIC Data */58 /***************************************************/59 %include '/folders/myfolders/2453f15/senicread.sas'; /* senicread.sas reads data, etc. */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 secondscpu time 0.00 seconds111 title2 'Elementary tests on the SENIC Data';112NOTE: 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)=6102NOTE: 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 103:24NOTE: The data set WORK.SENIC has 113 observations and 14 variables.NOTE: DATA statement used (Total process time):real time 0.05 secondscpu time 0.05 seconds113 proc freq;114 title3 'Use proc freq to do crosstabs with chisquare test';115 tables region*medschl / nocol nopercent expected chisq;NOTE: There were 113 observations read from the data set WORK.SENIC.NOTE: PROCEDURE FREQ used (Total process time):real time 0.19 secondscpu time 0.18 seconds116 proc ttest;117 title3 'T-test: Less risk at Hospitals with Med School Affiliation?';118 class medschl;119 var infrisk age ;NOTE: PROCEDURE TTEST used (Total process time):real time 3.21 secondscpu time 1.25 seconds120 proc glm;121 title3 'One-way anova with proc glm';122 class region;123 model infrisk=region;124 means region / ;125 means region/ tukey bon scheffe;NOTE: PROCEDURE GLM used (Total process time):real time 1.53 secondscpu time 0.75 seconds126 proc plot;127 title3 'Scatterplot';128 plot infrisk * nurses129 infrisk * nurses = medschl;NOTE: There were 113 observations read from the data set WORK.SENIC.NOTE: PROCEDURE PLOT used (Total process time):real time 0.15 secondscpu time 0.08 seconds130 proc corr;131 title3 'Correlation Matrix';132 var stay -- nbeds census nurses service;NOTE: PROCEDURE CORR used (Total process time):real time 0.42 secondscpu time 0.27 seconds133 proc glm;134 title3 'Simple regression with proc glm';135 model infrisk=nurses;136137138 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;150