/*-------------------------------------------- Read in HBAI data from SAS ------------------------------------------------*/ clear *-------------------------- now read in file from SAS transport file cd "C:\Documents and Settings\gillian raab\My Documents\aprojects\peas\peasweb\peaswebsite\ex1datafiles\exemp1\data" fdause ex1.xpt /*------------------------------------------- value labels for hh type ---------------------------------------------*/ label define hhtype 1 "sing adult" 2 "small adult" 3 "sing parent" 4 "small fam" lab def hhtype 5 "large family" 6 "large adult" 7 "older smaller" 8 "sing pens" ,add format sernum %12.0g save "C:\Documents and Settings\gillian raab\My Documents\aprojects\peas\peasweb\peaswebsite\ex1datafiles\exemp1\data\ex1.dta", replace