[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: DHS sampling weight command

From   nikh 2000 <>
Subject   st: DHS sampling weight command
Date   Mon, 20 Jul 2009 09:21:43 -0600

Hi, I am using the following commands to set up DHS (Demographic and
Health Survey data) data for analysis

gen psu =    v021
gen strata = v022
gen sampwt = v005/1000000

svyset psu [pw = sampwt], strata(strata)

I have two questions:

1. Is this the right way to set up data ?
2. For the data set  I am using, for one year, var V022 is missing.
What other var(s) can I consider to use instead of V022


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index