/********************* 2101f17senic0.sas ***************************/ /* I reluctantly changed NA to . with a text editor. */ data senic; infile '/folders/myfolders/2101f17/openSENIC.data.txt' firstobs=2; /* Skip the first line that R uses */ input id region $ mdschl $ census nbeds nurses lngstay age xratio culratio infpercent; proc freq; title2 'Frequency distributions of categorical variables'; tables region mdschl; proc means; title2 'Table of means and standard deviations'; var census nbeds nurses lngstay age xratio culratio infpercent;