Re: NFHS - 5 [message #24471 is a reply to message #24434] |
Thu, 19 May 2022 10:30 |
Janet-DHS
Messages: 893 Registered: April 2022
|
Senior Member |
|
|
Following is response from DHS Research & Data Analysis Director, Tom Pullum:
First, for pweights you do not need to divide hv005 by 1000000. Many people do this, but it is not necessary because Stata automatically re-scales pweights to have a mean of 1.
Second, you do not need a multi-level version of svyset. Your first version of svyset is sufficient.
Third, the clusters and strata were numbered separately in each state. You need commands such as "egen cluster_id=group(v021 v024)" and "egen stratum_id=group(v023 v024)".
Then "svyset cluster_id [pw=hv005], strata(stratum_id)" should be correct for svyset.
|
|
|