*---------------------------------------------------*
READ RAW DATA INTO SAS
ASSUMPTIONS:
1) DATA IS IN CSV FILE LOCATED ON YOUR DESKTOP NAMED
'hso.vsc'
*---------------------------------------------------*
;
PROC IMPORT OUT= WORK.HSO
DATAFILE= "C:\Documents and Settings\wkuuser\Desktop\hs0.csv"
DBMS=CSV REPLACE;
GETNAMES=YES;
DATAROW=2;
RUN;
*---------------------------------------*
CREATING A HISTOGRAM IN SAS
*---------------------------------------*
;
PROC UNIVARIATE DATA = HSO;
VAR WRITE;
HISTOGRAM WRITE;
TITLE ’HISTOGRAM OF THE HOS DATA’;
RUN;