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.

if (gov=33 and urbrur=O<br />

(gov=33 and urbrur=O<br />

(gov=34 and urbrur=O<br />

(gov=34 and urbrur=O<br />

selected=15;<br />

else selected=30;<br />

if n >505 then delete;<br />

proc sort;<br />

by gOY urbrur km sv psu;<br />

run;<br />

·,<br />

data third(keep=gov urbrur<br />

urpop chunks svpop<br />

merge first one;<br />

by gOY urbrur km sv psu;<br />

run;<br />

·,<br />

data misfit;<br />

set third;<br />

if urpop=.;<br />

proc print;<br />

run;<br />

and km=l and sv=020 and psu=277) or<br />

and km=l and sv=090 and psu=277) or<br />

and km=9 and sv=050 and psu=280) or<br />

and km=9 and sv=100 and psu=280) then<br />

km sv psu persons selected completd<br />

svhhs) ;<br />

WTCALC.SAS 2<br />

·,<br />

data fourth;<br />

set third;<br />

/*******************************************************************/;<br />

/*Now deal with the incomplete hhs missing due to reason=2,3,4,7*/;<br />

/*demolished, changed to est., vacant, and out-of-scope. <strong>The</strong>se */;<br />

/*are ineligible, and are subtracted from the selected hhs. */;<br />

/*Raw data for this comes from MISSINGS.XLS, subfile REMOVE.XLS */;<br />

/*<strong>The</strong>re are 102 ineligible cases of 285 missing questionnaires */;<br />

if gov=l and urbrur=l then do;<br />

if km=5 and sv=010 and psu=7 then minus=l;<br />

if km=7 and sv=080 and psu=13 then minus=3;<br />

if km=8 and sv=040 and psu=14 then minus=2;<br />

if km=10 and sv=040 and psu=57 then minus=2;<br />

if km=11 and sv=110 and psu=222 then minus=l;<br />

if km=23 and sv=051 and psu=38 then minus=l;<br />

if km=24 and sv=050 and psu=42 then minus=l;<br />

if km=24 and sv=070 and psu=43 then minus=l;<br />

end;<br />

else if gov=2 and urbrur=l then do;<br />

if km=6 and sv=060 and psu=84 then minus=l;<br />

if km=8 and sv=080 and psu=86 then minus=l;<br />

if km=10 and sv=130 and psu=93 then minus=l;<br />

if km=ll and sv=060 and psu=90 then minus=l;<br />

if km=12 and sv=030 and psu=87 then minus=l; end;<br />

else if gov=3 and urbrur=l and km=2 and sv=020<br />

and psu=94 then minus=l;<br />

else if gov=ll then do;<br />

if urbrur=l then do;<br />

if km=l and sv=030 and psu=<strong>101</strong> then minus=2; end;<br />

if urbrur=O then do;<br />

if km=2 and sv=060 and psu=l then minus=l; end; end;<br />

else if gov=12 and urbrur=O and km=13 and sv=200<br />

and psu=29 then minus=l;<br />

else if gov=13 and urbrur=l and km=l and sv=070<br />

and psu=114 then minus=l;<br />

.:

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

Saved successfully!

Ooh no, something went wrong!