27.12.2012 Views

The 1995/1996 Household Income, Expenditure - (PDF, 101 mb ...

The 1995/1996 Household Income, Expenditure - (PDF, 101 mb ...

The 1995/1996 Household Income, Expenditure - (PDF, 101 mb ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

REFRMT.SAS 4<br />

if wallmatl=4 then mud=lj else mud=Oj<br />

if wallmatl=5 then wood=lj else wood=Oj<br />

if wallmatl=6 then asbes=lj else asbes=Oj<br />

if wallmatl=7 then thatch=lj else thatch=Oj<br />

if wallmatl=8 then cloth=lj else cloth=Oj<br />

if wallmatl=9 then walloth=lj else walloth=O;<br />

if kitchen=l then kitpriv=l; else kitpriv=o; /*kitpriv, kitnone*/<br />

if kitchen=2 then kitshar=l; else kitshar=O;<br />

if kitchen=3 then kitnone=l; else kitnone=Oj<br />

if bathtoi=l then bathpriv=l; else bathpriv=O; /*bathpriv, bathshar*/<br />

if bathtoi=2 then bathshar=lj else bathshar=Oj<br />

if bathtoi=3 then bathnone=lj else bathnone=Oj<br />

if sepbath=l then sepbpriv=l; else sepbpriv=O;<br />

if sepbath=2 then sepbshar=lj else sepbshar=Oj<br />

if sepbath=3 then sepbnone=lj else sepbnone=Oj<br />

if septoi=l then septpriv=l; else septpriv=o;<br />

if septoi=2 then septshar=l; else septshar=O;<br />

if septoi=3 then septnone=l; else septnone=O;<br />

if toitype=l then wflush=l; else wflush=Oj<br />

if toitype=2 then notflush=l; else notflush=Oj<br />

if toitype=3 then notoi=lj else notoi=Oj<br />

if garbage=l then zabal=lj else zabal=Oj<br />

if garbage=2 then garput=lj else garput=Oj<br />

if garbage=3 then garoth=lj else garoth=Oj<br />

if surround=l then dry=l; else dry=Oj /*dry*/<br />

if surround=2 then moist=l; else moist=O;<br />

if surround=3 then wet=l; else wet=O;<br />

distwork=distwkrn+(distwm/1000) j<br />

distmrkt=distmkm+(distmm/1000)j<br />

title 'SUMMARY STATS FROM THE HOUSING RECORD'j<br />

proc means; runj<br />

.,<br />

filename a4 'c:\process\inv.out';<br />

data in.inv;<br />

infile a4 rnissover;<br />

input rectype 1-2 numgov 3-6 numsv 7-10 numfr 11-12 round 13 month 14-15<br />

gOY 16-17 urbrur 18 km 19-20 sv 21-23 psu 24-26 car 27 bike 28<br />

cycle 29 phone 30 fridge 31 freezer 32 cooker 33 washmach 34<br />

dishwash 35 wathtr 36 vacuum 37 ac 38 fan 39 .<br />

heater 40 iron 41 colortv 42 bwtv 43 video 44 cassrec 45 pc 46;<br />

if urbrur=2 then urbrur=Oj<br />

/* INVENTORY */;<br />

if car=2 then car=Oj<br />

if bike=2 then bike=O;<br />

if cycle=2 then cycle=O;<br />

if phone=2 then phone=O;<br />

if fridge=2 then fridge=O;<br />

if freezer=2 then freezer=Oj<br />

if cooker=2 then cooker=Oj<br />

if washmach=2 then washmach=O;<br />

if dishwash=2 then dishwash=Oj<br />

if wathtr=2 then wathtr=Oj<br />

if vacuum=2 then vacuum=Oj<br />

if ac=2 then ac=O;<br />

if fan=2 then fan=Oj<br />

if heater=2 then heater=Oj<br />

if iron=2 then iron=Oj<br />

if colortv=2 then colortv=Oj

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!