Sample weight/Survey design [message #1003] |
Tue, 24 December 2013 15:13 |
kusum
Messages: 1 Registered: December 2013 Location: United States
|
Member |
|
|
Hi all,
I am using Nepal DHS 2011 dataset (child file) for a class project to examine the association between caste group and childhood stunting in Nepal.
To account for the survey design, I used the following codes after referring to the DHS notes.
gen finalwt= v005/1000000
svyset, clear
svyset v001 [pweight=finalwt], strata (v022)
v001 is cluster-- enumeration area (ward in rural, subward in urban)
v022 is the domain (13 ecoregions) by urban/rural (25 total)
When I do run the analysis, the population size is much small (see below). I just wanted to confirm you that I am using the sample weight correctly. Perhaps someone has encountered similar problem?
Thanks,
Kusum
svy, subpop (sample2):logit stunting i.femage
(running logit on estimation sample)
Survey: Logistic regression
Number of strata = 25 Number of obs = 5306
Number of PSUs = 289 Population size = 5391.3722
Subpop. no. of obs = 1134
Subpop. size = 958.14927
Design df = 264
F( 3, 262) = 1.66
Prob > F = 0.1769
------------------------------------------------------------ ------------------
| Linearized
stunting | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+---------------------------------------------- ------------------
femage |
1 | -.0338201 .5256869 -0.06 0.949 -1.068893 1.001253
2 | .2319218 .570629 0.41 0.685 -.8916414 1.355485
3 | .4512506 .5719637 0.79 0.431 -.6749405 1.577442
|
_cons | -.3237562 .5264081 -0.62 0.539 -1.360249 .7127364
------------------------------------------------------------ ------------------
|
|
|