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 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
Read Message
Read Message
Read Message
Previous Topic: survey set preparation for Pakistan DHS 2012-13
Next Topic: Migration data for NDHS2011
Goto Forum:
  


Current Time: Fri Nov 22 06:06:12 Coordinated Universal Time 2024