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 #2771] Fri, 22 August 2014 01:17 Go to previous 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


 
Read Message
Read Message
Previous Topic: Extracting Zimbabwe households with at least 1 birth in last 2 years
Next Topic: survey set preparation for Pakistan DHS 2012-13
Goto Forum:
  


Current Time: Mon Nov 25 11:58:48 Coordinated Universal Time 2024