Statalist


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

st: DHS sampling weight command


From   nikh 2000 <[email protected]>
To   [email protected]
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

Thanks.

Nikh
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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