<?xml version='1.0' encoding='UTF-8'?>
<codeBook version="1.2.2" ID="DDI-MWI-MEIRU-SES-2007-v01b" xml-lang="en" xmlns="http://www.icpsr.umich.edu/DDI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.icpsr.umich.edu/DDI http://www.icpsr.umich.edu/DDI/Version1-2-2.xsd">
  <docDscr>
    <citation>
      <titlStmt>
        <titl>
          combined_ses_data
        </titl>
        <IDNo>
          DDI-MWI-MEIRU-SES-2007-v01b
        </IDNo>
      </titlStmt>
      <prodStmt>
        <producer abbr="MEIRU" role="Agency">
          Malawi Epidemiology and Intervention Research Unit
        </producer>
        <producer abbr="EM" affiliation="LSHTM and MEIRU" role="Production of the documentation used to create this DDI document.">
          Estelle McLean
        </producer>
        <producer abbr="CK" affiliation="MEIRU" role="Data documentalist">
          Chifundo Kanjala
        </producer>
        <producer abbr="JS" affiliation="LSHTM and MEIRU" role="Production of Data dictionaries">
          Jacky Saul
        </producer>
        <producer abbr="KB" affiliation="LSHTM and MEIRU" role="Production of Data dictionaries">
          Kieth Branson
        </producer>
        <producer abbr="JK" affiliation="MEIRU" role="Metadata entry ">
          Joseph Kamanga
        </producer>
        <producer abbr="DN" affiliation="MEIRU" role="Metadata entry and editing">
          Dominic Nzundah
        </producer>
        <prodDate date="2020-07-17">
          2020-07-17
        </prodDate>
        <software version="4.0.10" date="2018-05-02">
          Nesstar Publisher
        </software>
      </prodStmt>
      <verStmt>
        <version>
          version 1 (July, 2020)
        </version>
      </verStmt>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl>
          SES Combined socio-economic data
        </titl>
        <IDNo>
          DDI-MWI-MEIRU-SES-2007-v01b
        </IDNo>
      </titlStmt>
      <prodStmt>
        <software version="4.0.10" date="2018-05-02">
          Nesstar Publisher
        </software>
      </prodStmt>
      <serStmt>
        <serName>
          Sample Survey
        </serName>
      </serStmt>
      <verStmt>
        <version date="2020-07-17">
          <![CDATA[v1:  Edited data, first version, for internal use only]]>
        </version>
      </verStmt>
    </citation>
    <stdyInfo>
      <abstract>
        <![CDATA[Data on socio-economic status have been gathered in various studies since the beginning of the CRS. The do-file combined_ses_data combines and harmonises these data, and creates several summary 'score' variables.		

As some of the surveys included in these datasets have been running for many years and the questionnaires have changed over time the excel file SES_data_available.xlsx (which is created by the same do-file) gives a year by year indication of data availability for each variable for both dataset. A further complication is that, while data predominantly come from the CRS population some data come from studies carried out in the wider Karonga district. The overall amount of data available plus the coverage in the CRS is indicated in the following way:		

numidentincrs / numcrshseincrs at the top of each sheet shows the number of people / households in the CRS in each year	

*var*_crs           :	The number of crs members / households with data available for that variable at least once that year
*var*_crspc       :	An estimate of the percent of the crs members (or households) with data available that year (using numidentincrs / numcrshseincrs as denominator). Note that survey rounds don't usually run             
	               from January to December and may not attempt to reach all household/members in one year so figures should be interpreted with caution!	
*var*_n	           :   The total number of records with that variable filled in that year (including non-crs members/households and repeated interviews)	

*var*_ave         :    The mean of the variable for that year in the entire dataset; this is only included for score variables]]>
      </abstract>
      <sumDscr>
        <nation abbr="MWI">
          Malawi
        </nation>
        <geogCover>
          CRS Area in chilumba, Karonga district.
        </geogCover>
        <anlyUnit>
          Individual
        </anlyUnit>
      </sumDscr>
    </stdyInfo>
    <method>
      <dataColl>
        <dataCollector abbr="MEIRU">
          Malawi Epidemiology and Intervention Research Unit
        </dataCollector>
        <collMode>
          Face-to-face [f2f]
        </collMode>
        <sources/>
      </dataColl>
    </method>
    <dataAccs>
      <setAvail>
        <origArch>
          Chilumba
        </origArch>
      </setAvail>
      <useStmt>
        <contact>
          Malawi Epidemiology and Intervention Research Unit
        </contact>
        <conditions>
          <![CDATA[This data is made available for licensed access under the following conditions:

1. Data and other material provided by MEIRU will not be redistributed or sold to other individuals, institutions or organisations without MEIRU's written agreement.

2. In the case of multi-centre datasets, data originating from a single contributing member centre of the collaboration may not be analysed or reported on in isolation without the express permission of the member centre concerned.

3. No attempt will be made to re-identify respondents, and there will be no use of the identity of any person or establishment discovered inadvertently. Any such discovery will be reported immediately to MEIRU.

4. No attempt will be made to produce links between datasets provided by MEIRU or between MEIRU data and other datasets that could identify individuals.

5. Any books, articles, conference papers, theses, dissertations, reports or other publications employing data obtained from MEIRU will cite the source, in line with the citation requirement provided with the dataset.

6. An electronic copy of all publications based on the requested data will be sent to MEIRU.

7. MEIRU, MEIRU research collaborators and the relevant funding agencies bear no responsibility for the data's use or interpretation or inferences based upon it.]]>
        </conditions>
      </useStmt>
    </dataAccs>
  </stdyDscr>
  <fileDscr ID="F1" URI="combined_ses_data.Nesstar?Index=0&amp;Name=combined_ses_hh">
    <fileTxt>
      <fileName>
        combined_ses_hh.NSDstat
      </fileName>
      <fileCont>
        <![CDATA[Data for household socio-economic status come from:		
css_seh	        :        Annual household survey [2007-2011]	
gp_gphhold     :	General household form filled for various reasons [gathered SES data 1998-2007]	
caps_blhse      :	Cooking and Pneumonia study [2014-2016]	

NCD_combined_data_all_final [derived table]   :	NCD baseline survey [2016-2018]	

Each household dataset is processed to ensure harmonisation of variable names and coding. They are then appended together and several score variables are created by combining data from multiple variables and converting to a deciles relative to the other records in the dataset with data in the same year (for further information see the variable listing or the do-file). As these scores of relative to records in the same year, they should not be used to assess trends over time. The resulting dataset has one line per household per date (i.e. if a household has taken part in several surveys/studies they will have multiple records). There has been no attempt to 'clean' the data.		
In the variable labels (S) indicates that the variable is unchanged from the original source and (D) indicates that it is a 'derived' variable, often using more than one source variable. For both types information on where the data come from and how they are processed is found in the 'Recoding and Derivation' section]]>
      </fileCont>
      <dimensns>
        <caseQnty>
          59259
        </caseQnty>
        <varQnty>
          133
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
      <filePlac>
        Malawi Epidemiology and Interventions Research Unit
      </filePlac>
    </fileTxt>
  </fileDscr>
  <fileDscr ID="F2" URI="combined_ses_data.Nesstar?Index=1&amp;Name=combined_ses_ind">
    <fileTxt>
      <fileName>
        combined_ses_ind.NSDstat
      </fileName>
      <fileCont>
        <![CDATA[Data for individual socio-economic status come from:		
cen_individ      :	The original baseline survey (this table is combined with crs_memball to add crshse & crsno) [2001-2004]	
crs_cenm	        :        in-migration form [gathered SES data 2001-2005]	
css_sei_all       :	Annual individual survey [since 2007]	
NCD_combined_data_all_final [derived table]  :	NCD baseline survey [2016-2018]	
combined_tb_cases_controls_final   :	Combined TB data (derived dataset) [gathered SES data on TB cases and controls 1998-2018]	

Each individual dataset is processed to ensure harmonisation of variable names and coding. They are then appended together and some summary variables created. The resulting dataset has one line per person per date (i.e. if a person has taken part in several surveys/studies they will have multiple records). There has been no attempt to 'clean' the data, i.e. to check whether subsequent schooling reports makes sense etc: cleaned schooling episodes are available on the derived dataset 'cleaned_school_episodes'.		
In the variable labels (S) indicates that the variable is unchanged from the original source and (D) indicates that it is a 'derived' variable, often using more than one source variable. For both types information on where the data come from and how they are processed is found in the 'Recoding and Derivation' section]]>
      </fileCont>
      <dimensns>
        <caseQnty>
          499495
        </caseQnty>
        <varQnty>
          36
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
      <filePlac>
        Malawi Epidemiology and Interventions Research Unit
      </filePlac>
    </fileTxt>
  </fileDscr>
  <dataDscr>
    <var ID="V1" name="intdate_hh" files="F1" intrvl="discrete">
      <location StartPos="1" EndPos="10" width="10" RecSegNo="1"/>
      <labl>
        Date of interview (S)
      </labl>
      <sumStat type="vald">
        59259
      </sumStat>
      <txt>
        Date of interview
      </txt>
      <codInstr>
        <![CDATA[variable: intdate (table[s]: css_seh, gp_gphhold, caps_blhse, caps_register, combined_tb_cases_controls_final [derived table])
variable: comdate (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="character" formatname="Nesstar.date" schema="other" category="date"/>
    </var>
    <var ID="V2" name="source" files="F1" intrvl="discrete">
      <location StartPos="11" EndPos="20" width="10" RecSegNo="1"/>
      <labl>
        Source of data (D)
      </labl>
      <sumStat type="vald">
        59259
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        Source of data
      </txt>
      <codInstr>
        Variable is created when processing data tables before appending together
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V3" name="rsnform" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="21" EndPos="22" width="2" RecSegNo="1"/>
      <labl>
        Reason for filling gh hhold form (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <invalrng>
        <item VALUE="99"/>
      </invalrng>
      <sumStat type="vald">
        16456
      </sumStat>
      <sumStat type="invd">
        42803
      </sumStat>
      <txt>
        <![CDATA[
Reason for filling gh hhold form]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          CRS head change
        </labl>
        <catStat type="freq">
          343
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          CRS location change to different cluster
        </labl>
        <catStat type="freq">
          778
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          TB control
        </labl>
        <catStat type="freq">
          1854
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Census CRS
        </labl>
        <catStat type="freq">
          8153
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          CRS new household
        </labl>
        <catStat type="freq">
          2512
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Pre ghhids old data
        </labl>
        <catStat type="freq">
          1418
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          CRS location change within same cluster
        </labl>
        <catStat type="freq">
          154
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          IIS
        </labl>
        <catStat type="freq">
          94
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Suspect for leprosy/patient
        </labl>
        <catStat type="freq">
          31
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Rel/hhold of leprosy case
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          Smear negative followup
        </labl>
        <catStat type="freq">
          37
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          TB case household
        </labl>
        <catStat type="freq">
          1082
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42803
        </catStat>
      </catgry>
      <codInstr>
        variable: rsnform (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V4" name="crshse_ghhid" files="F1" intrvl="discrete">
      <location StartPos="23" EndPos="29" width="7" RecSegNo="1"/>
      <labl>
        household identifier (D)
      </labl>
      <sumStat type="vald">
        59259
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        <![CDATA[	
household identifier]]>
      </txt>
      <codInstr>
        <![CDATA[variable: repgp (table[s]: css_seh, gp_gphhold, caps_register)
variable: cluster (table[s]: css_seh, gp_gphhold, caps_register)
variable: hhlistno (table[s]: css_seh, gp_gphhold, caps_register)
variable: house (table[s]: NCD_combined_data_all_final [derived table])
variable: ghhid (table[s]: css_seh, gp_gphhold)

egen crshse=concat(repgp cluster hhlistno) if repgp~=""
gen crshse_ghhid=crshse /*create household identifier mainly crshse, but some only ghhid*/
replace crshse_ghhid=ghhid if crshse==""]]>
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V5" name="hhid" files="F1" intrvl="discrete">
      <location StartPos="30" EndPos="35" width="6" RecSegNo="1"/>
      <labl>
        indicates what household identifier is (D)
      </labl>
      <sumStat type="vald">
        59259
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        indicates what household identifier is
      </txt>
      <codInstr>
        <![CDATA[gen hhid="crshse"
replace hhid="ghhid" if crshse=="" & ghhid~=""]]>
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V6" name="plotsow" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="36" EndPos="38" width="3" RecSegNo="1"/>
      <labl>
        Number of plots owned and cultivated by this HH (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <sumStat type="vald">
        39460
      </sumStat>
      <sumStat type="invd">
        19799
      </sumStat>
      <txt>
        <![CDATA[
Number of plots owned and cultivated by this HH]]>
      </txt>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: plotsow (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V7" name="plotsrentd" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="39" EndPos="41" width="3" RecSegNo="1"/>
      <labl>
        Number of plots not owned but cultivated by this HH (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <sumStat type="vald">
        38634
      </sumStat>
      <sumStat type="invd">
        20625
      </sumStat>
      <txt>
        Number of plots not owned but cultivated by this HH
      </txt>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: plotsrentd (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V8" name="plotslet" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="42" EndPos="44" width="3" RecSegNo="1"/>
      <labl>
        Number of plots owned by this HH but cultivated by other people (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <sumStat type="vald">
        36063
      </sumStat>
      <sumStat type="invd">
        23196
      </sumStat>
      <txt>
        <![CDATA[	
Number of plots owned by this HH but cultivated by other people]]>
      </txt>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: plotslet (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V9" name="plotsfall" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="45" EndPos="47" width="3" RecSegNo="1"/>
      <labl>
        Number of plots owned by this HH but currently not cultivated (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <sumStat type="vald">
        36048
      </sumStat>
      <sumStat type="invd">
        23211
      </sumStat>
      <txt>
        <![CDATA[
Number of plots owned by this HH but currently not cultivated]]>
      </txt>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: plotsfall (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V10" name="plotsother" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="48" EndPos="50" width="3" RecSegNo="1"/>
      <labl>
        Number of plots (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <sumStat type="vald">
        2418
      </sumStat>
      <sumStat type="invd">
        56841
      </sumStat>
      <txt>
        <![CDATA[
Number of plots]]>
      </txt>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: plotsother (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V11" name="plotscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="51" EndPos="52" width="2" RecSegNo="1"/>
      <labl>
        Score of number of agriculture plots available to household (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        39525
      </sumStat>
      <sumStat type="invd">
        19734
      </sumStat>
      <txt>
        <![CDATA[	
Score of number of agriculture plots available to household]]>
      </txt>
      <codInstr>
        <![CDATA[variable: plotsow (table[s]: css_seh, gp_gphhold)
variable: plotsrentd (table[s]: css_seh, gp_gphhold)
variable: plotslet (table[s]: css_seh, gp_gphhold)
variable: plotsfall (table[s]: css_seh, gp_gphhold)
variable: plotsother (table[s]: css_seh, gp_gphhold)

<Number of plots is added together and then turned into a decile variable in relation to all other records with this data within the same year>
egen plottot=rowtotal(plotsow plotsrentd plotslet plotsfall plotsother)
replace plottot=. if plotsow==. & plotsrentd==. & plotslet==. & plotsfall==. & plotsother==.
foreach var in plot harvest harvsell {
	foreach y in `yearlist' { /*make relative score by year*/
		cap xtile `var'scorey`y'=`var'tot if year==`y', nq(10) /*score is created by splitting the population into deciles*/
		if _rc~=0 gen `var'scorey`y'=.
		}
	egen `var'score=rowmax(`var'scorey*)
	drop `var'scorey*
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V12" name="maizeharv" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="53" EndPos="56" width="4" RecSegNo="1"/>
      <labl>
        From the last completed cropping season How much maize did you harvest (S)
      </labl>
      <valrng>
        <range min="0" max="9999"/>
      </valrng>
      <sumStat type="vald">
        24884
      </sumStat>
      <sumStat type="invd">
        34375
      </sumStat>
      <txt>
        From the last completed cropping season How much maize did you harvest
      </txt>
      <catgry>
        <catValu>
          9998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: maizeharv (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V13" name="riceharv" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="57" EndPos="60" width="4" RecSegNo="1"/>
      <labl>
        From the last completed cropping season How much rice did you harvest (S)
      </labl>
      <valrng>
        <range min="0" max="9999"/>
      </valrng>
      <sumStat type="vald">
        24905
      </sumStat>
      <sumStat type="invd">
        34354
      </sumStat>
      <txt>
        <![CDATA[
From the last completed cropping season How much rice did you harvest]]>
      </txt>
      <catgry>
        <catValu>
          9998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: riceharv (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V14" name="gnutharv" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="61" EndPos="64" width="4" RecSegNo="1"/>
      <labl>
        From the last completed cropping season How much groundnuts did you harvest (S)
      </labl>
      <valrng>
        <range min="0" max="9999"/>
      </valrng>
      <sumStat type="vald">
        23944
      </sumStat>
      <sumStat type="invd">
        35315
      </sumStat>
      <txt>
        <![CDATA[	
From the last completed cropping season How much groundnuts did you harvest]]>
      </txt>
      <catgry>
        <catValu>
          9998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: gnutharv (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V15" name="harvestscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="65" EndPos="66" width="2" RecSegNo="1"/>
      <labl>
        Score of amount of food harvested by household (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        24912
      </sumStat>
      <sumStat type="invd">
        34347
      </sumStat>
      <txt>
        <![CDATA[	
Score of amount of food harvested by household]]>
      </txt>
      <codInstr>
        <![CDATA[variable: maizeharv (table[s]: css_seh)
variable: riceharv (table[s]: css_seh)
variable: gnutharv (table[s]: css_seh)


<Cans of harvest is added together and then turned into a decile variable in relation to all other records with this data within the same year>
egen harvesttot=rowtotal(maizeharv riceharv gnutharv)
replace harvesttot=. if maizeharv==. & riceharv==. & gnutharv==.
foreach var in plot harvest harvsell {
	foreach y in `yearlist' { /*make relative score by year*/
		cap xtile `var'scorey`y'=`var'tot if year==`y', nq(10) /*score is created by splitting the population into deciles*/
		if _rc~=0 gen `var'scorey`y'=.
		}
	egen `var'score=rowmax(`var'scorey*)
	drop `var'scorey*
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V16" name="maizesell" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="67" EndPos="70" width="4" RecSegNo="1"/>
      <labl>
        From the last completed cropping season: How much maize did you sell (S)
      </labl>
      <valrng>
        <range min="0" max="9999"/>
      </valrng>
      <sumStat type="vald">
        24883
      </sumStat>
      <sumStat type="invd">
        34376
      </sumStat>
      <txt>
        <![CDATA[
From the last completed cropping season: How much maize did you sell]]>
      </txt>
      <catgry>
        <catValu>
          9998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: maizesell (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V17" name="ricesell" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="71" EndPos="74" width="4" RecSegNo="1"/>
      <labl>
        From the last completed cropping season: How much rice did you sell (S)
      </labl>
      <valrng>
        <range min="0" max="9999"/>
      </valrng>
      <sumStat type="vald">
        24872
      </sumStat>
      <sumStat type="invd">
        34387
      </sumStat>
      <txt>
        <![CDATA[	
From the last completed cropping season: How much rice did you sell]]>
      </txt>
      <catgry>
        <catValu>
          9998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: ricesell (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V18" name="gnutsell" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="75" EndPos="78" width="4" RecSegNo="1"/>
      <labl>
        From the last completed cropping season: How much groundnuts did you sell (S)
      </labl>
      <valrng>
        <range min="0" max="9999"/>
      </valrng>
      <sumStat type="vald">
        23860
      </sumStat>
      <sumStat type="invd">
        35399
      </sumStat>
      <txt>
        From the last completed cropping season: How much groundnuts did you sell
      </txt>
      <catgry>
        <catValu>
          9998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: gnutsell (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V19" name="harvsellscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="79" EndPos="80" width="2" RecSegNo="1"/>
      <labl>
        Score of percentage of harvest sold by household (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        22274
      </sumStat>
      <sumStat type="invd">
        36985
      </sumStat>
      <txt>
        <![CDATA[
Score of percentage of harvest sold by household]]>
      </txt>
      <codInstr>
        <![CDATA[variable: maizesell (table[s]: css_seh)
variable: ricesell (table[s]: css_seh)
variable: gnutsell (table[s]: css_seh)
variable: harvesttot (table[s]: temporary derived variable)


<Cans of harvest sold is added together and then turned into a decile variable in relation to all other records with this data within the same year>
egen selltot=rowtotal(maizesell ricesell gnutsell)
replace selltot=. if maizesell==. & ricesell==. & gnutsell==.
replace selltot=harvesttot if selltot>harvesttot & selltot~=. & harvesttot~=. /*in a few case amount sold is greater than amount harvested*/
gen harvselltot=int(10*(selltot/harvesttot)) if harvesttot>0 & harvesttot~=. & selltot~=. & selltot<=harvesttotforeach var in plot harvest harvsell {
	foreach y in `yearlist' { /*make relative score by year*/
		cap xtile `var'scorey`y'=`var'tot if year==`y', nq(10) /*score is created by splitting the population into deciles*/
		if _rc~=0 gen `var'scorey`y'=.
		}
	egen `var'score=rowmax(`var'scorey*)
	drop `var'scorey*
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V20" name="agriscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="81" EndPos="82" width="2" RecSegNo="1"/>
      <labl>
        Average of plotscore, harvestscore, harvsellscore (D)
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        22159
      </sumStat>
      <sumStat type="invd">
        37100
      </sumStat>
      <txt>
        Average of plotscore, harvestscore, harvsellscore
      </txt>
      <codInstr>
        <![CDATA[variable: plotscore (table[s]: this dataset)
variable: harvestscore (table[s]: this dataset)
variable: harvsellscore (table[s]: this dataset)


egen agriscore=rowmean(plotscore harvestscore harvsellscore) if plotscore~=. & harvestscore~=. & harvsellscore~=. /*combined agriculture score is average of all 3 scores*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V21" name="cattleown" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="83" EndPos="83" width="1" RecSegNo="1"/>
      <labl>
        Livestock owned now: cattle (D)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        40348
      </sumStat>
      <sumStat type="invd">
        18911
      </sumStat>
      <txt>
        <![CDATA[	
Livestock owned now: cattle]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0
        </labl>
        <catStat type="freq">
          30670
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-2
        </labl>
        <catStat type="freq">
          5139
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          3-5
        </labl>
        <catStat type="freq">
          2612
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          6-9
        </labl>
        <catStat type="freq">
          1120
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          &gt;=10
        </labl>
        <catStat type="freq">
          807
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          18911
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: cattleown (table[s]: css_seh)
variable: cattleqty (table[s]: gp_gphhold)
variable: cow (table[s]: NCD_combined_data_all_final [derived table])

egen cattleqty2=cut(cattleqty), at(0,1,3,6,10,9999) /*on some of the forms just the number of cattle was asked, so this converts back to the above type*/
recode cattleqty2 3=2 6=3 10=4
replace cattleown=cattleqty2 if cattleown==. & cattleqty2~=.]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V22" name="pigown" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="84" EndPos="84" width="1" RecSegNo="1"/>
      <labl>
        Livestock owned now: pigs (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        16357
      </sumStat>
      <sumStat type="invd">
        42902
      </sumStat>
      <txt>
        Livestock owned now: pigs
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0
        </labl>
        <catStat type="freq">
          10607
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-2
        </labl>
        <catStat type="freq">
          3842
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          3-5
        </labl>
        <catStat type="freq">
          1269
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          6-9
        </labl>
        <catStat type="freq">
          487
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          &gt;=10
        </labl>
        <catStat type="freq">
          152
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42902
        </catStat>
      </catgry>
      <codInstr>
        variable: pigown (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V23" name="sheepown" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="85" EndPos="85" width="1" RecSegNo="1"/>
      <labl>
        Livestock owned now: sheep (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        16357
      </sumStat>
      <sumStat type="invd">
        42902
      </sumStat>
      <txt>
        <![CDATA[
Livestock owned now: sheep]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0
        </labl>
        <catStat type="freq">
          16271
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-2
        </labl>
        <catStat type="freq">
          58
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          3-5
        </labl>
        <catStat type="freq">
          18
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          6-9
        </labl>
        <catStat type="freq">
          5
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          &gt;=10
        </labl>
        <catStat type="freq">
          5
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42902
        </catStat>
      </catgry>
      <codInstr>
        variable: sheepown (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V24" name="chickown" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="86" EndPos="86" width="1" RecSegNo="1"/>
      <labl>
        Livestock owned now: chickens (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        16349
      </sumStat>
      <sumStat type="invd">
        42910
      </sumStat>
      <txt>
        Livestock owned now: chickens
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0
        </labl>
        <catStat type="freq">
          4433
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-2
        </labl>
        <catStat type="freq">
          2807
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          3-5
        </labl>
        <catStat type="freq">
          3662
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          6-9
        </labl>
        <catStat type="freq">
          2338
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          &gt;=10
        </labl>
        <catStat type="freq">
          3109
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42910
        </catStat>
      </catgry>
      <codInstr>
        variable: chickown (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V25" name="duckown" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="87" EndPos="87" width="1" RecSegNo="1"/>
      <labl>
        Livestock owned now: ducks (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        16357
      </sumStat>
      <sumStat type="invd">
        42902
      </sumStat>
      <txt>
        <![CDATA[	
Livestock owned now: ducks]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0
        </labl>
        <catStat type="freq">
          14435
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-2
        </labl>
        <catStat type="freq">
          770
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          3-5
        </labl>
        <catStat type="freq">
          670
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          6-9
        </labl>
        <catStat type="freq">
          315
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          &gt;=10
        </labl>
        <catStat type="freq">
          167
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42902
        </catStat>
      </catgry>
      <codInstr>
        variable: duckown (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V26" name="dovesown" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="88" EndPos="88" width="1" RecSegNo="1"/>
      <labl>
        Livestock owned now: doves (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        16357
      </sumStat>
      <sumStat type="invd">
        42902
      </sumStat>
      <txt>
        Livestock owned now: doves
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0
        </labl>
        <catStat type="freq">
          13746
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-2
        </labl>
        <catStat type="freq">
          227
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          3-5
        </labl>
        <catStat type="freq">
          448
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          6-9
        </labl>
        <catStat type="freq">
          769
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          &gt;=10
        </labl>
        <catStat type="freq">
          1167
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42902
        </catStat>
      </catgry>
      <codInstr>
        variable: dovesown (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V27" name="livesscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="89" EndPos="90" width="2" RecSegNo="1"/>
      <labl>
        Score of amount of livestock (NOT cattle) owned by HH (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        16357
      </sumStat>
      <sumStat type="invd">
        42902
      </sumStat>
      <txt>
        Score of amount of livestock (NOT cattle) owned by HH
      </txt>
      <codInstr>
        <![CDATA[variable: pigown (table[s]: css_seh)
variable: sheepown (table[s]: css_seh)
variable: chickown (table[s]: css_seh)
variable: duckown (table[s]: css_seh)
variable: dovesown (table[s]: css_seh)


<The kwacha value of all livestock owned is added up and turned into a decile variable in relation to all other records with this data within the same year>
*(the values for each animal are the middle of the range of typical prices given by the crs fieldworkers on 22 August 2014, the range is given in the comments afterwards.)
local cattleval=150000 		/*100,000-200,000*/
local pigval=30000 			/*5000-50,000*/
local chickval=2500 		/*2000-3000*/
local goatval=16000 		/*9000-25000*/
local duckval=2500 			/*2000-3000*/
local sheepval=25000 		/*20,000-30,000*/
local dovesval=450 			/*400-500*/
egen livesvars=rownonmiss(pigown chickown duckown sheepown dovesown)
gen livestotposs=0 if livesvars>0
foreach lives in pig chick duck sheep doves { /*loop through all the livestock excluding cattle*/
	recode `lives'own 2=3 3=6 4=10 //recode so value reflects the number owned
	replace livestotposs=livestotposs+(10*``lives'val') if `lives'own~=.
	gen `lives'val=`lives'own*``lives'val'
	recode `lives'own 3=2 6=3 10=4 //recode back to match the label
	}
egen livesval=rowtotal(*val) if livestotposs~=.
gen livesscore1=(10*(livesval/livestotposs))
xtile livesscore=livesscore1, nq(10) /*score is created by splitting the population into deciles*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V28" name="rent" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="91" EndPos="91" width="1" RecSegNo="1"/>
      <labl>
        In house owned or rented (S)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        39972
      </sumStat>
      <sumStat type="invd">
        19287
      </sumStat>
      <txt>
        <![CDATA[
In house owned or rented]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Owned
        </labl>
        <catStat type="freq">
          33279
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Rented
        </labl>
        <catStat type="freq">
          3846
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          2847
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          19287
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: rent (table[s]: css_seh, gp_gphhold)
variable: hownship (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V29" name="roomtot" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="92" EndPos="93" width="2" RecSegNo="1"/>
      <labl>
        No. of rooms (S)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <sumStat type="vald">
        44203
      </sumStat>
      <sumStat type="invd">
        15056
      </sumStat>
      <txt>
        <![CDATA[
No. of rooms]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        <![CDATA[variable: rosleep (table[s]: css_seh, gp_gphhold)
variable: hownship (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V30" name="walls" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="94" EndPos="95" width="2" RecSegNo="1"/>
      <labl>
        Type of construction of best dwelling in household: walls (S)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <invalrng>
        <item VALUE="99"/>
      </invalrng>
      <sumStat type="vald">
        41713
      </sumStat>
      <sumStat type="invd">
        17546
      </sumStat>
      <txt>
        Type of construction of best dwelling in household: walls
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          82
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Burnt brick
        </labl>
        <catStat type="freq">
          28034
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Unburnt brick
        </labl>
        <catStat type="freq">
          2875
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Pounded thick mud
        </labl>
        <catStat type="freq">
          2525
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Plastered thin mud
        </labl>
        <catStat type="freq">
          7296
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Bamboo
        </labl>
        <catStat type="freq">
          623
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Grass or no walls
        </labl>
        <catStat type="freq">
          129
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Iron sheets
        </labl>
        <catStat type="freq">
          45
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Concrete blocks
        </labl>
        <catStat type="freq">
          102
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          other
        </labl>
        <catStat type="freq">
          2
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          17546
        </catStat>
      </catgry>
      <codInstr>
        variable: walls (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V31" name="roof" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="96" EndPos="96" width="1" RecSegNo="1"/>
      <labl>
        Type of construction of best dwelling in household: roof (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        41674
      </sumStat>
      <sumStat type="invd">
        17585
      </sumStat>
      <txt>
        Type of construction of best dwelling in household: roof
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <catStat type="freq">
          25
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Grass or leaves
        </labl>
        <catStat type="freq">
          14610
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Corrugated iron
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Grass and iron sheets
        </labl>
        <catStat type="freq">
          146
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          No roof
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Others
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Grass+plastic sheet
        </labl>
        <catStat type="freq">
          12777
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Iron sheets or tiles
        </labl>
        <catStat type="freq">
          14116
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          17585
        </catStat>
      </catgry>
      <codInstr>
        variable: roof (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V32" name="floor" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="97" EndPos="97" width="1" RecSegNo="1"/>
      <labl>
        Type of construction of best dwelling in household: floor (S)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        41500
      </sumStat>
      <sumStat type="invd">
        17759
      </sumStat>
      <txt>
        <![CDATA[	
Type of construction of best dwelling in household: floor]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Mud
        </labl>
        <catStat type="freq">
          31471
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Concrete
        </labl>
        <catStat type="freq">
          9979
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          40
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Tiles
        </labl>
        <catStat type="freq">
          10
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          17759
        </catStat>
      </catgry>
      <codInstr>
        variable: floor (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V33" name="glasswind" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="98" EndPos="98" width="1" RecSegNo="1"/>
      <labl>
        Type of construction of best dwelling in household: glass windows (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        30792
      </sumStat>
      <sumStat type="invd">
        28467
      </sumStat>
      <txt>
        <![CDATA[
Type of construction of best dwelling in household: glass windows]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          27425
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          3367
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          28467
        </catStat>
      </catgry>
      <codInstr>
        variable: glasswind (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V34" name="dwellscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="99" EndPos="100" width="2" RecSegNo="1"/>
      <labl>
        Score of quality of house - based on roof, walls, floor &amp; windows (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        41398
      </sumStat>
      <sumStat type="invd">
        17861
      </sumStat>
      <txt>
        <![CDATA[	
Score of quality of house - based on roof, walls, floor & windows]]>
      </txt>
      <codInstr>
        <![CDATA[variable: walls (table[s]: css_seh, gp_gphhold)
variable: roof (table[s]: css_seh, gp_gphhold)
variable: floor (table[s]: css_seh, gp_gphhold)
variable: glasswind (table[s]: css_seh, gp_gphhold)


<Households are given a ranking according to dwelling quality, this ranking is then turned into a decile variable in relation to all other records with this data within the same year>
*roof (2 ranks: 1=plastic sheets & grass+leaves 2=iron sheets)
gen roofrank=1 if roof==1 | roof==6 /*1=grass/leaves, 6=grass+plastic sheet*/
replace roofrank=2 if roof==7 | roof==3 /*7=iron sheet/tiles, 3=grass+iron sheets*/
*Walls (4 ranks : 1=other 2=pounded thick mud 3=unburnt bricks 4=concrete & burnt bricks)
*(1="burnt brick" 2="unburnt brick" 3="pounded thick mud" 4="plastered thin mud" 5="bamboo" 6="grass or no wall" 7="iron sheets" 8="concrete blocks" 0="other"
gen wallrank=walls
recode wallrank 1=4 2=3 3=2 4=2 5=1 6=1 7=1 8=4 0=1 9=1
*floor (2 ranks: 1=mud & other 2=concrete)
gen floorrank=1 if floor==1 | floor==3 /*1=mud, 3=other*/
replace floorrank=2 if floor==2 /*2=concrete*/
*generate dwelling rank
gen dwellscore1=real(string(roofrank)+string(floorrank)+string(wallrank)) if roofrank!=. & wallrank!=. & floorrank!=. 
recode dwellscore1 111/112=1 113/114=2 121/122=3 123/124=4 211/212=5 213/214=6 221/222=7 223/224=8
replace dwellscore1=dwellscore1+1 if glasswin==1
foreach y in `yearlist' { /*make relative dwellscore by year - so houses only compared with houses from same era*/
	cap xtile dwellscorey`y'=dwellscore1 if year==`y', nq(10) /*score is created by splitting the population into deciles*/
	if _rc~=0 gen dwellscorey`y'=.
	}
egen dwellscore=rowmax(dwellscorey*)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V35" name="lattype" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="101" EndPos="101" width="1" RecSegNo="1"/>
      <labl>
        Type of latrine used by the household (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        34043
      </sumStat>
      <sumStat type="invd">
        25216
      </sumStat>
      <txt>
        <![CDATA[	
Type of latrine used by the household]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          4399
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Simple pit latrine
        </labl>
        <catStat type="freq">
          28832
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          VIP
        </labl>
        <catStat type="freq">
          228
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Water toilet
        </labl>
        <catStat type="freq">
          584
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          25216
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: lattype (table[s]: css_seh)
variable: latrine (table[s]: gp_gphhold)
variable: toilet (table[s]: caps_blhse)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V36" name="electric" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="102" EndPos="102" width="1" RecSegNo="1"/>
      <labl>
        Whether house has electricity (S)
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        42121
      </sumStat>
      <sumStat type="invd">
        17138
      </sumStat>
      <txt>
        Whether house has electricity
      </txt>
      <codInstr>
        <![CDATA[variable: electric (table[s]: css_seh, gp_gphhold)
variable: elec (table[s]: caps_blhse)
variable: felect (table[s]: caps_blhse)
variable: electric_mode (table[s]: NCD_combined_data_all_final [derived table])


<SEH data is converted to be binary before data are appended together:>
rename (electric water) (electric2 water1)
gen electric=1 if electric2==1 /*Escom*/| electric2==2 /*solar*/
<CAPS data asks about electricity in relation to cooking and fuel, this is converted to one binary variable:>
gen electric=0
replace electric=1 if felect==1 | elec==1]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V37" name="electype" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="103" EndPos="103" width="1" RecSegNo="1"/>
      <labl>
        Type of electricity (D)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        16325
      </sumStat>
      <sumStat type="invd">
        42934
      </sumStat>
      <txt>
        Type of electricity
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          14859
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Escom
        </labl>
        <catStat type="freq">
          817
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Solar
        </labl>
        <catStat type="freq">
          649
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          42934
        </catStat>
      </catgry>
      <codInstr>
        variable: electric (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V38" name="water1" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="104" EndPos="104" width="1" RecSegNo="1"/>
      <labl>
        Main source of water used by the household. (S)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        37774
      </sumStat>
      <sumStat type="invd">
        21485
      </sumStat>
      <txt>
        Main source of water used by the household.
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Tap to house
        </labl>
        <catStat type="freq">
          6434
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Shared communal tap
        </labl>
        <catStat type="freq">
          4499
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Bore hole
        </labl>
        <catStat type="freq">
          19253
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Covered well
        </labl>
        <catStat type="freq">
          4139
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Open well
        </labl>
        <catStat type="freq">
          2100
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Lake/river
        </labl>
        <catStat type="freq">
          1338
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          11
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          21485
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: water (table[s]: css_seh)
variable: wtap (table[s]: caps_blhse)
variable: wctap (table[s]: caps_blhse)
variable: wbore (table[s]: caps_blhse)
variable: wcwell (table[s]: caps_blhse)
variable: wowell (table[s]: caps_blhse)
variable: wlake (table[s]: caps_blhse)
variable: hhwate_fmode (table[s]: NCD_combined_data_all_final [derived table])

<CAPS data is collected as multiple binary variables which are converted to one variable:>
water1=1 if wtap==1
replace water1=2 if wctap==1 & water1==.
replace water1=3 if wbore==1 & water1==.
replace water1=4 if wcwell==1 & water1==.
replace water1=5 if wowell==1 & water1==.
replace water1=6 if wlake==1 & water1==.]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V39" name="water2" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="105" EndPos="105" width="1" RecSegNo="1"/>
      <labl>
        Main source of water used by the household (D)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        49164
      </sumStat>
      <sumStat type="invd">
        10095
      </sumStat>
      <txt>
        <![CDATA[	
Main source of water used by the household.]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Tap to house
        </labl>
        <catStat type="freq">
          7490
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Shared communal tap
        </labl>
        <catStat type="freq">
          5889
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Bore hole
        </labl>
        <catStat type="freq">
          25745
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Lake/river/well
        </labl>
        <catStat type="freq">
          10040
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          10095
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: water (table[s]: css_seh, gp_gphhold)
variable: wtap (table[s]: caps_blhse)
variable: wctap (table[s]: caps_blhse)
variable: wbore (table[s]: caps_blhse)
variable: wcwell (table[s]: caps_blhse)
variable: wowell (table[s]: caps_blhse)
variable: wlake (table[s]: caps_blhse)
variable: hhwate_fmode (table[s]: NCD_combined_data_all_final [derived table])

<SEH data are recoded to match gphhold categories:>
recode water1 4/max=4, gen(water2)
<CAPS data is collected as multiple binary variables which are convered to one variable:>
gen water2=1 if wtap==1
replace water2=2 if wctap==1 & water2==.
replace water2=3 if wbore==1 & water2==.
replace water2=4 if (wlake==1 | wcwell==1 | wowell==1) & water2==.]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V40" name="employ" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="106" EndPos="106" width="1" RecSegNo="1"/>
      <labl>
        How does this HH bring in income? through regular employment (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36098
      </sumStat>
      <sumStat type="invd">
        23161
      </sumStat>
      <txt>
        <![CDATA[	
How does this HH bring in income? through regular employment]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          30676
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          5422
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23161
        </catStat>
      </catgry>
      <codInstr>
        variable: employ (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V41" name="employo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="107" EndPos="108" width="2" RecSegNo="1"/>
      <labl>
        rank of income through regular employment (salary/wage) (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        5408
      </sumStat>
      <sumStat type="invd">
        53851
      </sumStat>
      <txt>
        <![CDATA[	
rank of income through regular employment (salary/wage)]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: employo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V42" name="piecew" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="109" EndPos="109" width="1" RecSegNo="1"/>
      <labl>
        How does this HH bring in income? through casual employment/piecework (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36193
      </sumStat>
      <sumStat type="invd">
        23066
      </sumStat>
      <txt>
        How does this HH bring in income? through casual employment/piecework
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          25491
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          10702
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23066
        </catStat>
      </catgry>
      <codInstr>
        variable: piecew (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V43" name="piecewo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="110" EndPos="111" width="2" RecSegNo="1"/>
      <labl>
        rank of income through casual employment / piecework (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        10678
      </sumStat>
      <sumStat type="invd">
        48581
      </sumStat>
      <txt>
        <![CDATA[	
rank of income through casual employment / piecework]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: piecewo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V44" name="farm" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="112" EndPos="112" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[How does this HH bring in income? selling own agricultural produce  (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36536
      </sumStat>
      <sumStat type="invd">
        22723
      </sumStat>
      <txt>
        <![CDATA[	
How does this HH bring in income? selling own agricultural produce]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          11193
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          25343
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          22723
        </catStat>
      </catgry>
      <codInstr>
        variable: farm (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V45" name="farmo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="113" EndPos="114" width="2" RecSegNo="1"/>
      <labl>
        rank of income selling own agricultural produce (crops and livestock) (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        25270
      </sumStat>
      <sumStat type="invd">
        33989
      </sumStat>
      <txt>
        rank of income selling own agricultural produce (crops and livestock)
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: farmo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V46" name="fish" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="115" EndPos="115" width="1" RecSegNo="1"/>
      <labl>
        How does this HH bring in income? selling own fish (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36190
      </sumStat>
      <sumStat type="invd">
        23069
      </sumStat>
      <txt>
        How does this HH bring in income? selling own fish
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          31177
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          5013
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23069
        </catStat>
      </catgry>
      <codInstr>
        variable: fish (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V47" name="fisho" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="116" EndPos="117" width="2" RecSegNo="1"/>
      <labl>
        rank of income selling own fish (locally or with transport?) (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        4999
      </sumStat>
      <sumStat type="invd">
        54260
      </sumStat>
      <txt>
        rank of income selling own fish (locally or with transport?)
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: fisho (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V48" name="snacks" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="118" EndPos="118" width="1" RecSegNo="1"/>
      <labl>
        How does this HH bring in income? Preparing &amp; selling food or beverages (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36221
      </sumStat>
      <sumStat type="invd">
        23038
      </sumStat>
      <txt>
        <![CDATA[
How does this HH bring in income? Preparing & selling food or beverages]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          32730
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          3491
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23038
        </catStat>
      </catgry>
      <codInstr>
        variable: snacks (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V49" name="snackso" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="119" EndPos="120" width="2" RecSegNo="1"/>
      <labl>
        rank of income Preparing &amp; selling food or beverages (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        3471
      </sumStat>
      <sumStat type="invd">
        55788
      </sumStat>
      <txt>
        <![CDATA[	
rank of income Preparing & selling food or beverages]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: snackso (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V50" name="manuf" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="121" EndPos="121" width="1" RecSegNo="1"/>
      <labl>
        How does this household bring in income? selling own manufactured goods (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36268
      </sumStat>
      <sumStat type="invd">
        22991
      </sumStat>
      <txt>
        <![CDATA[	
How does this household bring in income? selling own manufactured goods]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          33612
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2656
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          22991
        </catStat>
      </catgry>
      <codInstr>
        variable: manuf (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V51" name="manufo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="122" EndPos="123" width="2" RecSegNo="1"/>
      <labl>
        rank of income selling own manufactured goods (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        2647
      </sumStat>
      <sumStat type="invd">
        56612
      </sumStat>
      <txt>
        <![CDATA[	
rank of income selling own manufactured goods]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: manufo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V52" name="trade" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="124" EndPos="124" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[How does this HH bring in income? buying & selling other peoples product  (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36260
      </sumStat>
      <sumStat type="invd">
        22999
      </sumStat>
      <txt>
        How does this HH bring in income? buying &amp; selling other peoples product
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          25968
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          10292
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          22999
        </catStat>
      </catgry>
      <codInstr>
        variable: trade (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V53" name="tradeo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="125" EndPos="126" width="2" RecSegNo="1"/>
      <labl>
        rank of income buying &amp; selling other peoples product (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        10253
      </sumStat>
      <sumStat type="invd">
        49006
      </sumStat>
      <txt>
        <![CDATA[	
rank of income buying & selling other peoples product]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: tradeo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V54" name="gather" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="127" EndPos="127" width="1" RecSegNo="1"/>
      <labl>
        How does this HH bring in income? Gathering natural products (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        34544
      </sumStat>
      <sumStat type="invd">
        24715
      </sumStat>
      <txt>
        <![CDATA[
How does this HH bring in income? Gathering natural products]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          32334
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2210
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          24715
        </catStat>
      </catgry>
      <codInstr>
        variable: gather (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V55" name="gathero" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="128" EndPos="129" width="2" RecSegNo="1"/>
      <labl>
        rank of income Gathering natural products (grass, wood,â€¦) (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        2204
      </sumStat>
      <sumStat type="invd">
        57055
      </sumStat>
      <txt>
        <![CDATA[	
rank of income Gathering natural products (grass, wood,…)]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: gathero (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V56" name="letting" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="130" EndPos="130" width="1" RecSegNo="1"/>
      <labl>
        How does this HH bring in income? letting of property/ land/ houses/ oxcarts (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36192
      </sumStat>
      <sumStat type="invd">
        23067
      </sumStat>
      <txt>
        How does this HH bring in income? letting of property/ land/ houses/ oxcarts
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          34153
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2039
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23067
        </catStat>
      </catgry>
      <codInstr>
        variable: letting (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V57" name="lettingo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="131" EndPos="132" width="2" RecSegNo="1"/>
      <labl>
        rank of income letting of property/ land/ houses/ oxcarts (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        2033
      </sumStat>
      <sumStat type="invd">
        57226
      </sumStat>
      <txt>
        rank of income letting of property/ land/ houses/ oxcarts
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: lettingo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V58" name="service" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="133" EndPos="133" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[How does this household bring in income? providing a service  (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36199
      </sumStat>
      <sumStat type="invd">
        23060
      </sumStat>
      <txt>
        <![CDATA[	
How does this household bring in income? providing a service]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          32842
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          3357
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23060
        </catStat>
      </catgry>
      <codInstr>
        variable: service (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V59" name="serviceo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="134" EndPos="135" width="2" RecSegNo="1"/>
      <labl>
        rank of income providing a service (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        3354
      </sumStat>
      <sumStat type="invd">
        55905
      </sumStat>
      <txt>
        <![CDATA[
rank of income providing a service]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: serviceo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V60" name="supportf" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="136" EndPos="136" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[How does this household bring in income? from outside relatives)  (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        25218
      </sumStat>
      <sumStat type="invd">
        34041
      </sumStat>
      <txt>
        How does this household bring in income? from outside relatives)
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          19250
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          5968
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          34041
        </catStat>
      </catgry>
      <codInstr>
        variable: supportf (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V61" name="supportfo" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="137" EndPos="138" width="2" RecSegNo="1"/>
      <labl>
        rank of income from outside relatives (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        5964
      </sumStat>
      <sumStat type="invd">
        53295
      </sumStat>
      <txt>
        <![CDATA[
rank of income from outside relatives]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: supportfo (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V62" name="support" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="139" EndPos="139" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[How does this HH bring in income? from outside organisation or non-relative  (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36215
      </sumStat>
      <sumStat type="invd">
        23044
      </sumStat>
      <txt>
        <![CDATA[	
How does this HH bring in income? from outside organisation or non-relative]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          33629
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2586
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23044
        </catStat>
      </catgry>
      <codInstr>
        variable: support (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V63" name="supporto" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="140" EndPos="141" width="2" RecSegNo="1"/>
      <labl>
        rank of income from outside organisation or non-relative (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        2554
      </sumStat>
      <sumStat type="invd">
        56705
      </sumStat>
      <txt>
        <![CDATA[
rank of income from outside organisation or non-relative]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: supporto (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V64" name="othinc" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="142" EndPos="142" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[How does this household bring in income? Unclassifiable  (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36116
      </sumStat>
      <sumStat type="invd">
        23143
      </sumStat>
      <txt>
        <![CDATA[
How does this household bring in income? Unclassifiable]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          35586
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          530
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          23143
        </catStat>
      </catgry>
      <codInstr>
        variable: othinc (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V65" name="othinco" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="143" EndPos="143" width="1" RecSegNo="1"/>
      <labl>
        rank of income Unclassifiable (S)
      </labl>
      <valrng>
        <range min="1" max="7"/>
      </valrng>
      <sumStat type="vald">
        528
      </sumStat>
      <sumStat type="invd">
        58731
      </sumStat>
      <txt>
        <![CDATA[
rank of income Unclassifiable]]>
      </txt>
      <codInstr>
        variable: othinco (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V66" name="emphead" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="144" EndPos="146" width="3" RecSegNo="1"/>
      <labl>
        Employment status of head of household (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <invalrng>
        <item VALUE="999"/>
      </invalrng>
      <sumStat type="vald">
        1990
      </sumStat>
      <sumStat type="invd">
        57269
      </sumStat>
      <txt>
        <![CDATA[	
Employment status of head of household]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Not applicable
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          Full-time educaton
        </labl>
        <catStat type="freq">
          1
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          Unable to work
        </labl>
        <catStat type="freq">
          15
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          Retired
        </labl>
        <catStat type="freq">
          10
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          Looking for work
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          19
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          20
        </catValu>
        <labl>
          Housework
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          30
        </catValu>
        <labl>
          Employer no sub-category
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          31
        </catValu>
        <labl>
          Runs own business
        </labl>
        <catStat type="freq">
          6
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          33
        </catValu>
        <labl>
          ????
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          41
        </catValu>
        <labl>
          In cash economy
        </labl>
        <catStat type="freq">
          194
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          42
        </catValu>
        <labl>
          Subsistence economy
        </labl>
        <catStat type="freq">
          1603
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          49
        </catValu>
        <labl>
          Own account don't know payment
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          51
        </catValu>
        <labl>
          Salary (monthly)
        </labl>
        <catStat type="freq">
          136
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          52
        </catValu>
        <labl>
          Wage (weekly)
        </labl>
        <catStat type="freq">
          7
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          53
        </catValu>
        <labl>
          Casual or piecework
        </labl>
        <catStat type="freq">
          15
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          54
        </catValu>
        <labl>
          Unpaid worker
        </labl>
        <catStat type="freq">
          2
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          59
        </catValu>
        <labl>
          Employee don't know payment
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          No information
        </labl>
        <catStat type="freq">
          1
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          57269
        </catStat>
      </catgry>
      <codInstr>
        variable: emphead (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V67" name="inc1hh" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="147" EndPos="148" width="2" RecSegNo="1"/>
      <labl>
        First source of income (D)
      </labl>
      <valrng>
        <range min="1" max="13"/>
      </valrng>
      <sumStat type="vald">
        36554
      </sumStat>
      <sumStat type="invd">
        22705
      </sumStat>
      <txt>
        <![CDATA[
First source of income]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          regular employment
        </labl>
        <catStat type="freq">
          4730
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          piecework
        </labl>
        <catStat type="freq">
          3601
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          farming
        </labl>
        <catStat type="freq">
          16383
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          fishing
        </labl>
        <catStat type="freq">
          2636
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          selling prepared food
        </labl>
        <catStat type="freq">
          943
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          manufactoring goods
        </labl>
        <catStat type="freq">
          827
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          trading
        </labl>
        <catStat type="freq">
          3423
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          gathering natural products
        </labl>
        <catStat type="freq">
          219
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          letting property
        </labl>
        <catStat type="freq">
          389
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          providing a service
        </labl>
        <catStat type="freq">
          1125
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          support from relatives
        </labl>
        <catStat type="freq">
          1570
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          support from non-relative
        </labl>
        <catStat type="freq">
          513
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          other
        </labl>
        <catStat type="freq">
          195
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          22705
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: employ (table[s]: css_seh, gp_gphhold)
variable: employo (table[s]: css_seh, gp_gphhold)
variable: piecew (table[s]: css_seh, gp_gphhold)
variable: piecewo (table[s]: css_seh, gp_gphhold)
variable: farm (table[s]: css_seh, gp_gphhold)
variable: farmo (table[s]: css_seh, gp_gphhold)
variable: fish (table[s]: css_seh, gp_gphhold)
variable: fisho (table[s]: css_seh, gp_gphhold)
variable: snacks (table[s]: css_seh, gp_gphhold)
variable: snackso (table[s]: css_seh, gp_gphhold)
variable: manuf (table[s]: css_seh, gp_gphhold)
variable: manufo (table[s]: css_seh, gp_gphhold)
variable: trade (table[s]: css_seh, gp_gphhold)
variable: tradeo (table[s]: css_seh, gp_gphhold)
variable: gather (table[s]: css_seh, gp_gphhold)
variable: gathero (table[s]: css_seh, gp_gphhold)
variable: letting (table[s]: css_seh, gp_gphhold)
variable: lettingo (table[s]: css_seh, gp_gphhold)
variable: service (table[s]: css_seh, gp_gphhold)
variable: serviceo (table[s]: css_seh, gp_gphhold)
variable: supportf (table[s]: css_seh, gp_gphhold)
variable: supportfo (table[s]: css_seh, gp_gphhold)
variable: support (table[s]: css_seh, gp_gphhold)
variable: supporto (table[s]: css_seh, gp_gphhold)
variable: othinc (table[s]: css_seh, gp_gphhold)
variable: othinco (table[s]: css_seh, gp_gphhold)

<individual income sources are ranked for each household (variables employ, employo, piecew, piecewo etc.), this are summarised to indicate top 4 income sources:>
forvalues y=1/4 { /*loop to create the variables*/
	gen inc`y'hh=.
	}
local x=1 /*start a local of x which will be 1 to start the loop at employ, then increased to 2 for piecew etc*/
foreach var in employ piecew farm fish snacks manuf trade gather letting service supportf support othinc { /*these vars are yes/no of whether they are a source of income and the var with o after (e.g. employo) is the rank of order of importance, with no duplication so only one has rank 1 for each record*/
	recode `var'o 0=. /*apparently 00 in rank var is code for missing*/
	forvalues y=1/4 { /*loop through 1-4 to capture the top 4 most important into the variables created above*/
		replace inc`y'hh=`x' if `var'o==`y' /*x is 1 for employ, 2 for piecework etc. so inc1 is 1 if employ==1, inc3 is 4 if fish==3 etc.*/
		}
	local x=`x'+1 /*add 1 to the local x before going through the foreach var loop again*/
	}
la def activity 1 "regular employment" 2 "piecework" 3 "farming" 4 "fishing" 5 "selling prepared food" 6 "manufactoring goods" 7 "trading" 8 "gathering natural products" 9 "letting property" 10 "providing a service" 11 "support from relatives" 12 "support from non-relative" 13 "other"
la val inc1hh inc2hh inc3hh inc4hh activity	
gen tag=1 if inc1==. 
forvalues a=1/3 { /*if no income source 1 reported move all the sources up one*/
	local b=`a'+1
	replace inc`a'hh=inc`b'hh if tag==1
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V68" name="inc2hh" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="149" EndPos="150" width="2" RecSegNo="1"/>
      <labl>
        Second source of income (D)
      </labl>
      <valrng>
        <range min="1" max="13"/>
      </valrng>
      <sumStat type="vald">
        27287
      </sumStat>
      <sumStat type="invd">
        31972
      </sumStat>
      <txt>
        <![CDATA[
Second source of income]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          regular employment
        </labl>
        <catStat type="freq">
          519
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          piecework
        </labl>
        <catStat type="freq">
          4685
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          farming
        </labl>
        <catStat type="freq">
          6909
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          fishing
        </labl>
        <catStat type="freq">
          1629
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          selling prepared food
        </labl>
        <catStat type="freq">
          1384
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          manufactoring goods
        </labl>
        <catStat type="freq">
          1050
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          trading
        </labl>
        <catStat type="freq">
          4673
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          gathering natural products
        </labl>
        <catStat type="freq">
          735
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          letting property
        </labl>
        <catStat type="freq">
          867
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          providing a service
        </labl>
        <catStat type="freq">
          1361
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          support from relatives
        </labl>
        <catStat type="freq">
          2339
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          support from non-relative
        </labl>
        <catStat type="freq">
          940
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          other
        </labl>
        <catStat type="freq">
          196
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          31972
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: employ (table[s]: css_seh, gp_gphhold)
variable: employo (table[s]: css_seh, gp_gphhold)
variable: piecew (table[s]: css_seh, gp_gphhold)
variable: piecewo (table[s]: css_seh, gp_gphhold)
variable: farm (table[s]: css_seh, gp_gphhold)
variable: farmo (table[s]: css_seh, gp_gphhold)
variable: fish (table[s]: css_seh, gp_gphhold)
variable: fisho (table[s]: css_seh, gp_gphhold)
variable: snacks (table[s]: css_seh, gp_gphhold)
variable: snackso (table[s]: css_seh, gp_gphhold)
variable: manuf (table[s]: css_seh, gp_gphhold)
variable: manufo (table[s]: css_seh, gp_gphhold)
variable: trade (table[s]: css_seh, gp_gphhold)
variable: tradeo (table[s]: css_seh, gp_gphhold)
variable: gather (table[s]: css_seh, gp_gphhold)
variable: gathero (table[s]: css_seh, gp_gphhold)
variable: letting (table[s]: css_seh, gp_gphhold)
variable: lettingo (table[s]: css_seh, gp_gphhold)
variable: service (table[s]: css_seh, gp_gphhold)
variable: serviceo (table[s]: css_seh, gp_gphhold)
variable: supportf (table[s]: css_seh, gp_gphhold)
variable: supportfo (table[s]: css_seh, gp_gphhold)
variable: support (table[s]: css_seh, gp_gphhold)
variable: supporto (table[s]: css_seh, gp_gphhold)
variable: othinc (table[s]: css_seh, gp_gphhold)
variable: othinco (table[s]: css_seh, gp_gphhold)


<individual income sources are ranked for each household (variables employ, employo, piecew, piecewo etc.), this are summarised to indicate top 4 income sources:>
forvalues y=1/4 { /*loop to create the variables*/
	gen inc`y'hh=.
	}
local x=1 /*start a local of x which will be 1 to start the loop at employ, then increased to 2 for piecew etc*/
foreach var in employ piecew farm fish snacks manuf trade gather letting service supportf support othinc { /*these vars are yes/no of whether they are a source of income and the var with o after (e.g. employo) is the rank of order of importance, with no duplication so only one has rank 1 for each record*/
	recode `var'o 0=. /*apparently 00 in rank var is code for missing*/
	forvalues y=1/4 { /*loop through 1-4 to capture the top 4 most important into the variables created above*/
		replace inc`y'hh=`x' if `var'o==`y' /*x is 1 for employ, 2 for piecework etc. so inc1 is 1 if employ==1, inc3 is 4 if fish==3 etc.*/
		}
	local x=`x'+1 /*add 1 to the local x before going through the foreach var loop again*/
	}
la def activity 1 "regular employment" 2 "piecework" 3 "farming" 4 "fishing" 5 "selling prepared food" 6 "manufactoring goods" 7 "trading" 8 "gathering natural products" 9 "letting property" 10 "providing a service" 11 "support from relatives" 12 "support from non-relative" 13 "other"
la val inc1hh inc2hh inc3hh inc4hh activity	
gen tag=1 if inc1==. 
forvalues a=1/3 { /*if no income source 1 reported move all the sources up one*/
	local b=`a'+1
	replace inc`a'hh=inc`b'hh if tag==1
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V69" name="inc3hh" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="151" EndPos="152" width="2" RecSegNo="1"/>
      <labl>
        Third source of income (D)
      </labl>
      <valrng>
        <range min="1" max="13"/>
      </valrng>
      <sumStat type="vald">
        11453
      </sumStat>
      <sumStat type="invd">
        47806
      </sumStat>
      <txt>
        <![CDATA[	
Third source of income]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          regular employment
        </labl>
        <catStat type="freq">
          117
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          piecework
        </labl>
        <catStat type="freq">
          1858
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          farming
        </labl>
        <catStat type="freq">
          1656
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          fishing
        </labl>
        <catStat type="freq">
          566
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          selling prepared food
        </labl>
        <catStat type="freq">
          798
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          manufactoring goods
        </labl>
        <catStat type="freq">
          522
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          trading
        </labl>
        <catStat type="freq">
          1755
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          gathering natural products
        </labl>
        <catStat type="freq">
          761
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          letting property
        </labl>
        <catStat type="freq">
          527
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          providing a service
        </labl>
        <catStat type="freq">
          628
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          support from relatives
        </labl>
        <catStat type="freq">
          1472
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          support from non-relative
        </labl>
        <catStat type="freq">
          706
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          other
        </labl>
        <catStat type="freq">
          87
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          47806
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: employ (table[s]: css_seh, gp_gphhold)
variable: employo (table[s]: css_seh, gp_gphhold)
variable: piecew (table[s]: css_seh, gp_gphhold)
variable: piecewo (table[s]: css_seh, gp_gphhold)
variable: farm (table[s]: css_seh, gp_gphhold)
variable: farmo (table[s]: css_seh, gp_gphhold)
variable: fish (table[s]: css_seh, gp_gphhold)
variable: fisho (table[s]: css_seh, gp_gphhold)
variable: snacks (table[s]: css_seh, gp_gphhold)
variable: snackso (table[s]: css_seh, gp_gphhold)
variable: manuf (table[s]: css_seh, gp_gphhold)
variable: manufo (table[s]: css_seh, gp_gphhold)
variable: trade (table[s]: css_seh, gp_gphhold)
variable: tradeo (table[s]: css_seh, gp_gphhold)
variable: gather (table[s]: css_seh, gp_gphhold)
variable: gathero (table[s]: css_seh, gp_gphhold)
variable: letting (table[s]: css_seh, gp_gphhold)
variable: lettingo (table[s]: css_seh, gp_gphhold)
variable: service (table[s]: css_seh, gp_gphhold)
variable: serviceo (table[s]: css_seh, gp_gphhold)
variable: supportf (table[s]: css_seh, gp_gphhold)
variable: supportfo (table[s]: css_seh, gp_gphhold)
variable: support (table[s]: css_seh, gp_gphhold)
variable: supporto (table[s]: css_seh, gp_gphhold)
variable: othinc (table[s]: css_seh, gp_gphhold)
variable: othinco (table[s]: css_seh, gp_gphhold)

<individual income sources are ranked for each household (variables employ, employo, piecew, piecewo etc.), this are summarised to indicate top 4 income sources:>
forvalues y=1/4 { /*loop to create the variables*/
	gen inc`y'hh=.
	}
local x=1 /*start a local of x which will be 1 to start the loop at employ, then increased to 2 for piecew etc*/
foreach var in employ piecew farm fish snacks manuf trade gather letting service supportf support othinc { /*these vars are yes/no of whether they are a source of income and the var with o after (e.g. employo) is the rank of order of importance, with no duplication so only one has rank 1 for each record*/
	recode `var'o 0=. /*apparently 00 in rank var is code for missing*/
	forvalues y=1/4 { /*loop through 1-4 to capture the top 4 most important into the variables created above*/
		replace inc`y'hh=`x' if `var'o==`y' /*x is 1 for employ, 2 for piecework etc. so inc1 is 1 if employ==1, inc3 is 4 if fish==3 etc.*/
		}
	local x=`x'+1 /*add 1 to the local x before going through the foreach var loop again*/
	}
la def activity 1 "regular employment" 2 "piecework" 3 "farming" 4 "fishing" 5 "selling prepared food" 6 "manufactoring goods" 7 "trading" 8 "gathering natural products" 9 "letting property" 10 "providing a service" 11 "support from relatives" 12 "support from non-relative" 13 "other"
la val inc1hh inc2hh inc3hh inc4hh activity	
gen tag=1 if inc1==. 
forvalues a=1/3 { /*if no income source 1 reported move all the sources up one*/
	local b=`a'+1
	replace inc`a'hh=inc`b'hh if tag==1
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V70" name="inc4hh" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="153" EndPos="154" width="2" RecSegNo="1"/>
      <labl>
        Fourth source of income (D)
      </labl>
      <valrng>
        <range min="1" max="13"/>
      </valrng>
      <sumStat type="vald">
        3139
      </sumStat>
      <sumStat type="invd">
        56120
      </sumStat>
      <txt>
        <![CDATA[	
Fourth source of income]]>
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          regular employment
        </labl>
        <catStat type="freq">
          28
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          piecework
        </labl>
        <catStat type="freq">
          438
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          farming
        </labl>
        <catStat type="freq">
          262
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          fishing
        </labl>
        <catStat type="freq">
          135
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          selling prepared food
        </labl>
        <catStat type="freq">
          253
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          manufactoring goods
        </labl>
        <catStat type="freq">
          179
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          trading
        </labl>
        <catStat type="freq">
          332
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          gathering natural products
        </labl>
        <catStat type="freq">
          353
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          letting property
        </labl>
        <catStat type="freq">
          200
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          providing a service
        </labl>
        <catStat type="freq">
          176
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          support from relatives
        </labl>
        <catStat type="freq">
          457
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          support from non-relative
        </labl>
        <catStat type="freq">
          291
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          other
        </labl>
        <catStat type="freq">
          35
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          56120
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: employ (table[s]: css_seh, gp_gphhold)
variable: employo (table[s]: css_seh, gp_gphhold)
variable: piecew (table[s]: css_seh, gp_gphhold)
variable: piecewo (table[s]: css_seh, gp_gphhold)
variable: farm (table[s]: css_seh, gp_gphhold)
variable: farmo (table[s]: css_seh, gp_gphhold)
variable: fish (table[s]: css_seh, gp_gphhold)
variable: fisho (table[s]: css_seh, gp_gphhold)
variable: snacks (table[s]: css_seh, gp_gphhold)
variable: snackso (table[s]: css_seh, gp_gphhold)
variable: manuf (table[s]: css_seh, gp_gphhold)
variable: manufo (table[s]: css_seh, gp_gphhold)
variable: trade (table[s]: css_seh, gp_gphhold)
variable: tradeo (table[s]: css_seh, gp_gphhold)
variable: gather (table[s]: css_seh, gp_gphhold)
variable: gathero (table[s]: css_seh, gp_gphhold)
variable: letting (table[s]: css_seh, gp_gphhold)
variable: lettingo (table[s]: css_seh, gp_gphhold)
variable: service (table[s]: css_seh, gp_gphhold)
variable: serviceo (table[s]: css_seh, gp_gphhold)
variable: supportf (table[s]: css_seh, gp_gphhold)
variable: supportfo (table[s]: css_seh, gp_gphhold)
variable: support (table[s]: css_seh, gp_gphhold)
variable: supporto (table[s]: css_seh, gp_gphhold)
variable: othinc (table[s]: css_seh, gp_gphhold)
variable: othinco (table[s]: css_seh, gp_gphhold)

<individual income sources are ranked for each household (variables employ, employo, piecew, piecewo etc.), this are summarised to indicate top 4 income sources:>
forvalues y=1/4 { /*loop to create the variables*/
	gen inc`y'hh=.
	}
local x=1 /*start a local of x which will be 1 to start the loop at employ, then increased to 2 for piecew etc*/
foreach var in employ piecew farm fish snacks manuf trade gather letting service supportf support othinc { /*these vars are yes/no of whether they are a source of income and the var with o after (e.g. employo) is the rank of order of importance, with no duplication so only one has rank 1 for each record*/
	recode `var'o 0=. /*apparently 00 in rank var is code for missing*/
	forvalues y=1/4 { /*loop through 1-4 to capture the top 4 most important into the variables created above*/
		replace inc`y'hh=`x' if `var'o==`y' /*x is 1 for employ, 2 for piecework etc. so inc1 is 1 if employ==1, inc3 is 4 if fish==3 etc.*/
		}
	local x=`x'+1 /*add 1 to the local x before going through the foreach var loop again*/
	}
la def activity 1 "regular employment" 2 "piecework" 3 "farming" 4 "fishing" 5 "selling prepared food" 6 "manufactoring goods" 7 "trading" 8 "gathering natural products" 9 "letting property" 10 "providing a service" 11 "support from relatives" 12 "support from non-relative" 13 "other"
la val inc1hh inc2hh inc3hh inc4hh activity	
gen tag=1 if inc1==. 
forvalues a=1/3 { /*if no income source 1 reported move all the sources up one*/
	local b=`a'+1
	replace inc`a'hh=inc`b'hh if tag==1
	}]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V71" name="inc1score" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="155" EndPos="155" width="1" RecSegNo="1"/>
      <labl>
        Score of first source of income in the household (D)
      </labl>
      <valrng>
        <range min="1" max="3"/>
      </valrng>
      <sumStat type="vald">
        38515
      </sumStat>
      <sumStat type="invd">
        20744
      </sumStat>
      <txt>
        <![CDATA[
Score of first source of income in the household]]>
      </txt>
      <codInstr>
        <![CDATA[*classify income generating sources in high, mid and low
*(1 low=2 "piecework" 11 "support from relatives" 12 "support from non-relative" 10 "providing a service" 8 "gathering natural products" 13 "other")
*(2 mid=6 "manufactoring goods" 5 "selling prepared food" 4 "fishing" 3 "farming")
*(3 high=1 "regular employment" 7 "trading" 9 "letting property")
forvalues y=1/4 {
	gen inc`y'score=inc`y'hh
	recode inc`y'score 2=1 11=1 12=1 10=1 8=1 13=1 6=2 5=2 4=2 3=2 1=3 7=3 9=3 .=0
	}
recode inc1score 0=.
recode emphead 0/30=. 31=3 41=2 42=1 49=. 51=3 52=3 53=1 54/99=., gen(emp_cat) /*recode gp_gphhold var*/
replace inc1score=emp_cat if inc1score==. & emp_cat~=. /*and incorporate the gp_gphhold data into the newly created score var*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V72" name="incscorehh" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="156" EndPos="156" width="1" RecSegNo="1"/>
      <labl>
        Score of top 4 sources of income in the household (D)
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="3"/>
      </valrng>
      <sumStat type="vald">
        38515
      </sumStat>
      <sumStat type="invd">
        20744
      </sumStat>
      <txt>
        <![CDATA[
Score of top 4 sources of income in the household]]>
      </txt>
      <codInstr>
        <![CDATA[variable: inc1hh (table[s]: this dataset)
variable: emphead (table[s]: gp_gphhold)


gen incscorehh=inc1score+(inc2score*0.75)+(inc3score*0.5)+(inc4score*0.25)
replace incscorehh=3 if incscorehh>3 & incscorehh~=.]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V73" name="incomehh" files="F1" dcml="0" intrvl="contin">
      <location StartPos="157" EndPos="163" width="7" RecSegNo="1"/>
      <labl>
        Actual total monthly income reported by household (D)
      </labl>
      <valrng>
        <range min="0" max="1002000"/>
      </valrng>
      <sumStat type="vald">
        7658
      </sumStat>
      <sumStat type="invd">
        51601
      </sumStat>
      <txt>
        Actual total monthly income reported by household
      </txt>
      <codInstr>
        <![CDATA[variable: inc1score (table[s]: temporary derived variable)
variable: inc2score (table[s]: temporary derived variable)
variable: inc3score (table[s]: temporary derived variable)
variable: inc4score (table[s]: temporary derived variable)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V74" name="incKscorehh" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="164" EndPos="165" width="2" RecSegNo="1"/>
      <labl>
        Score of total monthly income reported by household (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        7658
      </sumStat>
      <sumStat type="invd">
        51601
      </sumStat>
      <txt>
        <![CDATA[	
Score of total monthly income reported by household]]>
      </txt>
      <codInstr>
        variable: tothhincome (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V75" name="earnersmissM" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="166" EndPos="166" width="1" RecSegNo="1"/>
      <labl>
        No. of potential male earners missed in the calculation of total hh income (D)
      </labl>
      <valrng>
        <range min="0" max="3"/>
      </valrng>
      <sumStat type="vald">
        7658
      </sumStat>
      <sumStat type="invd">
        51601
      </sumStat>
      <txt>
        <![CDATA[	
No. of potential male earners missed in the calculation of total hh income]]>
      </txt>
      <codInstr>
        variable: avhhincscorek (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V76" name="earnersmissF" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="167" EndPos="167" width="1" RecSegNo="1"/>
      <labl>
        No. of potential female earners missed in the calculation of total hh income (D)
      </labl>
      <valrng>
        <range min="0" max="2"/>
      </valrng>
      <sumStat type="vald">
        7658
      </sumStat>
      <sumStat type="invd">
        51601
      </sumStat>
      <txt>
        <![CDATA[
No. of potential female earners missed in the calculation of total hh income]]>
      </txt>
      <codInstr>
        variable: mmissed (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V77" name="meals2days" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="168" EndPos="169" width="2" RecSegNo="1"/>
      <labl>
        Number of meals served in household in previous 2 days (S)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <sumStat type="vald">
        23016
      </sumStat>
      <sumStat type="invd">
        36243
      </sumStat>
      <txt>
        <![CDATA[	
Number of meals served in household in previous 2 days]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: meals2days (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V78" name="mealsnorm" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="170" EndPos="171" width="2" RecSegNo="1"/>
      <labl>
        Number of meals normally served in household per day (S)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <sumStat type="vald">
        23007
      </sumStat>
      <sumStat type="invd">
        36252
      </sumStat>
      <txt>
        Number of meals normally served in household per day
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: mealsnorm (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V79" name="tomnum" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="172" EndPos="173" width="2" RecSegNo="1"/>
      <labl>
        In the last 7 days: number of days tomatoes eaten in household (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        20900
      </sumStat>
      <sumStat type="invd">
        38359
      </sumStat>
      <txt>
        <![CDATA[
In the last 7 days: number of days tomatoes eaten in household]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: tomnum (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V80" name="vegnum" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="174" EndPos="175" width="2" RecSegNo="1"/>
      <labl>
        In the last 7 days: number of days vegetables eaten in household (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        22413
      </sumStat>
      <sumStat type="invd">
        36846
      </sumStat>
      <txt>
        <![CDATA[
In the last 7 days: number of days vegetables eaten in household]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: vegnum (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V81" name="fishyn" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="176" EndPos="176" width="1" RecSegNo="1"/>
      <labl>
        In the last 7 days was fish eaten in the household (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        22991
      </sumStat>
      <sumStat type="invd">
        36268
      </sumStat>
      <txt>
        In the last 7 days was fish eaten in the household
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          772
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          22219
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          36268
        </catStat>
      </catgry>
      <codInstr>
        variable: fishyn (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V82" name="chicken" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="177" EndPos="177" width="1" RecSegNo="1"/>
      <labl>
        In the last 14 days, was chicken served in a main meal eaten by the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        23006
      </sumStat>
      <sumStat type="invd">
        36253
      </sumStat>
      <txt>
        In the last 14 days, was chicken served in a main meal eaten by the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          14238
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          8768
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          36253
        </catStat>
      </catgry>
      <codInstr>
        variable: chicken (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V83" name="meat" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="178" EndPos="178" width="1" RecSegNo="1"/>
      <labl>
        In the last 14 days, was beef/goat/pork served in a main meal eaten by the HH? (
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        23014
      </sumStat>
      <sumStat type="invd">
        36245
      </sumStat>
      <txt>
        In the last 14 days, was beef/goat/pork served in a main meal eaten by the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          6973
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          16041
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          36245
        </catStat>
      </catgry>
      <codInstr>
        variable: meat (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V84" name="beans" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="179" EndPos="179" width="1" RecSegNo="1"/>
      <labl>
        In the last 14 days, was beans/peas/etc served in a main meal eaten by the HH? (
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        23008
      </sumStat>
      <sumStat type="invd">
        36251
      </sumStat>
      <txt>
        In the last 14 days, was beans/peas/etc served in a main meal eaten by the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          4994
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          18014
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          36251
        </catStat>
      </catgry>
      <codInstr>
        variable: beans (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V85" name="eggs" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="180" EndPos="180" width="1" RecSegNo="1"/>
      <labl>
        In the last 14 days, was eggs served in a main meal eaten by the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        23000
      </sumStat>
      <sumStat type="invd">
        36259
      </sumStat>
      <txt>
        In the last 14 days, was eggs served in a main meal eaten by the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          11966
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          11034
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          36259
        </catStat>
      </catgry>
      <codInstr>
        variable: eggs (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V86" name="milk" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="181" EndPos="181" width="1" RecSegNo="1"/>
      <labl>
        In the last 14 days, was milk served in a main meal eaten by the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        22987
      </sumStat>
      <sumStat type="invd">
        36272
      </sumStat>
      <txt>
        In the last 14 days, was milk served in a main meal eaten by the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          12512
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          10475
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          36272
        </catStat>
      </catgry>
      <codInstr>
        variable: milk (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V87" name="foodenough" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="182" EndPos="182" width="1" RecSegNo="1"/>
      <labl>
        Time in last year where there has not been enough food in the household. (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        29980
      </sumStat>
      <sumStat type="invd">
        29279
      </sumStat>
      <txt>
        Time in last year where there has not been enough food in the household.
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          21411
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          8569
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          29279
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: foodenough (table[s]: css_seh)
variable: nofood (table[s]: caps_blhse)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V88" name="dietscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="183" EndPos="184" width="2" RecSegNo="1"/>
      <labl>
        Score of amount and type of food available in the household. (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        23037
      </sumStat>
      <sumStat type="invd">
        36222
      </sumStat>
      <txt>
        Score of amount and type of food available in the household.
      </txt>
      <codInstr>
        <![CDATA[variable: meals2days (table[s]: css_seh)
variable: mealsnorm (table[s]: css_seh)
variable: tomnum (table[s]: css_seh)
variable: vegnum (table[s]: css_seh)
variable: fishyn (table[s]: css_seh)
variable: chicken (table[s]: css_seh)
variable: meat (table[s]: css_seh)
variable: beans (table[s]: css_seh)
variable: eggs (table[s]: css_seh)
variable: milk (table[s]: css_seh)
variable: foodenough (table[s]: css_seh)
variable: nofood (table[s]: caps_blhse)

<the diet/food availability variables are summarised into a score which is then turned into a decile variable in relation to all other records with this data within the same year>
egen meals2days_cat=cut(meals2days), at(0,1,4,6,99) /*number of meals served in last 2 days categorised into 0, 1-3, 4-5 and 6+*/
recode meals2days_cat 4=2 6=3
egen mealsnorm_cat=cut(mealsnorm), at(0,1,2,3,99) /*number of meals normally served daily categorised into 0, 1, 2 and 3+*/
egen vegetable=rowtotal(tomnum vegnum)
replace vegetable=. if tomnum==. & vegnum==.
egen veg_cat=cut(vegetable), at(0,2,6,10,15) /*number of days tomatoes and veg served in last 7 days categorised into 0-1, 2-5, 6-9 and 10+*/
recode veg_cat 2=1 6=2 10=3
egen protein=rowtotal(fishyn chicken meat beans eggs milk)
replace protein=. if fishyn==. & chicken==. & meat==. & beans==. & eggs==. & milk==.
recode protein 2=1 3/4=2 5/6=3, gen(prot_cat)
egen diettot=rowtotal(meals2days_cat mealsnorm_cat veg_cat prot_cat)
replace diettot=. if meals2days_cat==. & mealsnorm_cat==. & veg_cat==. & prot_cat==.
replace diettot=diettot-1 if foodenough==1 /*minus 1 from dietscore if reported time with not enough food in last year*/
egen dietposs=rownonmiss(meals2days_cat mealsnorm_cat veg_cat prot_cat)
gen dietscore1=diettot/(dietposs*3) /*average of all possible diet scores*/
foreach y in `yearlist' { /*make relative dietscore by year - so diets only compared with diets from same era*/
	cap xtile dietscorey`y'=dietscore1 if year==`y', nq(10) /*score is created by splitting the population into deciles*/
	if _rc~=0 gen dietscorey`y'=.
	}
egen dietscore=rowmax(dietscorey*)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V89" name="soap4wk" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="185" EndPos="185" width="1" RecSegNo="1"/>
      <labl>
        Time in last 4 weeks when there was not enough money to buy soap for HH (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        25192
      </sumStat>
      <sumStat type="invd">
        34067
      </sumStat>
      <txt>
        Time in last 4 weeks when there was not enough money to buy soap for HH
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          17231
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          7961
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          34067
        </catStat>
      </catgry>
      <codInstr>
        variable: soap4wk (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V90" name="soap12mon" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="186" EndPos="186" width="1" RecSegNo="1"/>
      <labl>
        Time in last year when there was not enough money to buy soap for HH (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        28942
      </sumStat>
      <sumStat type="invd">
        30317
      </sumStat>
      <txt>
        Time in last year when there was not enough money to buy soap for HH
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          16043
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          12899
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          30317
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: soap12mon (table[s]: css_seh)
variable: nomoney (table[s]: caps_blhse)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V91" name="anysupport" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="187" EndPos="187" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[Whether household receives external monetary support  (D)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        36280
      </sumStat>
      <sumStat type="invd">
        22979
      </sumStat>
      <txt>
        Whether household receives external monetary support
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          27796
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          8484
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          22979
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: supportf (table[s]: css_seh, gp_gphhold)
variable: support (table[s]: css_seh, gp_gphhold)

<variables for support from relatives and support from non-relatives are combined>
gen anysupport=.
replace anysupport=0 if supportf==0 | support==0
replace anysupport=1 if supportf==1 | support==1]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V92" name="giftreceive" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="188" EndPos="188" width="1" RecSegNo="1"/>
      <labl>
        In last year, did anyone in this HH receive any gifts from outside the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7206
      </sumStat>
      <sumStat type="invd">
        52053
      </sumStat>
      <txt>
        In last year, did anyone in this HH receive any gifts from outside the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          3887
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          3319
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52053
        </catStat>
      </catgry>
      <codInstr>
        variable: giftreceive (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V93" name="loanreceive" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="189" EndPos="189" width="1" RecSegNo="1"/>
      <labl>
        In last year, did anyone in this HH receive any loans from outside the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7159
      </sumStat>
      <sumStat type="invd">
        52100
      </sumStat>
      <txt>
        In last year, did anyone in this HH receive any loans from outside the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          5847
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1312
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52100
        </catStat>
      </catgry>
      <codInstr>
        variable: loanreceive (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V94" name="giftgive" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="190" EndPos="190" width="1" RecSegNo="1"/>
      <labl>
        In last year, did anyone in this HH give any gifts from outside the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7180
      </sumStat>
      <sumStat type="invd">
        52079
      </sumStat>
      <txt>
        In last year, did anyone in this HH give any gifts from outside the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          4414
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2766
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52079
        </catStat>
      </catgry>
      <codInstr>
        variable: giftgive (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V95" name="loangive" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="191" EndPos="191" width="1" RecSegNo="1"/>
      <labl>
        In last year, did anyone in this HH give any loans from outside the HH? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7082
      </sumStat>
      <sumStat type="invd">
        52177
      </sumStat>
      <txt>
        In last year, did anyone in this HH give any loans from outside the HH?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          5731
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1351
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52177
        </catStat>
      </catgry>
      <codInstr>
        variable: loangive (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V96" name="newloan" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="192" EndPos="192" width="1" RecSegNo="1"/>
      <labl>
        In last year, has anyone in this HH RECEIVED any loans from a bank etc? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7211
      </sumStat>
      <sumStat type="invd">
        52048
      </sumStat>
      <txt>
        In last year, has anyone in this HH RECEIVED any loans from a bank etc?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          6607
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          604
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52048
        </catStat>
      </catgry>
      <codInstr>
        variable: newloan (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V97" name="savinggp" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="193" EndPos="193" width="1" RecSegNo="1"/>
      <labl>
        Does anyone in this household belong to a savings group or club? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7217
      </sumStat>
      <sumStat type="invd">
        52042
      </sumStat>
      <txt>
        Does anyone in this household belong to a savings group or club?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          6320
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          897
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52042
        </catStat>
      </catgry>
      <codInstr>
        variable: savinggp (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V98" name="savings" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="194" EndPos="194" width="1" RecSegNo="1"/>
      <labl>
        Does anyone in this HH currently have any cash savings for the future? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7199
      </sumStat>
      <sumStat type="invd">
        52060
      </sumStat>
      <txt>
        Does anyone in this HH currently have any cash savings for the future?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          4576
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2623
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          52060
        </catStat>
      </catgry>
      <codInstr>
        variable: savings (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V99" name="safescore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="195" EndPos="196" width="2" RecSegNo="1"/>
      <labl>
        Score of savings/safety nets available to household (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        7244
      </sumStat>
      <sumStat type="invd">
        52015
      </sumStat>
      <txt>
        Score of savings/safety nets available to household
      </txt>
      <codInstr>
        <![CDATA[variable: giftreceive (table[s]: css_seh)
variable: loanreceive (table[s]: css_seh)
variable: giftgive (table[s]: css_seh)
variable: loangive (table[s]: css_seh)
variable: newloan (table[s]: css_seh)
variable: savinggp (table[s]: css_seh)
variable: savings (table[s]: css_seh)


egen safescore1=rowtotal(giftreceive loanreceive giftgive loangive newloan savinggp savings)
replace safescore1=. if giftreceive==. & loanreceive==. & giftgive==. & loangive==. & newloan==. & savinggp==. & savings==.
xtile safescore=safescore1, nq(10) /*score is created by splitting the population into deciles*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V100" name="bankbook" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="197" EndPos="197" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own bank book (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        37494
      </sumStat>
      <sumStat type="invd">
        21765
      </sumStat>
      <txt>
        Anyone in household own bank book
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          30373
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          7121
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          21765
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: bankbook (table[s]: css_seh, gp_gphhold)
variable: bank (table[s]: caps_blhse)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V101" name="panga" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="198" EndPos="198" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[Anyone in household own a Panga,  or long Sickle (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        15962
      </sumStat>
      <sumStat type="invd">
        43297
      </sumStat>
      <txt>
        <![CDATA[Anyone in household own a Panga,  or long Sickle]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          4042
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          11920
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          43297
        </catStat>
      </catgry>
      <codInstr>
        variable: panga (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V102" name="hoe" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="199" EndPos="199" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a hoe (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        15039
      </sumStat>
      <sumStat type="invd">
        44220
      </sumStat>
      <txt>
        Anyone in household own a hoe
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          595
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          14444
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          44220
        </catStat>
      </catgry>
      <codInstr>
        variable: hoe (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V103" name="axe" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="200" EndPos="200" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own an axe (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        15953
      </sumStat>
      <sumStat type="invd">
        43306
      </sumStat>
      <txt>
        Anyone in household own an axe
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          2301
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          13652
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          43306
        </catStat>
      </catgry>
      <codInstr>
        variable: axe (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V104" name="plough" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="201" EndPos="201" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[Anyone in household own a Panga,  or long Sickle (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        15934
      </sumStat>
      <sumStat type="invd">
        43325
      </sumStat>
      <txt>
        <![CDATA[Anyone in household own a Panga,  or long Sickle]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          14434
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1500
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          43325
        </catStat>
      </catgry>
      <codInstr>
        variable: plough (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V105" name="fishnet" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="202" EndPos="202" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a plough (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        29269
      </sumStat>
      <sumStat type="invd">
        29990
      </sumStat>
      <txt>
        Anyone in household own a plough
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          26059
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          3210
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          29990
        </catStat>
      </catgry>
      <codInstr>
        variable: fishnet (table[s]: css_seh, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V106" name="wheelb" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="203" EndPos="203" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a wheelbarrow (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        15843
      </sumStat>
      <sumStat type="invd">
        43416
      </sumStat>
      <txt>
        Anyone in household own a wheelbarrow
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          14697
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1146
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          43416
        </catStat>
      </catgry>
      <codInstr>
        variable: wheelb (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V107" name="oxcart" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="204" EndPos="204" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own an oxcart (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        45188
      </sumStat>
      <sumStat type="invd">
        14071
      </sumStat>
      <txt>
        Anyone in household own an oxcart
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          42993
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2195
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          14071
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: oxcart (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: oxcart_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V108" name="clock" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="205" EndPos="205" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a working watch or clock (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        37533
      </sumStat>
      <sumStat type="invd">
        21726
      </sumStat>
      <txt>
        Anyone in household own a working watch or clock
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          22762
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          14771
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          21726
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: clock (table[s]: css_seh, caps_blhse)
variable: watchclock (table[s]: gp_gphhold)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V109" name="mattress" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="206" EndPos="206" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a mattress (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        28809
      </sumStat>
      <sumStat type="invd">
        30450
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a mattress]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          9248
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          19561
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          30450
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: mattress (table[s]: css_seh, caps_blhse)
variable: bedmt_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V110" name="bed" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="207" EndPos="207" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a bed (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        28810
      </sumStat>
      <sumStat type="invd">
        30449
      </sumStat>
      <txt>
        Anyone in household own a bed
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          5863
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          22947
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          30449
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: bed (table[s]: css_seh, caps_blhse)
variable: bedmt_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V111" name="chair" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="208" EndPos="208" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own Plastic, metal, wooden chairs (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        23585
      </sumStat>
      <sumStat type="invd">
        35674
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own Plastic, metal, wooden chairs]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          9053
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          14532
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          35674
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: chair (table[s]: css_seh)
variable: tabchar_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V112" name="tble" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="209" EndPos="209" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a table (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        23590
      </sumStat>
      <sumStat type="invd">
        35669
      </sumStat>
      <txt>
        Anyone in household own a table
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          9535
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          14055
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          35669
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: tble (table[s]: css_seh)
variable: tabchar_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V113" name="sofa" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="210" EndPos="210" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a sofa (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        9490
      </sumStat>
      <sumStat type="invd">
        49769
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a sofa]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          7805
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1685
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          49769
        </catStat>
      </catgry>
      <codInstr>
        variable: sofa_mode (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V114" name="mosnetyn" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="211" EndPos="211" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a mosquito net (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        47703
      </sumStat>
      <sumStat type="invd">
        11556
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a mosquito net]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          4004
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          43699
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          11556
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: mosnetyn (table[s]: css_seh)
variable: mosnetnum (table[s]: gp_gphhold)
variable: net (table[s]: caps_blhse)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V115" name="mosnetnum" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="212" EndPos="213" width="2" RecSegNo="1"/>
      <labl>
        Number of mosquito nets owned by household (S)
      </labl>
      <valrng>
        <range min="1" max="99"/>
      </valrng>
      <sumStat type="vald">
        38675
      </sumStat>
      <sumStat type="invd">
        20584
      </sumStat>
      <txt>
        <![CDATA[	
Number of mosquito nets owned by household]]>
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        <![CDATA[variable: mosnetnum (table[s]: css_seh)
variable: mosnetqty (table[s]: gp_gphhold)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V116" name="pot" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="214" EndPos="214" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a Clay pot for storing drinking water (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        15929
      </sumStat>
      <sumStat type="invd">
        43330
      </sumStat>
      <txt>
        <![CDATA[
Anyone in household own a Clay pot for storing drinking water]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          3080
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          12849
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          43330
        </catStat>
      </catgry>
      <codInstr>
        variable: pot (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V117" name="ciron" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="215" EndPos="215" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a charcoal iron (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        21153
      </sumStat>
      <sumStat type="invd">
        38106
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a charcoal iron]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          14657
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          6496
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          38106
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: ciron (table[s]: css_seh)
variable: iron (table[s]: caps_blhse)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V118" name="bicycle" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="216" EndPos="216" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a bicycle (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        45188
      </sumStat>
      <sumStat type="invd">
        14071
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a bicycle]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          23101
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          22087
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          14071
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: bicycle (table[s]: css_seh, gp_gphhold)
variable: bike (table[s]: caps_blhse)
variable: bicyc_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V119" name="canoe" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="217" EndPos="217" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a canoe (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        37526
      </sumStat>
      <sumStat type="invd">
        21733
      </sumStat>
      <txt>
        <![CDATA[
Anyone in household own a canoe]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          34820
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2706
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          21733
        </catStat>
      </catgry>
      <codInstr>
        variable: canoe (table[s]: css_seh, caps_blhse, gp_gphhold)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V120" name="sewing" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="218" EndPos="218" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a working sewing machine (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        21150
      </sumStat>
      <sumStat type="invd">
        38109
      </sumStat>
      <txt>
        <![CDATA[
Anyone in household own a working sewing machine]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          20417
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          733
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          38109
        </catStat>
      </catgry>
      <codInstr>
        variable: sewing (table[s]: css_seh, caps_blhse)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V121" name="parlamp" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="219" EndPos="219" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a paraffin lamp (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        9491
      </sumStat>
      <sumStat type="invd">
        49768
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a paraffin lamp]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          6201
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          3290
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          49768
        </catStat>
      </catgry>
      <codInstr>
        variable: parlamp_mode (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V122" name="tape" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="220" EndPos="220" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[Anyone in household own a Tape/CD player   (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        2503
      </sumStat>
      <sumStat type="invd">
        56756
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a Tape/CD player]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          1014
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1489
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          56756
        </catStat>
      </catgry>
      <codInstr>
        variable: tape (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V123" name="fan" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="221" EndPos="221" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own an electric fan (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        2491
      </sumStat>
      <sumStat type="invd">
        56768
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own an electric fan]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          2116
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          375
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          56768
        </catStat>
      </catgry>
      <codInstr>
        variable: fan (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V124" name="fridge" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="222" EndPos="222" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a fridge (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        10151
      </sumStat>
      <sumStat type="invd">
        49108
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a fridge]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          9353
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          798
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          49108
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: fridge (table[s]: css_seh)
variable: refrig_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V125" name="eiron" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="223" EndPos="223" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own an electric iron (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        2491
      </sumStat>
      <sumStat type="invd">
        56768
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own an electric iron]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          1988
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          503
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          56768
        </catStat>
      </catgry>
      <codInstr>
        variable: eiron (table[s]: css_seh)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V126" name="tv" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="224" EndPos="224" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a tv (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        10151
      </sumStat>
      <sumStat type="invd">
        49108
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a tv]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          8575
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1576
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          49108
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: tv (table[s]: css_seh)
variable: telv_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V127" name="mobile" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="225" EndPos="225" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a mobile phone (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7658
      </sumStat>
      <sumStat type="invd">
        51601
      </sumStat>
      <txt>
        <![CDATA[	
Anyone in household own a mobile phone]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          2906
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          4752
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          51601
        </catStat>
      </catgry>
      <codInstr>
        variable: mopho_mode (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V128" name="landpho" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="226" EndPos="226" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a land phone (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        7658
      </sumStat>
      <sumStat type="invd">
        51601
      </sumStat>
      <txt>
        <![CDATA[
Anyone in household own a land phone]]>
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          7543
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          115
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          51601
        </catStat>
      </catgry>
      <codInstr>
        variable: landpho_mode (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V129" name="radio" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="227" EndPos="227" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a radio (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        45188
      </sumStat>
      <sumStat type="invd">
        14071
      </sumStat>
      <txt>
        Anyone in household own a radio
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          19251
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          25937
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          14071
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: radio (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: radio_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V130" name="egcook" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="228" EndPos="228" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own an electric or gas cooker (S)
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        12470
      </sumStat>
      <sumStat type="invd">
        46789
      </sumStat>
      <txt>
        Anyone in household own an electric or gas cooker
      </txt>
      <codInstr>
        <![CDATA[variable: egcook_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: felect (table[s]: caps_blhse)
variable: flpg (table[s]: caps_blhse)

gen egcook=0 if felect==0 & flpg==0 /*What fuel is regularly used to cook food at your home?*/
replace egcook=1 if felect==1 | flpg==1]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V131" name="car" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="229" EndPos="229" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a car (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        28803
      </sumStat>
      <sumStat type="invd">
        30456
      </sumStat>
      <txt>
        Anyone in household own a car
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          28554
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          249
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          30456
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: car (table[s]: css_seh, caps_blhse)
variable: car_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V132" name="motorbike" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="230" EndPos="230" width="1" RecSegNo="1"/>
      <labl>
        Anyone in household own a motorbike (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        45182
      </sumStat>
      <sumStat type="invd">
        14077
      </sumStat>
      <txt>
        Anyone in household own a motorbike
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          44820
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          362
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          14077
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: motorbike (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: motcyc_mode (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V133" name="possscore" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="231" EndPos="232" width="2" RecSegNo="1"/>
      <labl>
        Score of possesions owned (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        45200
      </sumStat>
      <sumStat type="invd">
        14059
      </sumStat>
      <txt>
        Score of possesions owned
      </txt>
      <codInstr>
        <![CDATA[variable: panga (table[s]: css_seh)
variable: hoe (table[s]: css_seh)
variable: axe (table[s]: css_seh)
variable: plough (table[s]: css_seh)
variable: fishnet (table[s]: css_seh, gp_gphhold)
variable: wheelb (table[s]: css_seh)
variable: oxcart (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: oxcart_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: clock (table[s]: css_seh, caps_blhse)
variable: watchclock (table[s]: gp_gphhold)
variable: mattress (table[s]: css_seh, caps_blhse)
variable: bedmt_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: bed (table[s]: css_seh, caps_blhse)
variable: bedmt_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: chair (table[s]: css_seh)
variable: tabchar_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: tble (table[s]: css_seh)
variable: tabchar_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: sofa_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: pot (table[s]: css_seh)
variable: ciron (table[s]: css_seh)
variable: iron (table[s]: caps_blhse)
variable: bicycle (table[s]: css_seh, gp_gphhold)
variable: bike (table[s]: caps_blhse)
variable: bicyc_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: canoe (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: sewing (table[s]: css_seh, caps_blhse)
variable: parlamp_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: tape (table[s]: css_seh)
variable: fan (table[s]: css_seh)
variable: fridge (table[s]: css_seh)
variable: refrig_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: eiron (table[s]: css_seh)
variable: tv (table[s]: css_seh)
variable: telv_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: mopho_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: landpho_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: radio (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: radio_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: egcook_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: felect (table[s]: caps_blhse)
variable: flpg (table[s]: caps_blhse)
variable: car (table[s]: css_seh, caps_blhse)
variable: car_mode (table[s]: NCD_combined_data_all_final [derived table])
variable: motorbike (table[s]: css_seh, caps_blhse, gp_gphhold)
variable: motcyc_mode (table[s]: NCD_combined_data_all_final [derived table])

<Kwacha value of possessions is summed and turned into a decile variable in relation to all other records with this data within the same year>
*(the values for each item are (usually) the middle of the range of typical prices given by the crs fieldworkers on 22 August 2014, the range is given in the comments afterwards.)
*(the second comment, if present, is the price in the original do-file from may 2005)
local pangaval=1500 		/*1000-3000*/ 			
local axeval=1500 			/*1000-2000*/		
local cironval=1500 		/*1000-2000*/			
local parlampval=2000 		/*1500-2500*/			
local hoeval=2500 			/*1500-3500*/		
local clockval=3500 		/*1500-5000*/ 			/*2005: 150*/
local mosnetynval=4500 		/*3500-5000*/ 			/*2005: 100*/
local potval=6000 			/*2000-10,000*/		
local chairval=6500 		/*2500-10,000*/			
local eironval=7500 		/*5000-10,000*/			
local radioval=8000 		/*1000-15,000*/ 		/*2005: 600*/	
local mobileval=10000 		/*3000-60,000*/			
local landphoval=15000 		/*10,000-20,000*/			
local fanval=22500 			/*15,000-30,000*/		
local tbleval=25000 		/*15,000-25,000*/			
local wheelbval=30000 		/*20,000-40,000*/			
local mattressval=31000 	/*12,000-50,000*/				
local bedval=32500 			/*15,000-50,000*/		
local tapeval=32500 		/*15,000-50,000*/			
local bicycleval=35000 		/*20,000-50,000*/		/*2005: 4000*/	
local sewingval=35000 		/*20,000-50,000*/			
local canoeval=50000 		/*40,000-60,000*/ 		/*2005: 4000*/	
local fishnetval=60000 		/*20,000-100,000*/ 		/*2005: 4000*/	
local ploughval=75000 		/*50,000-100,000*/			
local tvval=85000 			/*70,000-100,000*/		
local egcookval=100000 		/*80,000-120,000*/			
local sofaval=125000 		/*50,000-200,000*/			
local oxcartval=200000 		/*180,000-220,000*/ 	/*2005: 25000*/		
local fridgeval=200000 		/*150,000-250,000*/			
local motorbikeval=350000 	/*200,000-500,000*/ 	/*2005: 60000*/			
local carval=2000000 		/*1,000,000-3,000,000*/			
*divide the possessions into cheap (under 10,000K), middle (10,000-under 100,000K) and expensive (over 100,000K)
local posscheap "panga axe ciron parlamp hoe clock pot chair eiron radio"
local possmid "mobile landpho fan tble wheelb mattress bed tape bicycle sewing canoe fishnet plough tv"
local possexp "egcook sofa oxcart fridge motorbike car"
foreach poss in cheap mid exp {
	local possessions="`poss`poss''"
	egen nask`poss'=rownonmiss(`poss`poss'')
	egen nyes`poss'=rowtotal(`poss`poss'')
	if "`poss'"=="mid" replace nask`poss'=nask`poss'-1
	gen poss`poss'poss=0 if nask`poss'>=2 /*only use data if at least 2 of the items were asked about*/
	foreach item of local possessions { /*loop through the items listed above in local possessions*/
		replace poss`poss'poss=poss`poss'poss+``item'val' if `item'~=. & nask`poss'>=2 /*if the possession variable is not missing they have been asked about it so its value can be added to the total possible they could have*/
		gen `item'val=`item'*``item'val' /*if they have the item its var will equal 1 (0 if no and . if unknown) so this create a var with the value of the item if they have it*/
		}
	replace poss`poss'poss=. if poss`poss'poss==0 /*replace total possible score with missing if none of the questions asked*/
	egen poss`poss'=rowtotal(*val) if poss`poss'poss>0 & poss`poss'poss~=. /*adds up all the value vars which had the value of the item if they say that own one*/
	gen possscore`poss'=100*(poss`poss'/poss`poss'poss) /*creates a % var with the value of total items owned as numerator and the value of the items asked about as the denominator*/
	drop *val
	}
egen possscore1=rowmean(possscorecheap possscoremid) /*make average of cheap and middle items*/
replace possscore1=int(possscore1/10)+nyesexp /*add 1 point for each expensive item they have*/
foreach y in `yearlist' {
	cap xtile possscorey`y'=possscore1 if year==`y', nq(10) /*score is created by splitting the population into deciles*/
	if _rc~=0 gen possscorey`y'=.
	}
egen possscore=rowmax(possscorey*)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V134" name="ident" files="F2" intrvl="discrete">
      <location StartPos="1" EndPos="7" width="7" RecSegNo="1"/>
      <labl>
        individual identifier (S)
      </labl>
      <sumStat type="vald">
        499495
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        individual identifier
      </txt>
      <codInstr>
        variable: ident (table[s]: cen_individ, crs_cenm, css_sei_all, NCD_combined_data_all_final [derived table], combined_tb_cases_controls_final [derived table])
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V135" name="crsno" files="F2" intrvl="discrete">
      <location StartPos="8" EndPos="16" width="9" RecSegNo="1"/>
      <labl>
        CRS individual identifier (D)
      </labl>
      <sumStat type="vald">
        472084
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        CRS individual identifier
      </txt>
      <codInstr>
        <![CDATA[variable: repgp (table[s]: crs_cenm, css_sei_all)
variable: cluster (table[s]: crs_cenm, css_sei_all)
variable: hhlistno (table[s]: crs_cenm, css_sei_all)
variable: membno (table[s]: crs_cenm, css_sei_all)
variable: crsno (table[s]: crs_memball, NCD_combined_data_all_final [derived table])


egen crsno=concat(repgp cluster hhlistno membno) if repgp~=""]]>
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V136" name="crshse" files="F2" intrvl="discrete">
      <location StartPos="17" EndPos="23" width="7" RecSegNo="1"/>
      <labl>
        CRS household identifier (D)
      </labl>
      <sumStat type="vald">
        472084
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        CRS household identifier
      </txt>
      <codInstr>
        <![CDATA[variable: repgp (table[s]: crs_cenm, css_sei_all)
variable: cluster (table[s]: crs_cenm, css_sei_all)
variable: hhlistno (table[s]: crs_cenm, css_sei_all)
variable: crshse (table[s]: crs_memball)
variable: house (table[s]: NCD_combined_data_all_final [derived table])

egen crshse=concat(repgp cluster hhlistno) if repgp~=""]]>
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V137" name="rd" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="24" EndPos="25" width="2" RecSegNo="1"/>
      <labl>
        Round (D)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        333340
      </sumStat>
      <sumStat type="invd">
        166155
      </sumStat>
      <txt>
        Round
      </txt>
      <codInstr>
        variable: rd (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V138" name="source" files="F2" intrvl="discrete">
      <location StartPos="26" EndPos="36" width="11" RecSegNo="1"/>
      <labl>
        data source (D)
      </labl>
      <sumStat type="vald">
        499495
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        <![CDATA[
data source]]>
      </txt>
      <codInstr>
        Variable is created when processing data tables before appending together
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V139" name="informant" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="37" EndPos="37" width="1" RecSegNo="1"/>
      <labl>
        Relationship of informant to participant (S)
      </labl>
      <valrng>
        <range min="1" max="8"/>
      </valrng>
      <sumStat type="vald">
        8847
      </sumStat>
      <sumStat type="invd">
        490648
      </sumStat>
      <txt>
        Relationship of informant to participant
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Self
        </labl>
        <catStat type="freq">
          7737
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Parent
        </labl>
        <catStat type="freq">
          613
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Child/niece/nephew/grandchild
        </labl>
        <catStat type="freq">
          54
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Sibling/cousin
        </labl>
        <catStat type="freq">
          163
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Spouse
        </labl>
        <catStat type="freq">
          124
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          In-law
        </labl>
        <catStat type="freq">
          35
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Grandparent/Aunt/Uncle
        </labl>
        <catStat type="freq">
          116
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Non-relative
        </labl>
        <catStat type="freq">
          5
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          490648
        </catStat>
      </catgry>
      <codInstr>
        variable: informant (table[s]: combined_tb_cases_controls_final)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V140" name="infmtype" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="38" EndPos="38" width="1" RecSegNo="1"/>
      <labl>
        Relationship of informant to participant (S)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        360416
      </sumStat>
      <sumStat type="invd">
        139079
      </sumStat>
      <txt>
        Relationship of informant to participant
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Partner/sibling/child
        </labl>
        <catStat type="freq">
          56178
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Grandparent/grandchild/other relative
        </labl>
        <catStat type="freq">
          49644
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Key informant
        </labl>
        <catStat type="freq">
          12
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Neighbour/non-relative
        </labl>
        <catStat type="freq">
          491
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Parent
        </labl>
        <catStat type="freq">
          149600
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Self
        </labl>
        <catStat type="freq">
          104491
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          139079
        </catStat>
      </catgry>
      <codInstr>
        variable: infmtype (table[s]: css_sei_all, crs_cenm)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V141" name="informtype" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="39" EndPos="39" width="1" RecSegNo="1"/>
      <labl>
        Relationship of informant to participant (D)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        369263
      </sumStat>
      <sumStat type="invd">
        130232
      </sumStat>
      <txt>
        Relationship of informant to participant
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Self
        </labl>
        <catStat type="freq">
          112228
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Parent
        </labl>
        <catStat type="freq">
          150213
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Other relative (inc spouse/inlaw)
        </labl>
        <catStat type="freq">
          106314
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Non-relative
        </labl>
        <catStat type="freq">
          508
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          130232
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: informant (table[s]: combined_tb_cases_controls_final)
variable: infmtype (table[s]: css_sei_all, crs_cenm)

la def informtype 1 "Self" 2 "Parent" 3 "Other relative (inc spouse/inlaw)" 4 "Non-relative" 8 "Unknown" 9 "Missing"
gen informtype=1 if infmtype==6 | informant==1
replace informtype=2 if infmtype==5 | informant==2
replace informtype=3 if infmtype==1 /*Partner/sibling/child*/| infmtype==2 /*Grandparent/grandchild/other relative*/ | informant==3 /*Child/niece/nephew/grandchild*/ | informant==4 /*Sibling/cousin*/ | informant==5 /*Spouse*/ | informant==6 /*In-law*/ | informant==7 /*Grandparent/Aunt/Uncle*/
replace informtype=4 if infmtype==3 /*Key informant*/ | infmtype==4 /*Neighbour/non-relative*/ | informant==8 /*Non-relative*/
replace informtype=8 if infmtype==8
replace informtype=9 if infmtype==9
la val informtype informtype]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V142" name="self" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="40" EndPos="40" width="1" RecSegNo="1"/>
      <labl>
        If informant is self (D)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        435109
      </sumStat>
      <sumStat type="invd">
        64386
      </sumStat>
      <txt>
        If informant is self
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          291769
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          143340
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Not applicable
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          64386
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: self (table[s]: cen_individ, crs_cenm)
variable: informtype (table[s]: this dataset)
variable: source (table[s]: this dataset)


replace self=1 if informtype==1 | source=="ncd"
replace self=0 if informtype>=2 & informtype<8 & informtype~=. & self==.]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V143" name="seen" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="41" EndPos="41" width="1" RecSegNo="1"/>
      <labl>
        If participant seen (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        470314
      </sumStat>
      <sumStat type="invd">
        29181
      </sumStat>
      <txt>
        If participant seen
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          160690
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Seen - first visit
        </labl>
        <catStat type="freq">
          124020
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Seen - second visit
        </labl>
        <catStat type="freq">
          2081
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          183523
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          29181
        </catStat>
      </catgry>
      <codInstr>
        variable: seen (table[s]: cen_individ, css_sei_all, crs_cenm)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V144" name="intdate_ind" files="F2" intrvl="discrete">
      <location StartPos="42" EndPos="51" width="10" RecSegNo="1"/>
      <labl>
        interview date (D)
      </labl>
      <sumStat type="vald">
        499495
      </sumStat>
      <txt>
        interview date
      </txt>
      <codInstr>
        <![CDATA[variable: intdate (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
variable: comdate (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="character" formatname="Nesstar.date" schema="other" category="date"/>
    </var>
    <var ID="V145" name="fschltype" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="52" EndPos="52" width="1" RecSegNo="1"/>
      <labl>
        Highest school type father attended (D)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        233958
      </sumStat>
      <sumStat type="invd">
        265537
      </sumStat>
      <txt>
        Highest school type father attended
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          3228
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Primary
        </labl>
        <catStat type="freq">
          136640
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Secondary
        </labl>
        <catStat type="freq">
          85625
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Tertiary
        </labl>
        <catStat type="freq">
          8465
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Higher
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          265537
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: fschltype (table[s]: css_sei_all)
variable: foeduc (table[s]: NCD_combined_data_all_final [derived table])


recode foeduc 0/1=0 2=1 3=2 4=3 8=., gen(fschltype)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V146" name="foeduc" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="53" EndPos="53" width="1" RecSegNo="1"/>
      <labl>
        Father's education level (S)
      </labl>
      <valrng>
        <range min="0" max="8"/>
      </valrng>
      <sumStat type="vald">
        13903
      </sumStat>
      <sumStat type="invd">
        485592
      </sumStat>
      <txt>
        Father's education level
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Illiterate
        </labl>
        <catStat type="freq">
          1135
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Literate and no formal education
        </labl>
        <catStat type="freq">
          163
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Up to primary school
        </labl>
        <catStat type="freq">
          6612
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Secondary school
        </labl>
        <catStat type="freq">
          3321
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Graduate or higher
        </labl>
        <catStat type="freq">
          610
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Don't know
        </labl>
        <catStat type="freq">
          2062
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          485592
        </catStat>
      </catgry>
      <codInstr>
        variable: foeduc (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V147" name="mschltype" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="54" EndPos="54" width="1" RecSegNo="1"/>
      <labl>
        Highest school type mother attended (D)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        242936
      </sumStat>
      <sumStat type="invd">
        256559
      </sumStat>
      <txt>
        Highest school type mother attended
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          7208
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Primary
        </labl>
        <catStat type="freq">
          190798
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Secondary
        </labl>
        <catStat type="freq">
          43331
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Tertiary
        </labl>
        <catStat type="freq">
          1599
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Higher
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          256559
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: mschltype (table[s]: css_sei_all)
variable: moeduc (table[s]: NCD_combined_data_all_final [derived table])

recode moeduc 0/1=0 2=1 3=2 4=3 8=., gen(mschltype)]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V148" name="moeduc" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="55" EndPos="55" width="1" RecSegNo="1"/>
      <labl>
        Mother's education level (S)
      </labl>
      <valrng>
        <range min="0" max="8"/>
      </valrng>
      <sumStat type="vald">
        13903
      </sumStat>
      <sumStat type="invd">
        485592
      </sumStat>
      <txt>
        Mother's education level
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Illiterate
        </labl>
        <catStat type="freq">
          2228
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Literate and no formal education
        </labl>
        <catStat type="freq">
          172
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Up to primary school
        </labl>
        <catStat type="freq">
          7956
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Secondary school
        </labl>
        <catStat type="freq">
          1298
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Graduate or higher
        </labl>
        <catStat type="freq">
          103
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Don't know
        </labl>
        <catStat type="freq">
          2146
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          485592
        </catStat>
      </catgry>
      <codInstr>
        variable: moeduc (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V149" name="schlever" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="56" EndPos="56" width="1" RecSegNo="1"/>
      <labl>
        Have you ever been to school? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        334158
      </sumStat>
      <sumStat type="invd">
        165337
      </sumStat>
      <txt>
        Have you ever been to school?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Never
        </labl>
        <catStat type="freq">
          26307
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Current
        </labl>
        <catStat type="freq">
          139316
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Ever
        </labl>
        <catStat type="freq">
          168535
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          165337
        </catStat>
      </catgry>
      <codInstr>
        variable: schlever (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V150" name="schltype" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="57" EndPos="57" width="1" RecSegNo="1"/>
      <labl>
        What is the highest level of education attended? (D)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        347908
      </sumStat>
      <sumStat type="invd">
        151587
      </sumStat>
      <txt>
        What is the highest level of education attended?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          26902
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Primary
        </labl>
        <catStat type="freq">
          245628
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Secondary
        </labl>
        <catStat type="freq">
          70928
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Tertiary
        </labl>
        <catStat type="freq">
          4450
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Higher
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          151587
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: schltype (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
variable: educat (table[s]: NCD_combined_data_all_final [derived table])


<to prepare NCD data:>
recode educat 0/1=0 2/4=1 5=2 6=3, gen(schltype)
<after all data are appended together:>
replace schltype=0 if schlever==0
replace schltype=1 if schlstd>4 & schlstd~=. /*assume those with school standard higher than 4 but school type is secondary are actually primary*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V151" name="educat" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="58" EndPos="58" width="1" RecSegNo="1"/>
      <labl>
        What is the highest level of education that you completed? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        13903
      </sumStat>
      <sumStat type="invd">
        485592
      </sumStat>
      <txt>
        What is the highest level of education that you completed?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Illiterate, no formal education
        </labl>
        <catStat type="freq">
          538
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Literate, no formal education
        </labl>
        <catStat type="freq">
          57
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Standard 1-5, illiterate
        </labl>
        <catStat type="freq">
          1011
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Standard 1-5, literate
        </labl>
        <catStat type="freq">
          993
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Standard 6-8
        </labl>
        <catStat type="freq">
          6520
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Secondary
        </labl>
        <catStat type="freq">
          4531
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Tertiary
        </labl>
        <catStat type="freq">
          253
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          485592
        </catStat>
      </catgry>
      <codInstr>
        variable: educat (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V152" name="edqual" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="59" EndPos="60" width="2" RecSegNo="1"/>
      <labl>
        What is the highest educational qualification acquired? (S)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <invalrng>
        <item VALUE="99"/>
      </invalrng>
      <sumStat type="vald">
        170813
      </sumStat>
      <sumStat type="invd">
        328682
      </sumStat>
      <txt>
        What is the highest educational qualification acquired?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          139569
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          PSLC
        </labl>
        <catStat type="freq">
          12992
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          JCE
        </labl>
        <catStat type="freq">
          12274
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          MSCE/GSCE
        </labl>
        <catStat type="freq">
          5234
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          A levels
        </labl>
        <catStat type="freq">
          93
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          University Diploma
        </labl>
        <catStat type="freq">
          154
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          University Degree
        </labl>
        <catStat type="freq">
          55
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Post-Graduate Degree
        </labl>
        <catStat type="freq">
          1
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          441
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          328682
        </catStat>
      </catgry>
      <codInstr>
        variable: edqual (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V153" name="school" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="61" EndPos="61" width="1" RecSegNo="1"/>
      <labl>
        Grouped school level completed (D)
      </labl>
      <valrng>
        <range min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        347931
      </sumStat>
      <sumStat type="invd">
        151564
      </sumStat>
      <txt>
        Grouped school level completed
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          None
        </labl>
        <catStat type="freq">
          26925
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          1-3y primary
        </labl>
        <catStat type="freq">
          82180
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          4-7y primary
        </labl>
        <catStat type="freq">
          104041
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Primary completed
        </labl>
        <catStat type="freq">
          59407
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          JCE completed
        </labl>
        <catStat type="freq">
          38327
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          MSCE completed
        </labl>
        <catStat type="freq">
          32553
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Tertiary
        </labl>
        <catStat type="freq">
          4498
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          151564
        </catStat>
      </catgry>
      <codInstr>
        recode schlstd (0=0 "None") (1/3=1 "1-3y primary") (4/7=2 "4-7y primary") (8=3 "Primary completed") (9/10=4 "JCE completed") (11/12=5 "MSCE completed") (13=6 "Tertiary"), gen(school)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V154" name="schlstd" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="62" EndPos="63" width="2" RecSegNo="1"/>
      <labl>
        Highest school standard completed (D)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <sumStat type="vald">
        347931
      </sumStat>
      <sumStat type="invd">
        151564
      </sumStat>
      <txt>
        Highest school standard completed
      </txt>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        <![CDATA[variable: schlstd (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
variable: schltype (table[s]: this dataset)

replace schlstd=1 if schlstd==. & (schltype==1 | schltype==2) /*assume that those reporting primary or secondary but no standard did just the first year (only a few people)*/
replace schlstd=0 if schlstd==. & (schltype==0 | edqual==0 | schlever==0) /*update school standard to 0 if reported no schooling elsewhere & schlstd is missing*/
replace schlstd=schlstd+8 if schltype==2 & schlstd~=. /*change the secondary standards to 9,10,11,12*/
replace schlstd=8 if schlstd==. & edqual==1 /*update schlstd to 8 if reported to have primary certificate*/
replace schlstd=10 if schlstd==. & edqual==2 /*update schlstd to 10 if reported to have junior certificate*/
replace schlstd=12 if schlstd==. & edqual==3 /*update schlstd to 12 if reported to have msce*/
replace schlstd=13 if (edqual>=4 & edqual~=. & edqual~=8 /*other*/) | schltype==3 /*update schlstd to 13 (tertiary) if reported to have qualification higher than msce*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V155" name="emp" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="64" EndPos="66" width="3" RecSegNo="1"/>
      <labl>
        Employment status (S)
      </labl>
      <valrng>
        <range min="0" max="999"/>
      </valrng>
      <invalrng>
        <item VALUE="999"/>
      </invalrng>
      <sumStat type="vald">
        248319
      </sumStat>
      <sumStat type="invd">
        251176
      </sumStat>
      <txt>
        Employment status
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Not applicable
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          Full-time educaton
        </labl>
        <catStat type="freq">
          73716
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          Unable to work
        </labl>
        <catStat type="freq">
          3200
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          Retired
        </labl>
        <catStat type="freq">
          2069
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          Looking for work
        </labl>
        <catStat type="freq">
          679
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          19
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          135
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          20
        </catValu>
        <labl>
          Housework
        </labl>
        <catStat type="freq">
          4485
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          30
        </catValu>
        <labl>
          Employer no sub-category
        </labl>
        <catStat type="freq">
          45
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          31
        </catValu>
        <labl>
          Runs own business
        </labl>
        <catStat type="freq">
          567
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          33
        </catValu>
        <labl>
          ????
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          41
        </catValu>
        <labl>
          In cash economy
        </labl>
        <catStat type="freq">
          20026
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          42
        </catValu>
        <labl>
          Subsistence economy
        </labl>
        <catStat type="freq">
          127989
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          49
        </catValu>
        <labl>
          Own account don't know payment
        </labl>
        <catStat type="freq">
          373
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          51
        </catValu>
        <labl>
          Salary (monthly)
        </labl>
        <catStat type="freq">
          11149
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          52
        </catValu>
        <labl>
          Wage (weekly)
        </labl>
        <catStat type="freq">
          371
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          53
        </catValu>
        <labl>
          Casual or piecework
        </labl>
        <catStat type="freq">
          2888
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          54
        </catValu>
        <labl>
          Unpaid worker
        </labl>
        <catStat type="freq">
          279
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          59
        </catValu>
        <labl>
          Employee don't know payment
        </labl>
        <catStat type="freq">
          140
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          99
        </catValu>
        <labl>
          No information
        </labl>
        <catStat type="freq">
          208
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          998
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          999
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          251176
        </catStat>
      </catgry>
      <codInstr>
        variable: emp (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V156" name="occ" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="67" EndPos="68" width="2" RecSegNo="1"/>
      <labl>
        Occupation (S)
      </labl>
      <valrng>
        <range min="0" max="99"/>
      </valrng>
      <invalrng>
        <item VALUE="99"/>
      </invalrng>
      <sumStat type="vald">
        332537
      </sumStat>
      <sumStat type="invd">
        166958
      </sumStat>
      <txt>
        Occupation
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Not working
        </labl>
        <catStat type="freq">
          167397
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          Teachers, nurses, clergy, writers
        </labl>
        <catStat type="freq">
          73
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          Teachers
        </labl>
        <catStat type="freq">
          2675
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          Health professionals
        </labl>
        <catStat type="freq">
          490
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          Clergy
        </labl>
        <catStat type="freq">
          341
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          19
        </catValu>
        <labl>
          Other professionals
        </labl>
        <catStat type="freq">
          180
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          22
        </catValu>
        <labl>
          Managing small family business
        </labl>
        <catStat type="freq">
          1
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          23
        </catValu>
        <labl>
          Management in large organisations
        </labl>
        <catStat type="freq">
          516
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          24
        </catValu>
        <labl>
          Small family business
        </labl>
        <catStat type="freq">
          8716
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          25
        </catValu>
        <labl>
          Commercial farmer
        </labl>
        <catStat type="freq">
          32
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          26
        </catValu>
        <labl>
          Traditional authority
        </labl>
        <catStat type="freq">
          139
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          30
        </catValu>
        <labl>
          Small trader/store keeper
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          31
        </catValu>
        <labl>
          Desk, shop or official outdoor jobs
        </labl>
        <catStat type="freq">
          130
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          32
        </catValu>
        <labl>
          Small trader/store
        </labl>
        <catStat type="freq">
          2572
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          33
        </catValu>
        <labl>
          Office worker
        </labl>
        <catStat type="freq">
          619
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          34
        </catValu>
        <labl>
          Barman/girl, waiter
        </labl>
        <catStat type="freq">
          224
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          35
        </catValu>
        <labl>
          Sales assistant
        </labl>
        <catStat type="freq">
          394
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          36
        </catValu>
        <labl>
          Army/police
        </labl>
        <catStat type="freq">
          345
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          37
        </catValu>
        <labl>
          Clinical assistants
        </labl>
        <catStat type="freq">
          914
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          39
        </catValu>
        <labl>
          Other non-manual
        </labl>
        <catStat type="freq">
          352
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          41
        </catValu>
        <labl>
          Modern skills
        </labl>
        <catStat type="freq">
          67
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          42
        </catValu>
        <labl>
          Traditional craft
        </labl>
        <catStat type="freq">
          28
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          43
        </catValu>
        <labl>
          Crafts and related skills
        </labl>
        <catStat type="freq">
          5107
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          44
        </catValu>
        <labl>
          Driver/assistant driver
        </labl>
        <catStat type="freq">
          857
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          45
        </catValu>
        <labl>
          African Doctor/herbalist
        </labl>
        <catStat type="freq">
          320
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          49
        </catValu>
        <labl>
          Other skilled manual
        </labl>
        <catStat type="freq">
          712
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          51
        </catValu>
        <labl>
          Agriculture
        </labl>
        <catStat type="freq">
          3001
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          52
        </catValu>
        <labl>
          Other manual work
        </labl>
        <catStat type="freq">
          336
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          53
        </catValu>
        <labl>
          Subsistence farmer
        </labl>
        <catStat type="freq">
          125737
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          54
        </catValu>
        <labl>
          Herdsman
        </labl>
        <catStat type="freq">
          144
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          55
        </catValu>
        <labl>
          Fisherman
        </labl>
        <catStat type="freq">
          5252
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          56
        </catValu>
        <labl>
          Labourer
        </labl>
        <catStat type="freq">
          2636
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          57
        </catValu>
        <labl>
          Security guard/watchman
        </labl>
        <catStat type="freq">
          1462
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          58
        </catValu>
        <labl>
          House boy/girl
        </labl>
        <catStat type="freq">
          318
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          59
        </catValu>
        <labl>
          Other unskilled manual
        </labl>
        <catStat type="freq">
          450
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          98
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          99
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          166958
        </catStat>
      </catgry>
      <codInstr>
        variable: occ (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V157" name="occind" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="69" EndPos="70" width="2" RecSegNo="1"/>
      <labl>
        Grouped occupation (D)
      </labl>
      <valrng>
        <range min="0" max="11"/>
      </valrng>
      <sumStat type="vald">
        332537
      </sumStat>
      <sumStat type="invd">
        166958
      </sumStat>
      <txt>
        Grouped occupation
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          Not working
        </labl>
        <catStat type="freq">
          167397
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          student
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          unskilled manual (irr wage)
        </labl>
        <catStat type="freq">
          2585
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          farmer
        </labl>
        <catStat type="freq">
          125881
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          fisherman
        </labl>
        <catStat type="freq">
          5252
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          skilled manual (irr wage)
        </labl>
        <catStat type="freq">
          8194
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          non-manual (irr wage)
        </labl>
        <catStat type="freq">
          243
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          small trader/business
        </labl>
        <catStat type="freq">
          2572
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          unskilled manual (reg wage)
        </labl>
        <catStat type="freq">
          2617
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          skilled manual (reg wage)
        </labl>
        <catStat type="freq">
          1831
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          non-manual (reg wage)
        </labl>
        <catStat type="freq">
          924
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          professional
        </labl>
        <catStat type="freq">
          15041
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          166958
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: emp (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])
variable: occ (table[s]: cen_individ, crs_cenm, css_sei_all, combined_tb_cases_controls_final [derived table])

label define oc 0 "Not working" 1 "student" 2 "unskilled manual (irr wage)" 3 "farmer" 4 "fisherman" 5 "skilled manual (irr wage)" 6 "non-manual (irr wage)" 7 "small trader/business" 8 "unskilled manual (reg wage)" 9 "skilled manual (reg wage)" 10 "non-manual (reg wage)" 11 "professional"
recode occ 11/24=11 24=7 25/26=11 31=6 32=7 33=11 34/35=6 36/37=11 39/41=6 42/51=5 52=2 53/54=3 55=4 56/59=2 99=., gen(occind)
replace occind=8 if occind==2 & (emp==51 | emp==52)
replace occind=9 if occind==5 & (emp==51 | emp==52)
replace occind=10 if occind==6 & (emp==51 | emp==52)
label values occind oc]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V158" name="empscore" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="71" EndPos="71" width="1" RecSegNo="1"/>
      <labl>
        Score of individual's employment (D)
      </labl>
      <valrng>
        <range min="1" max="3"/>
      </valrng>
      <sumStat type="vald">
        346440
      </sumStat>
      <sumStat type="invd">
        153055
      </sumStat>
      <txt>
        Score of individual's employment
      </txt>
      <codInstr>
        <![CDATA[variable: occind (table[s]: this dataset)
variable: incrank (table[s]: NCD_combined_data_all_final [derived table])

recode occind 0/2=1 3/6=2 7/11=3, gen(empscore)
replace empscore=incrank_ncd if empscore==.]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V159" name="work" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="72" EndPos="73" width="2" RecSegNo="1"/>
      <labl>
        main work status in the past 12 months? (S)
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        13903
      </sumStat>
      <sumStat type="invd">
        485592
      </sumStat>
      <txt>
        main work status in the past 12 months?
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Government employee
        </labl>
        <catStat type="freq">
          352
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Employee non govt
        </labl>
        <catStat type="freq">
          371
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Subsistence farmer/fisherman
        </labl>
        <catStat type="freq">
          8658
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Self employed
        </labl>
        <catStat type="freq">
          1896
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Student
        </labl>
        <catStat type="freq">
          1062
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          At home housework
        </labl>
        <catStat type="freq">
          838
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Unemployed able to work
        </labl>
        <catStat type="freq">
          96
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unemployed unable to work
        </labl>
        <catStat type="freq">
          280
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Retired
        </labl>
        <catStat type="freq">
          125
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          225
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          485592
        </catStat>
      </catgry>
      <codInstr>
        variable: work (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V160" name="moincom" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="74" EndPos="80" width="7" RecSegNo="1"/>
      <labl>
        last year what was your average monthly take home earning per month? (S)
      </labl>
      <valrng>
        <range min="0" max="9999999"/>
      </valrng>
      <sumStat type="vald">
        13891
      </sumStat>
      <sumStat type="invd">
        485604
      </sumStat>
      <txt>
        last year what was your average monthly take home earning per month?
      </txt>
      <catgry>
        <catValu>
          9999998
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9999999
        </catValu>
        <labl>
          Missing
        </labl>
      </catgry>
      <codInstr>
        variable: moincom (table[s]: NCD_combined_data_all_final [derived table])
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V161" name="incscoreind" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="81" EndPos="82" width="2" RecSegNo="1"/>
      <labl>
        <![CDATA[Average household income score  (D)]]>
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        13891
      </sumStat>
      <sumStat type="invd">
        485604
      </sumStat>
      <txt>
        <![CDATA[Average household income score  (divided into deciles, compared to the rest of the population)]]>
      </txt>
      <codInstr>
        <![CDATA[variable: moincom (table[s]: NCD_combined_data_all_final [derived table])


xtile incscoreind=moinc, nq(10) /*score is created by splitting the population into deciles*/]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V162" name="mobilehh" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="83" EndPos="83" width="1" RecSegNo="1"/>
      <labl>
        <![CDATA[Do you have access to a working mobile phone in your household?    (S)]]>
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        123594
      </sumStat>
      <sumStat type="invd">
        375901
      </sumStat>
      <txt>
        Do you have access to a working mobile phone in your household?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          48508
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          75086
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          375901
        </catStat>
      </catgry>
      <codInstr>
        <![CDATA[variable: mobilehh (table[s]: css_sei_all)
variable: mobile (table[s]: NCD_combined_data_all_final [derived table])]]>
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V163" name="mobileowner" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="84" EndPos="84" width="1" RecSegNo="1"/>
      <labl>
        If yes, whose phone is it? (S)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        65602
      </sumStat>
      <sumStat type="invd">
        433893
      </sumStat>
      <txt>
        If yes, whose phone is it?
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Own
        </labl>
        <catStat type="freq">
          45635
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Spouse
        </labl>
        <catStat type="freq">
          10427
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Parent
        </labl>
        <catStat type="freq">
          4514
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Sibling
        </labl>
        <catStat type="freq">
          1020
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Relative
        </labl>
        <catStat type="freq">
          3446
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          Visitor
        </labl>
        <catStat type="freq">
          85
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Child
        </labl>
        <catStat type="freq">
          302
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Other
        </labl>
        <catStat type="freq">
          173
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          433893
        </catStat>
      </catgry>
      <codInstr>
        variable: mobileowner (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V164" name="mobileind" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="85" EndPos="85" width="1" RecSegNo="1"/>
      <labl>
        Do you have a working mobile phone for your personal use? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        101862
      </sumStat>
      <sumStat type="invd">
        397633
      </sumStat>
      <txt>
        Do you have a working mobile phone for your personal use [not used by anyone else]?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          82890
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          18972
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          397633
        </catStat>
      </catgry>
      <codInstr>
        variable: mobileind (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V165" name="mobileshare" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="86" EndPos="86" width="1" RecSegNo="1"/>
      <labl>
        If no, who do you share with? (S)
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        81495
      </sumStat>
      <sumStat type="invd">
        418000
      </sumStat>
      <txt>
        If no, who do you share with?
      </txt>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          No, personal phone
        </labl>
        <catStat type="freq">
          51898
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Share phone with others in household
        </labl>
        <catStat type="freq">
          28231
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Share with others outside household
        </labl>
        <catStat type="freq">
          1366
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          418000
        </catStat>
      </catgry>
      <codInstr>
        variable: mobileshare (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V166" name="watch" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="87" EndPos="87" width="1" RecSegNo="1"/>
      <labl>
        Do you have a working watch? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        3575
      </sumStat>
      <sumStat type="invd">
        495920
      </sumStat>
      <txt>
        Do you have a working watch?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          3021
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          554
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          495920
        </catStat>
      </catgry>
      <codInstr>
        variable: watch (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V167" name="clothexp" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="88" EndPos="88" width="1" RecSegNo="1"/>
      <labl>
        Over the last 12 months, how much money has been spent on clothing for you? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        62150
      </sumStat>
      <sumStat type="invd">
        437345
      </sumStat>
      <txt>
        Over the last 12 months, how much money has been spent on clothing for you?
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          K 0
        </labl>
        <catStat type="freq">
          6012
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          K 1-500
        </labl>
        <catStat type="freq">
          4532
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          K 501-1000
        </labl>
        <catStat type="freq">
          12273
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          K 1001-2000
        </labl>
        <catStat type="freq">
          17339
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          K 2001-5000
        </labl>
        <catStat type="freq">
          15204
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          K 5001-10000
        </labl>
        <catStat type="freq">
          4969
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          K &gt;10000
        </labl>
        <catStat type="freq">
          1821
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          437345
        </catStat>
      </catgry>
      <codInstr>
        variable: clothexp (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V168" name="shoesexp" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="89" EndPos="89" width="1" RecSegNo="1"/>
      <labl>
        Over the last 12 months, how much money has been spent on footwear for you? (S)
      </labl>
      <valrng>
        <range min="0" max="9"/>
      </valrng>
      <invalrng>
        <item VALUE="9"/>
      </invalrng>
      <sumStat type="vald">
        62460
      </sumStat>
      <sumStat type="invd">
        437035
      </sumStat>
      <txt>
        Over the last 12 months, how much money has been spent on footwear for you? (incl. slippers)
      </txt>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          K 0
        </labl>
        <catStat type="freq">
          8735
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          K 1-500
        </labl>
        <catStat type="freq">
          9939
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          K 501-1000
        </labl>
        <catStat type="freq">
          14247
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          K 1001-2000
        </labl>
        <catStat type="freq">
          14840
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          K 2001-5000
        </labl>
        <catStat type="freq">
          9284
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          K 5001-10000
        </labl>
        <catStat type="freq">
          4342
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          K &gt;10000
        </labl>
        <catStat type="freq">
          1073
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          9
        </catValu>
        <labl>
          Missing
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          437035
        </catStat>
      </catgry>
      <codInstr>
        variable: shoesexp (table[s]: css_sei_all)
      </codInstr>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V169" name="ghhid" files="F2" intrvl="discrete">
      <location StartPos="90" EndPos="94" width="5" RecSegNo="1"/>
      <labl>
        Household id (D)
      </labl>
      <sumStat type="vald">
        472679
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        Household id
      </txt>
      <codInstr>
        variable: ghhid (table[s]: cen_individ, crs_cenm, css_sei_all)
      </codInstr>
      <varFormat type="character" schema="other"/>
    </var>
  </dataDscr>
</codeBook>
