The DHS Program User Forum      
Discussions regarding The DHS Program data and results
Home » Countries » Nigeria » Composition of "Capital" category in hv026 for Nigeria DHS 2003
Composition of "Capital" category in hv026 for Nigeria DHS 2003 [message #10927] Fri, 07 October 2016 14:19 Go to next message
arohabahuguna is currently offline  arohabahuguna
Messages: 1
Registered: October 2016
Location: Washington, DC
Member
Hiindex.php?t=getfile&id=619&private=0!

How were the categories in hv026 constructed? Usually, the capital city in the variable is just that - the capital of the country. However, I notice that in Nigeria DHS 2003, it spans across all regions (from hv024) - see attached snapshot.

Thanks in advance for answering.

Best,
Aroha
Re: Composition of "Capital" category in hv026 for Nigeria DHS 2003 [message #11112 is a reply to message #10927] Fri, 28 October 2016 09:28 Go to previous message
Liz-DHS
Messages: 874
Registered: February 2013
Senior Member
Dear User,
Here is the coding in the recode application for the variables in question:
{ PROC HV024 }
  box   QHCLUST => HV024;
        1 -  56 => 1;       { North Central }
       57 - 113 => 2;       { North East }
      114 - 189 => 3;       { North West }
      190 - 244 => 4;       { South East }
      245 - 309 => 6;       { South West }
      310 - 365 => 5;       { South South }
  endbox;
{ PROC HV025 }
  HV025 = QHTYPE;
  box HV024 : HV025 => HV023;
          1 :     1 => 1;      { North Central - urban }
          1 :     2 => 2;      { North Central - rural }
          2 :     1 => 3;      { North East - urban }
          2 :     2 => 4;      { North East - rural }
          3 :     1 => 5;      { North West - urban }
          3 :     2 => 6;      { North West - rural }
          4 :     1 => 7;      { South East - urban }
          4 :     2 => 8;      { South East - rural }
          5 :     1 => 9;      { South West - urban }
          5 :     2 => 10;     { South West - rural }
          6 :     1 => 11;     { South South - urban }
          6 :     2 => 12;     { South South - rural }
  endbox;
{ PROC HV026 }
  HV026 = QHLOCAL-1;
  { if HV025 = 2 then HV026 = 3; endif; }
Previous Topic: Data re-use access process/SOP
Goto Forum:
  


Current Time: Sun Jan 22 00:51:15 Eastern Standard Time 2017