<?xml version="1.0" encoding="UTF-8"?>
<codeBook version="2.5" ID="zaf-df-ohs-ghs-cew-1995-2011-v1" xml-lang="en" xmlns="ddi:codebook:2_5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ddi:codebook:2_5 https://ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd">
<docDscr>
  <citation>
    <titlStmt>
      <IDNo></IDNo>
      <titl>zaf-df-ohs-ghs-cew-1995-2011-v1</titl>
    </titlStmt>
    <prodStmt>
      <producer abbr="" affiliation="University of Cape Town" role="Metadata producer">DataFirst</producer>
      <prodDate date="2022-02-14">2022-02-14</prodDate>
      <software version="v5">NADA</software>
    </prodStmt>
    <verStmt>
      <version>Version 2</version>
    </verStmt>
  </citation>
</docDscr>
<stdyDscr>
  <citation>
    <titlStmt>
      <titl>OHS-GHS Cross Entropy Weights 1995-2011</titl>
      <subTitl/>
      <altTitl/>
      <parTitl/>
      <IDNo>zaf-df-ohs-ghs-cew-1995-2011-v1</IDNo>
    </titlStmt>
    <rspStmt>
      <AuthEnty affiliation="University of Cape Town">Amy Thornton</AuthEnty>
      <AuthEnty affiliation="University of Cape Town">Martin Wittenberg</AuthEnty>
    </rspStmt>
    <prodStmt>
      <producer abbr="" affiliation="Government of South Africa" role="Producer of the original data">Statistics South Africa</producer>
      <copyright/>
      <software version="beta" date="2026-06-15">MetadataEditor</software>
      <prodDate/>
      <prodPlac/>
    </prodStmt>
    <distStmt>
      <contact affiliation="" URI="http://www.support.data1st.org/helpdesk" email="support@data1st.org">DataFirst Helpdesk</contact>
      <depDate date=""/>
      <distDate date=""/>
    </distStmt>
    <serStmt>
      <serName>Household Survey [hh]</serName>
      <serInfo><![CDATA[]]></serInfo>
    </serStmt>
    <verStmt>
      <version date="2022-02-10">Version 1: Edited, anonymised dataset for public distribution</version>
      <verResp/>
      <notes><![CDATA[]]></notes>
    </verStmt>
    <biblCit format=""><![CDATA[]]></biblCit>
    <notes><![CDATA[]]></notes>
  </citation>
  <studyAuthorization date="">
    <authorizationStatement><![CDATA[]]></authorizationStatement>
  </studyAuthorization>
  <stdyInfo>
    <studyBudget><![CDATA[]]></studyBudget>
    <subject>
                  
                  
    </subject>
    <abstract><![CDATA[The OHS-GHS CEW series consists of a set of survey weights constructed by Amy Thornton and Martin Wittenberg for the OHSs 1995-1999 and GHSs 2002-2011. The weights were constructed in order to address known weaknesses with the weights in the StatsSA public releases of the same datasets.]]></abstract>
    <sumDscr>
      <collDate date="1995" event="start" cycle="CEW Series"/>
      <collDate date="2011" event="end" cycle="CEW Series"/>
      <nation abbr="zaf">South Africa</nation>
      <geogCover>The OHS and GHS had national coverage</geogCover>
      <geogCoverNote/>
      <geogUnit/>
      <anlyUnit><![CDATA[Households and individuals]]></anlyUnit>
      <universe><![CDATA[]]></universe>
      <dataKind>Survey Weights</dataKind>
    </sumDscr>
    <qualityStatement>
      <standardsCompliance>
        <complianceDescription/>
      </standardsCompliance>
      <otherQualityStatement/>
    </qualityStatement>
    <notes><![CDATA[]]></notes>
    <exPostEvaluation completionDate="" type="">
      <evaluationProcess/>
      <outcomes/>
    </exPostEvaluation>
  </stdyInfo>
  <method>
    <dataColl>
      <timeMeth/>
      <frequenc/>
      <sampProc><![CDATA[]]></sampProc>
      <sampleFrame>
        <sampleFrameName/>
        <custodian/>
        <universe/>
        <frameUnit isPrimary="">
          <unitType numberOfUnits=""/>
        </frameUnit>
        <updateProcedure/>
      </sampleFrame>
      <deviat/>
      <collMode>Other [oth]</collMode>
      <resInstru><![CDATA[]]></resInstru>
      <instrumentDevelopment type=""/>
      <collSitu><![CDATA[]]></collSitu>
      <actMin><![CDATA[]]></actMin>
      <ConOps><![CDATA[]]></ConOps>
      <weight><![CDATA[]]></weight>
      <cleanOps><![CDATA[]]></cleanOps>
    </dataColl>
    <notes><![CDATA[]]></notes>
    <anlyInfo>
      <respRate><![CDATA[]]></respRate>
      <EstSmpErr><![CDATA[]]></EstSmpErr>
      <dataAppr><![CDATA[]]></dataAppr>
    </anlyInfo>
    <stdyClas><![CDATA[]]></stdyClas>
  </method>
  <dataAccs>
    <setAvail>
      <accsPlac URI=""/>
      <origArch/>
      <avlStatus/>
      <collSize/>
      <complete/>
      <fileQnty/>
      <notes><![CDATA[]]></notes>
    </setAvail>
    <useStmt>
      <restrctn/>
      <citReq><![CDATA[Thornton, A. and Wittenberg, M. OHS-GHS Cross Entropy Weights 1995-2011 [dataset]. Version 1. Cape Town: DataFirst [producer and distributor], 2022. DOI: https://doi.org/10.25828/0z05-cn37]]></citReq>
      <deposReq><![CDATA[]]></deposReq>
      <conditions><![CDATA[Public access data, available to all]]></conditions>
      <disclaimer><![CDATA[]]></disclaimer>
    </useStmt>
    <notes><![CDATA[]]></notes>
  </dataAccs>
  <notes><![CDATA[]]></notes>
</stdyDscr>
<fileDscr ID="F2">
  <fileTxt>
    <fileName>ohs-ghs-cew-1995-2011-v1</fileName>
    <fileCont></fileCont>
    <dimensns>
      <caseQnty>384970</caseQnty>
      <varQnty>3</varQnty>
    </dimensns>
    <dataChck></dataChck>
    <dataMsng></dataMsng>
    <verStmt>
      <version></version>
    </verStmt>
  </fileTxt>
  <notes></notes>
</fileDscr>
<dataDscr>
<var ID="V7" name="year" files="F2" intrvl="discrete">
  <varFormat type="numeric"/>
  <location StartPos="1" EndPos="4" width="4" RecSegNo="1"/>
  <labl>Year of survey</labl>
  <sumStat type="vald">384970</sumStat>
  <sumStat type="invd"/>
  <catgry>
    <catValu>1995</catValu>
    <catStat type="vald"/>
  </catgry>
  <catgry>
    <catValu>1996</catValu>
    <catStat type="invd"/>
  </catgry>
  <catgry>
    <catValu>1997</catValu>
  </catgry>
  <catgry>
    <catValu>1998</catValu>
  </catgry>
  <catgry>
    <catValu>1999</catValu>
  </catgry>
  <catgry>
    <catValu>2002</catValu>
  </catgry>
  <catgry>
    <catValu>2003</catValu>
  </catgry>
  <catgry>
    <catValu>2004</catValu>
  </catgry>
  <catgry>
    <catValu>2005</catValu>
  </catgry>
  <catgry>
    <catValu>2006</catValu>
  </catgry>
  <catgry>
    <catValu>2007</catValu>
  </catgry>
  <catgry>
    <catValu>2008</catValu>
  </catgry>
  <catgry>
    <catValu>2009</catValu>
  </catgry>
  <catgry>
    <catValu>2010</catValu>
  </catgry>
  <catgry>
    <catValu>2011</catValu>
  </catgry>
</var>
<var ID="V8" name="cewgt" files="F2" intrvl="contin">
  <varFormat type="numeric"/>
  <location StartPos="5" EndPos="17" width="13" RecSegNo="1"/>
  <labl>Cross-entropy weight v4.3</labl>
  <sumStat type="vald">384922</sumStat>
  <sumStat type="invd">48</sumStat>
  <sumStat type="min"/>
  <sumStat type="max">67827.336</sumStat>
  <sumStat type="mean">471.261</sumStat>
  <sumStat type="stdev">555.625</sumStat>
</var>
<var ID="V9" name="hhid" files="F2" intrvl="discrete">
  <varFormat type="character"/>
  <location StartPos="18" EndPos="35" width="18" RecSegNo="1"/>
  <labl>Original StatsSA HHID</labl>
  <sumStat type="vald">384970</sumStat>
  <sumStat type="invd"/>
</var>
</dataDscr></codeBook>
