Dear Stata users,
I want to conduct some cross-sectional analysis with data from the South African NIDS (National Income Dynamics Study)/household survey Wave 5.
I struggle with weighting and would be very grateful about help!
It is a two-stage sampling with stratification at the district council level. The dataset provides a design weight (correcting for nonresponse) and a post stratified weight (calibrating for sex, age, race).
My first idea was to process weighting by
svyset psu [pw= poststatWeight], strata(districtVariable) Now, I have two problems. First, the psu variable is not included in the dataset but in a secured dataset which I cannot access (tried to get in touch but does not seem possible). Second, it appears to me that I have to use another command since using a post-strat weight. I considered the following command: svyset [pweight=wt], poststrata(groupVariable) postweight(poptots) Nevertheless, I am not sure if I do understand the command correctly (also because the command considers just one calibrating variable): Do I just insert my sex, age and race variable as "groupVariable" and how can I deal with the population totals variable since such variables are not provided by the dataset? I studied all manuals and weight descriptions of NIDS (in former waves a psu variable is given) but couldn't figgure out a solution, how I am supposed to weight. In a documentation about cluster correction in the dataset, it says "we should at minimum svyset households as our “cluster” variable" but I assume this does rather refer to cluster as an stata option than as the psu. Would be thankful about any hint!
Related Posts with Weighting without knowing psu
-nbvargr- download fails, Stata 12Stata Version: 12 Dear all, I've tried to download the user written command -nbvargr-, however I r…
drop duplicates valuesHello, I want to drop duplicates values of a variable if the number of copies are less than five. T…
When I double-click a .dta file, Stata recognizes it as an R file! How to fix it?Today, I went to work on Stata and double clicked a .dta file. The computer presented the message b…
Time dummies to estimate the length of relationshipsI am working with 18 waves of panel data (HILDA) and in each wave, respondents state their marital s…
merge two files.Dear All, I find this question here (in Chinese). There are two files. The first one is something li…
Subscribe to:
Post Comments (Atom)
0 Response to Weighting without knowing psu
Post a Comment