* Create SAS data set from hair data; * Read data file 'hair_data.txt'; * Only read "LtBlond" part of data set; DATA hair; *INFILE 'z:\My Documents\teaching\stat_517\hair_data.txt'; FILENAME webpage URL 'http://people.stat.sc.edu/hitchcock/hair_data.txt'; INFILE webpage; * Reading only Light-Blond folks; INPUT color $ pain; IF color = 'LtBlond'; RUN; PROC PRINT DATA = hair; title 'Only LtBlond Hair Data'; RUN;