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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

*CAPMAS and Cairo Demographic Center, Sept., 1992, mid-year <strong>1996</strong>*/;<br />

/*estimates. Note: *includes* prisoners, nomads, etc. */;<br />

if gov=1 then est=7059000;<br />

if gov=2 then est=3558000;<br />

if gov=3 then est=563000;<br />

if gov=4 then est=501000;<br />

if gov=ll then est=908000;<br />

if gov=12 then est=4259000;<br />

if gov=13 then est=4258000;<br />

if gov=14 then est=3492000;<br />

if gov=15 then est=2230000;<br />

if gov=16 then est=3494000;<br />

if gov=17 then est=2755000;<br />

if gov=18 then est=4079000;<br />

if gov=19 then est=773000;<br />

if gov=21 then est=5297000;<br />

if gov=22 then est=1804000;<br />

if gov=23 then est=2001000;<br />

if gov=24 then est=3260000;<br />

if gov=25 then est=2763000;<br />

if gov=26 then est=2988000;<br />

if gov=27 then est=2841000;<br />

if gov=28 then est=<strong>101</strong>3000;<br />

if gov=30 then est=707000;<br />

adjwt2=est/den;<br />

proc sort; by gOY;<br />

run;<br />

.,<br />

data lastsort;<br />

set gov1;<br />

proc sort;<br />

by gOY;<br />

run;<br />

data out.wgts(keep=gov urbrur km sv psu finlwt normwt);<br />

merge lastsort govpops;<br />

by gOY;<br />

/*rename the frontier governorate codes as original */;<br />

if gov=30 then do;<br />

if psu=279 or<br />

if psu=278 or<br />

if psu=277 or<br />

if psu=280 or<br />

end;<br />

finlwt=adjwt1*adjwt2;<br />

normwt=finlwt/421380.36;<br />

psu=219<br />

psu=218<br />

psu=217<br />

psu=220<br />

then<br />

then<br />

then<br />

then<br />

gov=31;<br />

gov=32;<br />

gov=33;<br />

gov=34;<br />

WTCALC.SAS 5<br />

title 'Summary Statistics for the Final and Normalized Final Weights';<br />

proc means; var normwt finlwt;<br />

run;<br />

title '<strong>The</strong> <strong>1995</strong>/<strong>1996</strong> HIECS Final Weights';<br />

proc print data=out.wgts;<br />

run;<br />

data ok;<br />

set out.wgts;<br />

proc summary;<br />

var finlwt normwt;<br />

output out=all sum=;<br />

run;<br />

title 'Proof that the Normalized Weights Sum to 1.00';<br />

,.<br />

,

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

Saved successfully!

Ooh no, something went wrong!