weighting and creating SVY command for multilevel analysis of two level of data SPA -NEPAL [message #15453] |
Mon, 23 July 2018 20:09 |
rkchettri
Messages: 19 Registered: November 2017
|
Member |
|
|
Dear DHS expert,
I tried many times and looked all the post related to svyset commands of for multilevel analysis. I tried to set the svy command using Nepal SPA data like this
***weighting ******
gen clwt= clientwt/1000000
gen fcwt= facwt/1000000
egen strata=group(factype region)
first create svycommand***
svyset facil, weight(fcwt) strata( strata) singleunit(centered) ||_n, weight(clwt)
But this svy command is not working, would you help me to solve this problem?
Regards,
Rk
|
|
|
Re: weighting and creating SVY command for multilevel analysis of two level of data SPA -NEPAL [message #15579 is a reply to message #15453] |
Tue, 14 August 2018 17:11 |
Bridgette-DHS
Messages: 3224 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS Senior Research Associate, Wenjuan Wang:
The simple answer is that we don't have separate sampling weights for each level, in this case, for the selection of facilities within a stratum and the selection of clients within a facility. There is a similar issue when people try to run multilevel models with DHS data. SPA has a client weight; but its computation takes the multi-stage selection into account, not just the selection of clients in the second stage. So it is not the ideal weight to use for the second level. In past work, we have used facility weight as the first level weight, and assumed equal weight for all clients in the same facility (which may not be true). In your case, you would let clwt=1. This is the best we can do and other researchers may have done it differently.
|
|
|