The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Egypt » EGypt's DHS 2008 sample weighting
Re: EGypt's DHS 2008 sample weighting [message #2434 is a reply to message #2421] Tue, 17 June 2014 17:17 Go to previous messageGo to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
Please check our website's section on Using Datasets for Analysis http://dhsprogram.com/data/Using-Datasets-for-Analysis.cfm
This will step you through the analysis process and help you locate resources you may need. The map which was distributed with the data set will also help you identify the variables you need. The Guide to DHS Statistics http://dhsprogram.com/pubs/pdf/DHSG1/Guide_to_DHS_Statistics _29Oct2012_DHSG1.pdf can also be very useful along with the Standard Recode Manual http://dhsprogram.com/pubs/pdf/DHSG4/Recode6_DHS_22March2013 _DHSG4.pdf. The Standard Recode Manual has a description of the variables along with commentary on how and why they are used. Your map has the recoded variables which are specifically for the data set you downloaded.
Here's a little bit of CSPro code that might help identify some of the variables you may need:

  box v632 => V632W;
      1  => 1;
      2  => 3;
      3  => 2;
         => 4;
  endbox;
  modmet2  = notappl;
  tradmet2 = notappl;
  nousing  = notappl;
  meth = V312;
  box meth => method;
        0  => 0;
     1-3   => meth; { 1-Pill, 2-IUD, 3-Injections }
         11  => 4;      { 4-Implants }
         17  => 5;      { 5-Diaphragm/foam jelly}
       5-7   => METH+1;
         16  => 9 ;     { 12-Emergency contraception }
         8,9 => meth+5; { 13-Periodic abstinence, 14-Withdrawal }
         18  => 15;
         10  => 16;     { 15-Other }
             => default;
  endbox;
  if V313 = 0 then                     { not using }
    nousing  = 1
  elseif V313 = 3 then                 { using modern }
    modmet2  = method;
  elseif V313 = 1 | V313 = 2 then      { using traditional & others }
    tradmet2 = method;
  endif;
 
Read Message
Read Message
Read Message
Previous Topic: Creating panel - using weights
Next Topic: strata and psu in 2005 dhs
Goto Forum:
  


Current Time: Mon Dec 9 06:14:02 Coordinated Universal Time 2024