The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » survey set preparation for Pakistan DHS 2012-13
survey set preparation for Pakistan DHS 2012-13 [message #2770] Fri, 22 August 2014 01:16 Go to next message
sohelruhrd is currently offline  sohelruhrd
Messages: 19
Registered: July 2014
Location: Bangladesh
Member

Can you help me to prepare a survey set for Pakistan DHS 2012-13. i made a survey set command in STATA. Please check my commands.

************************************************************ *****
//survey set preparation
************************************************************ *****
//Description of variables included in surveyset preperation
*v001: cluster number
*v023: stratification used in sample design
*v025: place of residence
*v005: women's individual sample weight (6 decimals)

gen psu=v001
gen strata = v023

gen sampwt=v005/1000000
svyset psu [pw = sampwt], strata(strata)
************************************************************ *****

Any comment on it will help me to work with the data set (individual record).
Thank you.
Shafiur


Re: survey set preparation for Pakistan DHS 2012-13 [message #2780 is a reply to message #2770] Mon, 25 August 2014 07:58 Go to previous messageGo to next message
Javeria Basharat is currently offline  Javeria Basharat
Messages: 4
Registered: August 2014
Location: house#14, street#5, block...
Member
Please guide me, as i can not understand. Are the variables (M14$1, M3A$1, M3B$1, M3G$1 AND M3N$1)present information about most recent birth or not?
Re: survey set preparation for Pakistan DHS 2012-13 [message #2789 is a reply to message #2780] Mon, 25 August 2014 10:39 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3016
Registered: February 2013
Senior Member
Following is a response from Senior Data Processing Specialist, Noureddine Abderrahim:

M14$1 corresponds to question 412 in the standard questionnaire and is asked for the last child.

The series M3A... correspond to the categories of question 433, and is asked of all children born in the last 3 or 5 years preceding the survey, depending on the period defined in that survey. M3A$1 refers to the last child.

[Updated on: Tue, 26 August 2014 11:09]

Report message to a moderator

Re: survey set preparation for Pakistan DHS 2012-13 [message #2793 is a reply to message #2770] Mon, 25 August 2014 19:01 Go to previous messageGo to next message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member


This is a little tricky since I haven't used the Pakistan data, but the usual method, which seems to be applicable here, is to define strata as the combination of region and urban/rural (that is how the sample is stratified according to the Pakistan report (http://dhsprogram.com/pubs/pdf/FR290/FR290.pdf).

First, your PSU is defined wrong - use v021. v001 is something else

As for the strata, the usual method is to choose region, separated by urban/rural, which is done thusly:

egen strata = group(v024 v025), label

This tells Stata that the survey is stratified by region and urban/rural. That sounds like what the Pakistan report is saying in the Appendix: http://dhsprogram.com/pubs/pdf/FR290/FR290.pdf

Check out the DHS FAQ (http://dhsprogram.com/faq.cfm) under "using data files"

There is a small chance that the Pakistan survey works differently. You may want to investigate how v022 relates to the strata as I defined them above. But v023 is almost certainly the wrong variable.
Re: survey set preparation for Pakistan DHS 2012-13 [message #2808 is a reply to message #2770] Tue, 26 August 2014 08:21 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3016
Registered: February 2013
Senior Member
See the following post: http://userforum.dhsprogram.com/index.php?t=rview&goto=2 771#msg_2771
Previous Topic: survey set preparation for Pakistan DHS 2012-13
Next Topic: Migration data for NDHS2011
Goto Forum:
  


Current Time: Thu Mar 28 06:04:28 Coordinated Universal Time 2024