Re: Sample weight/Survey design [message #1024 is a reply to message #1003] |
Thu, 26 December 2013 14:48 |
Reduced-For(u)m
Messages: 292 Registered: March 2013
|
Senior Member |
|
|
Hey kusum,
Two quick questions:
1 - why is v001 before the [pweight=weight] bit? The DHS FAQ lists this code (following) and looking at the svy help file for STATA it doesn't seem like it should be there.
DHS FAQ code: svyset [pweight=weight], psu(v021) strata(strata)
2 - what is sample2, the subsample you list? My guess is that is where all your observations are going, but I don't know if that was intentional or not. If you type "sum femage if sample2==1" how many obs do you get?
One other thing - what is "femage"? Just because this is a thing of mine - older mothers will have older children (on average, just because of when you measure them), older children are more likely to be stunted due to the HAZ loss over the first few years (you know - poverty), and so you could get a spurious correlation here if femage is maternal age (or a mechanical effect if femage is child's age and sample2 is females, but maybe that's the point).
Anyway, if this isn't helpful, maybe I can provide better help if I understand 1 and 2.
|
|
|