<?xml version='1.0' encoding='UTF-8'?>
<codeBook version="1.2.2" ID="zar-umkhanyakude-alpha-him-2002-2017-v1" 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>
          ALPHA HIV Incidence and Mortality data, uMkhanyakude, South Africa
        </titl>
        <IDNo>
          zar-umkhanyakude-alpha-him-2002-2017-v1
        </IDNo>
      </titlStmt>
      <prodStmt>
        <producer abbr="AHRI" role="Metadata creator">
          Africa Health Research Institute
        </producer>
        <producer abbr="ALPHA" affiliation="London School of Hygiene and Tropical Medicine" role="Metadata creator">
          Network for Analysing Longitudinal Population HIV/ AIDS data on Africa
        </producer>
        <software version="4.0.9" date="2013-04-23">
          Nesstar Publisher
        </software>
      </prodStmt>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl>
          ALPHA HIV Incidence and Mortality data, uMkhanyakude, South Africa
        </titl>
        <IDNo>
          zar-umkhanyakude-alpha-him-2002-2017-v1
        </IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty>
          Africa Health Research Institute
        </AuthEnty>
        <AuthEnty affiliation="London School of Hygiene and Tropical Medicine">
          Network for Analysing Longitudinal Population HIV/ AIDS data on Africa
        </AuthEnty>
        <othId role="Director of Population Science" affiliation="AHRI">
          <p>
            Dr Kobus Herbst
          </p>
        </othId>
        <othId role="Data Scientist" affiliation="AHRI">
          <p>
            Dickman Gareta
          </p>
        </othId>
      </rspStmt>
      <prodStmt>
        <software version="4.0.9" date="2013-04-23">
          Nesstar Publisher
        </software>
        <fundAg>
          Wellcome Trust
        </fundAg>
        <fundAg>
          Bill and Melinda Gates Foundation
        </fundAg>
      </prodStmt>
      <verStmt>
        <version>
          Version 1: Edited, anonymised data available with restrictions
        </version>
      </verStmt>
    </citation>
    <stdyInfo>
      <subject>
        <keyword vocabURI="https://alpha.lshtm.ac.uk">
          ALPHA Network Dataset
        </keyword>
      </subject>
      <abstract>
        <![CDATA[This dataset is created from harmonising longitudinal population-based demographic surveillance and repeated serological survey data collected by Umkhanyakude study, South Africa. The data harmonisation is coordinated by the ALPHA Network which curates individual-level data on demographic surveillance, verbal autopsy interviews, serological and sexual behaviour surveys, and individually-linked data from HDSS and medical facilities.

The data from the Umkhanyakude site in South Africa include two data files:

HIV incidence data  data file:
This data file includes data on resident study participants aged 15-49 who have had one negative HIV test and at least one subsequent HIV test done within the study for research purposes. Data may be split into multiple observations for each person to describe time spent in different residencies, different age groups and different calendar year periods.
All timings are given as age at event, instead of the dates.  Dates of birth were rounded to the 15th of the month, and all other dates were offset by the same amount and the time elapsed between the rounded dates is used as the age at event.
To enable multiple imputation of seroconversion dates we have provided the times (ages) of last negative test and first positive test.


Mortality  data
This datas file was created as described here (https://gatesopenresearch.org/articles/1-4)]]>
      </abstract>
      <sumDscr>
        <collDate date="2000-01-01" event="start" cycle="Mortality data"/>
        <collDate date="2017-12-31" event="end" cycle="Mortality data"/>
        <collDate date="2005-04-10" event="start" cycle="Incidence data"/>
        <collDate date="2017-02-19" event="end" cycle="Incidence data"/>
        <nation abbr="zar">
          South Africa
        </nation>
        <geogCover>
          The data covers the Umkhanyakude study area in Kwazulu Natal, south Africa
        </geogCover>
        <anlyUnit>
          Individuals
        </anlyUnit>
        <dataKind>
          Event History Data
        </dataKind>
      </sumDscr>
    </stdyInfo>
    <dataAccs>
      <useStmt>
        <citReq>
          Herbst, K. et al. (2022) "ALPHA HIV Incidence and Mortality data, uMkhanyakude, South Africa." Africa Health Research Institute. doi: 10.23664/ZAR-UMKHANYAKUDE-ALPHA-HIM-2002-2017.
        </citReq>
        <conditions>
          Licensed access data, available under conditions
        </conditions>
      </useStmt>
    </dataAccs>
  </stdyDscr>
  <fileDscr ID="F1" URI="ALPHA mortality and incidence uMkhanyakudeDF.Nesstar?Index=0&amp;Name=mortality_uMkhanyakude">
    <fileTxt>
      <fileName>
        mortality_uMkhanyakude.NSDstat
      </fileName>
      <dimensns>
        <caseQnty>
          367505
        </caseQnty>
        <varQnty>
          14
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
    </fileTxt>
    <notes>
      <![CDATA[Kisesa J:/ALPHA\data/Kisesa/ALPHA6_spec1_Kisesa.dta  saved 18 Jul 2018 17:08
sero4clean was last created on 12:09:16 22 Mar 2007
21 March 2007 created two new variables orig_studynr4 and orig_id4 added
21 March 2007 retained extra variables q4list other_activ other_places
end of sero4clean.do notes
sero123link was last created on 12:09:11 22 Mar 2007
21 March 2007 created new variables orig_studynr3, orig_id3, orig_studynr2, orig_id2, orig_studynr1 orig_id1 to keep all infomation on identifiers before they were changed during cleaning
this change was made replace id3= 220102701 if studynr== 21818
end of notes from weakserolink.do
last created on 12:04:58 22 Mar 2007
last created on 12:04:59 22 Mar 2007
extra variables about marriage have been retained spouline14 wifekijiji14 husbandkijiji14 living14 married14
demrnd14 was last created on 12:04:59 22 Mar 2007
extra variables about migration have been retained xlalanje16 xsablala16 xlalawapi16 xhamalini16 xsabhama16 xhamasab16 xhamawapi16 xaliklala16 xalikhama16 xaliktokea16
demrnd15 was last created on 12:05:01 22 Mar 2007
extra variables about migration have been retained xlalanje16 xsablala16 xlalawapi16 xhamalini16 xsabhama16 xhamasab16 hamawapi16 aliklala16 alikhama16 aliktokea16
the wapi variable has been recoded (replace wapi16=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd16 was last created on 12:05:03 22 Mar 2007
extra variables about migration have been retained xlalanje17 xsablala17 xlalawapi17 xhamalini17 xsabhama17 xhamasab17 hamawapi17 aliklala17 alikhama17 aliktokea17
the wapi variable has been recoded (replace wapi17=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd17 last created on 12:05:05 22 Mar 2007
extra variables about migration have been retained xlalanje18 xsablala18 xlalawapi18 xhamalini18 xsabhama18 xhamasab18 hamawapi18 aliklala18 alikhama18 aliktokea18
the wapi variable has been recoded (replace wapi18=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd18 was last created on 12:05:06 22 Mar 2007
extra variables about migration have been retained xlalanje19 xsablala19 xlalawapi19 xhamalini19 xsabhama19 xhamasab19 hamawapi19 aliklala19 alikhama19 aliktokea19
extra variables about schools has been added wilaya kata schoolname schoolcode
the wapi variable has been recoded (replace wapi19=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd19 was last created on 12:05:09 22 Mar 2007
link0119 was last created on 12:08:59 22 Mar 2007
end of notes from linkrnds.do
sero1234link was last created on 12:09:23 22 Mar 2007
end of notes from weaksero1234.do
remember kij2sero3 is a file for sero3 kijiji2
last created on 10:21:08 26 Mar 2007
last created on 10:21:09 26 Mar 2007
demrnd14 was last created on 10:21:10 26 Mar 2007
demrnd15 was last created on 10:21:11 26 Mar 2007
demrnd16 was last created on 10:21:13 26 Mar 2007
demrnd17 last created on 10:21:14 26 Mar 2007
demrnd18 was last created on 10:21:16 26 Mar 2007
demrnd19 was last created on 10:21:18 26 Mar 2007
link0119 was last created on 10:31:54 26 Mar 2007
Created at 10:16:45 on  7 Oct 2009
Created at 17:30:56 on 19 Mar 2008
Created at 15:10:21 on 16 Mar 2009
merged sero12345 and demogr1to24 files
Kisesa J:/ALPHA\data/Kisesa/ALPHA6_spec2b_Kisesa.dta  saved 18 Jul 2018 17:08
Manicaland J:/ALPHA\data/Manicaland/ALPHA6_spec1_Manicaland.dta  saved
Manicaland J:/ALPHA\data/Manicaland/ALPHA6_spec2b_Manicaland.dta  saved
Masaka J:/ALPHA\data/Masaka/ALPHA6_spec1_Masaka.dta  saved 10 Sep 2018 12:53
Masaka J:/ALPHA\data/Masaka/ALPHA6_spec2b_Masaka.dta  saved 12 Feb 2018 12:13
Ifakara J:/ALPHA\data/Ifakara/ALPHA6_spec1_Ifakara.dta  saved 11 Apr 2016 22:57
Ifakara J:/ALPHA\data/Ifakara/ALPHA6_spec2b_Ifakara.dta  saved 15 Apr 2016 11:31
Karonga J:/ALPHA\data/Karonga/ALPHA6_spec1_Karonga.dta  saved 12 Jan 2018 11:49
Karonga J:/ALPHA\data/Karonga/ALPHA6_spec2b_Karonga.dta  saved 12 Jan 2018 11:49
Rakai J:/ALPHA\data/Rakai/ALPHA6_spec1_Rakai.dta  saved  4 Jul 2018 16:43
Rakai c:/emma/ALPHA\data/Rakai/ALPHA6_spec2b_Rakai.dta  saved 26 Jun 2018 13:01
uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec1_uMkhanyakude.dta  saved 23 Nov 2018 15:50
uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec2b_uMkhanyakude.dta  saved 11 Jul 2018 08:36
Agincourt J:/ALPHA\data/Agincourt/ALPHA6_spec1_Agincourt.dta  saved 12 Apr 2016 15:59
Agincourt J:/ALPHA\data/Agincourt/ALPHA6_spec2b_Agincourt.dta  saved 12 Apr 2016 15:59]]>
    </notes>
  </fileDscr>
  <fileDscr ID="F2" URI="ALPHA mortality and incidence uMkhanyakudeDF.Nesstar?Index=1&amp;Name=incidence_uMkhanyakude">
    <fileTxt>
      <fileName>
        incidence_uMkhanyakude.NSDstat
      </fileName>
      <dimensns>
        <caseQnty>
          59996
        </caseQnty>
        <varQnty>
          15
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
    </fileTxt>
    <notes>
      <![CDATA[uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec1_uMkhanyakude.dta  saved 23 Nov 2018 15:50
uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec2b_uMkhanyakude.dta  saved 11 Jul 2018 08:36]]>
    </notes>
  </fileDscr>
  <dataDscr>
    <var ID="V1" name="study_name" files="F1" dcml="0" intrvl="discrete">
      <location width="12"/>
      <labl>
        Study name
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Karonga
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Kisesa
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Manicaland
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Masaka
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Rakai
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          uMkhanyakude
        </labl>
        <catStat type="freq">
          367505
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Agincourt
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Kisumu
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Ifakara
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Nairobi
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V2" name="idno" files="F1" dcml="0" intrvl="contin">
      <location width="9"/>
      <labl>
        Participant ID number
      </labl>
      <valrng>
        <range min="210170" max="301565"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        210170
      </sumStat>
      <sumStat type="max">
        301565
      </sumStat>
      <sumStat type="mean">
        251606.32
      </sumStat>
      <sumStat type="stdev">
        25250.931
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V3" name="sex" files="F1" dcml="0" intrvl="discrete">
      <location width="8"/>
      <labl>
        Sex
      </labl>
      <valrng>
        <range min="1" max="2"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Men
        </labl>
        <catStat type="freq">
          161374
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Women
        </labl>
        <catStat type="freq">
          206131
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V4" name="fouryear" files="F1" dcml="0" intrvl="discrete">
      <location width="13"/>
      <labl>
        Calendar year, grouped in 4 years post 2005
      </labl>
      <valrng>
        <range min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          earliest-1999
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          2000-04
        </labl>
        <catStat type="freq">
          97701
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          2005-08
        </labl>
        <catStat type="freq">
          89551
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          2009-12
        </labl>
        <catStat type="freq">
          92298
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          2013-16
        </labl>
        <catStat type="freq">
          87955
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          2017-20
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          2021-24
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V5" name="agegrp" files="F1" dcml="0" intrvl="discrete">
      <location width="9"/>
      <labl>
        Five year age group
      </labl>
      <valrng>
        <range min="0" max="18"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0-4
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          5-9
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          10-14
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          15-19
        </labl>
        <catStat type="freq">
          105214
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          20-24
        </labl>
        <catStat type="freq">
          80997
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          25-29
        </labl>
        <catStat type="freq">
          56471
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          30-34
        </labl>
        <catStat type="freq">
          41567
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          35-39
        </labl>
        <catStat type="freq">
          32636
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          40-44
        </labl>
        <catStat type="freq">
          27387
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          45-49
        </labl>
        <catStat type="freq">
          23233
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          50-54
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          55-59
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          60-64
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          65-69
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          70-74
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          15
        </catValu>
        <labl>
          75-79
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          16
        </catValu>
        <labl>
          80-84
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          17
        </catValu>
        <labl>
          85-89
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          18
        </catValu>
        <labl>
          90+
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V6" name="hivstatus_broad" files="F1" dcml="0" intrvl="discrete">
      <location width="9"/>
      <labl>
        HIV status
      </labl>
      <valrng>
        <range min="1" max="3"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Negative
        </labl>
        <catStat type="freq">
          85437
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Positive
        </labl>
        <catStat type="freq">
          35714
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          246354
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V7" name="timein" files="F1" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Start of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9986310746064"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.999
      </sumStat>
      <sumStat type="mean">
        26.508
      </sumStat>
      <sumStat type="stdev">
        9.472
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V8" name="timeout" files="F1" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        End of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.001
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        27.93
      </sumStat>
      <sumStat type="stdev">
        9.572
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V9" name="fail" files="F1" dcml="0" intrvl="discrete">
      <location width="9"/>
      <labl>
        Seroconversion occurred at the end of this episode
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        353799
      </sumStat>
      <sumStat type="invd">
        13706
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          347590
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          6209
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          13706
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V10" name="t0" files="F1" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Stata variable: age at start of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9986310746064"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.999
      </sumStat>
      <sumStat type="mean">
        26.508
      </sumStat>
      <sumStat type="stdev">
        9.472
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V11" name="t" files="F1" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Stata variable: age at end of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.001
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        27.93
      </sumStat>
      <sumStat type="stdev">
        9.572
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V12" name="st" files="F1" dcml="0" intrvl="discrete">
      <location width="8"/>
      <labl>
        Stata variable: in survival analysis
      </labl>
      <valrng>
        <range min="1" max="1"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V13" name="d" files="F1" dcml="0" intrvl="discrete">
      <location width="8"/>
      <labl>
        Stata variable: failure (seroconversion)
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V14" name="collapsegrp" files="F1" dcml="0" intrvl="contin">
      <location width="9"/>
      <labl/>
      <valrng>
        <range min="0" max="45"/>
      </valrng>
      <sumStat type="vald">
        367505
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        0
      </sumStat>
      <sumStat type="max">
        45
      </sumStat>
      <sumStat type="mean">
        3.773
      </sumStat>
      <sumStat type="stdev">
        6.846
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V15" name="study_name" files="F2" dcml="0" intrvl="discrete">
      <location width="12"/>
      <labl>
        Study name
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Karonga
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Kisesa
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Manicaland
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Masaka
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Rakai
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          uMkhanyakude
        </labl>
        <catStat type="freq">
          59996
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Agincourt
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Kisumu
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Ifakara
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Nairobi
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V16" name="idno" files="F2" dcml="0" intrvl="contin">
      <location width="9"/>
      <labl>
        Participant ID number
      </labl>
      <valrng>
        <range min="1" max="20652"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        1
      </sumStat>
      <sumStat type="max">
        20652
      </sumStat>
      <sumStat type="mean">
        9856.716
      </sumStat>
      <sumStat type="stdev">
        5784.316
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V17" name="sex" files="F2" dcml="0" intrvl="discrete">
      <location width="12"/>
      <labl>
        Sex
      </labl>
      <valrng>
        <range min="1" max="2"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Men
        </labl>
        <catStat type="freq">
          23701
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Women
        </labl>
        <catStat type="freq">
          36295
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V18" name="fouryear" files="F2" dcml="0" intrvl="discrete">
      <location width="9"/>
      <labl>
        Calendar year, grouped in 4 years post 2005
      </labl>
      <valrng>
        <range min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          1995-99
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          2000-04
        </labl>
        <catStat type="freq">
          7700
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          2005-08
        </labl>
        <catStat type="freq">
          18620
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          2009-12
        </labl>
        <catStat type="freq">
          17797
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          2013-16
        </labl>
        <catStat type="freq">
          15879
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          2017-20
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          2021-24
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V19" name="agegrp" files="F2" dcml="0" intrvl="discrete">
      <location width="9"/>
      <labl>
        Five year age group
      </labl>
      <valrng>
        <range min="0" max="18"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0-4
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          5-9
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          10-14
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          15-19
        </labl>
        <catStat type="freq">
          19506
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          20-24
        </labl>
        <catStat type="freq">
          15285
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          25-29
        </labl>
        <catStat type="freq">
          7232
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          30-34
        </labl>
        <catStat type="freq">
          4345
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          35-39
        </labl>
        <catStat type="freq">
          3949
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          40-44
        </labl>
        <catStat type="freq">
          4488
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          45-49
        </labl>
        <catStat type="freq">
          5191
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          50-54
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          55-59
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          60-64
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          65-69
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          70-74
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          15
        </catValu>
        <labl>
          75-79
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          16
        </catValu>
        <labl>
          80-84
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          17
        </catValu>
        <labl>
          85-89
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          18
        </catValu>
        <labl>
          90+
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V20" name="timein" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Start of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9931553730322"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.993
      </sumStat>
      <sumStat type="mean">
        26.169
      </sumStat>
      <sumStat type="stdev">
        9.881
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V21" name="timeout" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        End of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0088980150582" max="50"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.009
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        27.553
      </sumStat>
      <sumStat type="stdev">
        10.009
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V22" name="timelastneg" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Age at last negative test
      </labl>
      <valrng>
        <range UNITS="REAL" min="13.7905544147844" max="63.854893908282"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        13.791
      </sumStat>
      <sumStat type="max">
        63.855
      </sumStat>
      <sumStat type="mean">
        30.215
      </sumStat>
      <sumStat type="stdev">
        11.676
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V23" name="timefirstpos" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Age at first positive test
      </labl>
      <valrng>
        <range UNITS="REAL" min="16.1916495550992" max="61.3990417522245"/>
      </valrng>
      <sumStat type="vald">
        10352
      </sumStat>
      <sumStat type="invd">
        49644
      </sumStat>
      <sumStat type="min">
        16.192
      </sumStat>
      <sumStat type="max">
        61.399
      </sumStat>
      <sumStat type="mean">
        29.461
      </sumStat>
      <sumStat type="stdev">
        8.19
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V24" name="fail" files="F2" dcml="0" intrvl="discrete">
      <location width="9"/>
      <labl>
        Seroconversion occurred at the end of this episode
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        57637
      </sumStat>
      <sumStat type="invd">
        2359
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          54965
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          2672
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          2359
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V25" name="t0" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Stata variable: age at start of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9931553730322"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.993
      </sumStat>
      <sumStat type="mean">
        26.169
      </sumStat>
      <sumStat type="stdev">
        9.881
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V26" name="t" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Stata variable: age at end of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0088980150582" max="50"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.009
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        27.553
      </sumStat>
      <sumStat type="stdev">
        10.009
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V27" name="st" files="F2" dcml="0" intrvl="discrete">
      <location width="8"/>
      <labl>
        Stata variable: in survival analysis
      </labl>
      <valrng>
        <range min="1" max="1"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V28" name="d" files="F2" dcml="0" intrvl="discrete">
      <location width="8"/>
      <labl>
        Stata variable: failure (seroconversion)
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V29" name="collapsegrp" files="F2" dcml="0" intrvl="contin">
      <location width="9"/>
      <labl/>
      <valrng>
        <range min="0" max="32"/>
      </valrng>
      <sumStat type="vald">
        59996
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        0
      </sumStat>
      <sumStat type="max">
        32
      </sumStat>
      <sumStat type="mean">
        0.932
      </sumStat>
      <sumStat type="stdev">
        3.288
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
  </dataDscr>
</codeBook>
